Skip to content

Commit eb371aa

Browse files
feat: moved deleteSubmission and getSubmission into HCMS
1 parent 6e6360c commit eb371aa

File tree

8 files changed

+78
-416
lines changed

8 files changed

+78
-416
lines changed

packages/api-form-builder-so-ddb-es/src/index.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ export const createFormBuilderStorageOperations: FormBuilderStorageOperationsFac
180180
entity: entities.settings
181181
}),
182182
forms: createFormStorageOperations(),
183-
submissions: createSubmissionStorageOperations({
184-
elasticsearch,
185-
table,
186-
entity: entities.submission,
187-
esEntity: entities.esSubmission,
188-
plugins
189-
})
183+
submissions: createSubmissionStorageOperations()
190184
};
191185
};

packages/api-form-builder-so-ddb-es/src/operations/form/index.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -29,61 +29,61 @@ export const createFormStorageOperations = (): FormBuilderFormStorageOperations
2929

3030
const createForm = () => {
3131
throw new Error(
32-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
32+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
3333
);
3434
};
3535

3636
const createFormFrom = async () => {
3737
throw new Error(
38-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
38+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
3939
);
4040
};
4141

4242
const updateForm = async () => {
4343
throw new Error(
44-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
44+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
4545
);
4646
};
4747

4848
const getForm = async () => {
4949
throw new Error(
50-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
50+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
5151
);
5252
};
5353

5454
const listForms = () => {
5555
throw new Error(
56-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
56+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
5757
);
5858
};
5959

6060
const listFormRevisions = async () => {
6161
throw new Error(
62-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
62+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
6363
);
6464
};
6565

6666
const deleteForm = async () => {
6767
throw new Error(
68-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
68+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
6969
);
7070
};
7171

7272
const deleteFormRevision = async () => {
7373
throw new Error(
74-
"api-form-builder-ddb-esdoes not implement the Form Builder storage operations."
74+
"api-form-builder-so-ddb-esdoes not implement the Form Builder storage operations."
7575
);
7676
};
7777

7878
const publishForm = async () => {
7979
throw new Error(
80-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
80+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
8181
);
8282
};
8383

8484
const unpublishForm = async () => {
8585
throw new Error(
86-
"api-form-builder-ddb-es does not implement the Form Builder storage operations."
86+
"api-form-builder-so-ddb-es does not implement the Form Builder storage operations."
8787
);
8888
};
8989

0 commit comments

Comments
 (0)