1 | ;
|
2 |
|
3 | const apiRunnerNode = require(`./api-runner-node`);
|
4 |
|
5 | const {
|
6 | store
|
7 | } = require(`../redux`);
|
8 |
|
9 | module.exports = async ({
|
10 | refresh = false,
|
11 | parentSpan
|
12 | }) => {
|
13 | if (refresh) {
|
14 | store.dispatch({
|
15 | type: `CLEAR_SCHEMA_CUSTOMIZATION`
|
16 | });
|
17 | }
|
18 |
|
19 | await apiRunnerNode(`createSchemaCustomization`, {
|
20 | parentSpan,
|
21 | traceId: !refresh ? `initial-createSchemaCustomization` : `refresh-createSchemaCustomization`
|
22 | });
|
23 | };
|
24 | //# sourceMappingURL=create-schema-customization.js.map |
\ | No newline at end of file |