@simitgroup/simpleapp-generator 1.6.6-g-alpha → 1.6.6-i-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/ReleaseNote.md +7 -1
  2. package/dist/buildinschemas/autoincreament.d.ts +3 -0
  3. package/dist/buildinschemas/branch.d.ts +3 -0
  4. package/dist/buildinschemas/changehistories.d.ts +3 -0
  5. package/dist/buildinschemas/docnoformat.d.ts +3 -0
  6. package/dist/buildinschemas/documentevent.d.ts +3 -0
  7. package/dist/buildinschemas/index.d.ts +11 -0
  8. package/dist/buildinschemas/index.js +25 -0
  9. package/dist/buildinschemas/index.js.map +1 -0
  10. package/dist/buildinschemas/keyvaluepair.d.ts +3 -0
  11. package/dist/buildinschemas/organization.d.ts +3 -0
  12. package/dist/buildinschemas/permission.d.ts +3 -0
  13. package/dist/buildinschemas/systemmessage.d.ts +3 -0
  14. package/dist/buildinschemas/tenant.d.ts +3 -0
  15. package/dist/buildinschemas/user.d.ts +3 -0
  16. package/dist/buildinschemas/webhook.d.ts +3 -0
  17. package/dist/constant.d.ts +4 -0
  18. package/dist/constant.d.ts.map +1 -0
  19. package/dist/constant.js +7 -0
  20. package/dist/constant.js.map +1 -0
  21. package/dist/framework.d.ts +10 -0
  22. package/dist/framework.d.ts.map +1 -0
  23. package/dist/framework.js +264 -0
  24. package/dist/framework.js.map +1 -0
  25. package/dist/generate.d.ts +2 -0
  26. package/dist/index.d.ts +3 -0
  27. package/dist/index.js +156 -0
  28. package/dist/index.js.map +1 -0
  29. package/dist/libs.d.ts +2 -0
  30. package/dist/libs.d.ts.map +1 -0
  31. package/dist/libs.js +15 -0
  32. package/dist/libs.js.map +1 -0
  33. package/dist/processors/bpmnbuilder.d.ts +2 -0
  34. package/dist/processors/bpmnbuilder.d.ts.map +1 -0
  35. package/dist/processors/bpmnbuilder.js +162 -0
  36. package/dist/processors/bpmnbuilder.js.map +1 -0
  37. package/dist/processors/jrxmlbuilder.d.ts +3 -0
  38. package/dist/processors/jsonschemabuilder.d.ts +4 -0
  39. package/dist/resource/camunda-moodle.d.ts +27 -0
  40. package/dist/resource/camunda-moodle.d.ts.map +1 -0
  41. package/dist/resource/camunda-moodle.js +91 -0
  42. package/dist/resource/camunda-moodle.js.map +1 -0
  43. package/dist/storage.d.ts +4 -0
  44. package/dist/validation.d.ts +1 -0
  45. package/dist/validation.d.ts.map +1 -0
  46. package/dist/validation.js +2 -0
  47. package/dist/validation.js.map +1 -0
  48. package/package.json +2 -2
  49. package/templates/nest/.env._eta +1 -1
  50. package/templates/nest/src/simpleapp/generate/commons/middlewares/tenant.middleware.ts.eta +2 -2
  51. package/tsconfig.tsbuildinfo +0 -1
package/ReleaseNote.md CHANGED
@@ -1,3 +1,9 @@
1
+ [1.6.6i-alpha]
2
+ 1. Fix a-api-key env.
3
+
4
+ [1.6.6h-alpha]
5
+ 1. Fix package.json
6
+
1
7
  [1.6.6g-alpha]
2
8
  1. improve x-api-key & x-api-secret, fix schema example
3
9
  2. Fix getAvatarByUid.
@@ -26,7 +32,7 @@
26
32
 
27
33
  [1.6.5g]
28
34
  1. change simpleapp document controller use document name instead of document type
29
- 2. allow use header x-api-key(match env X_APIKEY), x-api-secret (match env X_API_SECRET), to by pass access token. which will use robotuser in user context
35
+ 2. allow use header x-api-key(match env X_API_KEY), x-api-secret (match env X_API_SECRET), to by pass access token. which will use robotuser in user context
30
36
  3. add support of x-guest-accesstoken (submit by external user source, like parent/student app), it store into usercontext as guestinfo, since appuser = robotuser
31
37
  4. Fix document search properties to restrict (required field and sorts)
32
38
 
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const autoincreament: SchemaType;
3
+ //# sourceMappingURL=autoincreament.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const branch: SchemaType;
3
+ //# sourceMappingURL=branch.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const permission: SchemaType;
3
+ //# sourceMappingURL=changehistories.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const docnoformat: SchemaType;
3
+ //# sourceMappingURL=docnoformat.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const documentevent: SchemaType;
3
+ //# sourceMappingURL=documentevent.d.ts.map
@@ -0,0 +1,11 @@
1
+ export { tenant } from './tenant';
2
+ export { organization } from './organization';
3
+ export { branch } from './branch';
4
+ export { permission } from './permission';
5
+ export { autoincreament } from './autoincreament';
6
+ export { docnoformat } from './docnoformat';
7
+ export { systemmessage } from './systemmessage';
8
+ export { keyvaluepair } from './keyvaluepair';
9
+ export { webhook } from './webhook';
10
+ export { documentevent } from './documentevent';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.documentevent = exports.webhook = exports.keyvaluepair = exports.systemmessage = exports.docnoformat = exports.autoincreament = exports.permission = exports.branch = exports.organization = exports.tenant = void 0;
4
+ var tenant_1 = require("./tenant");
5
+ Object.defineProperty(exports, "tenant", { enumerable: true, get: function () { return tenant_1.tenant; } });
6
+ var organization_1 = require("./organization");
7
+ Object.defineProperty(exports, "organization", { enumerable: true, get: function () { return organization_1.organization; } });
8
+ var branch_1 = require("./branch");
9
+ Object.defineProperty(exports, "branch", { enumerable: true, get: function () { return branch_1.branch; } });
10
+ var permission_1 = require("./permission");
11
+ Object.defineProperty(exports, "permission", { enumerable: true, get: function () { return permission_1.permission; } });
12
+ // export {user} from './user'
13
+ var autoincreament_1 = require("./autoincreament");
14
+ Object.defineProperty(exports, "autoincreament", { enumerable: true, get: function () { return autoincreament_1.autoincreament; } });
15
+ var docnoformat_1 = require("./docnoformat");
16
+ Object.defineProperty(exports, "docnoformat", { enumerable: true, get: function () { return docnoformat_1.docnoformat; } });
17
+ var systemmessage_1 = require("./systemmessage");
18
+ Object.defineProperty(exports, "systemmessage", { enumerable: true, get: function () { return systemmessage_1.systemmessage; } });
19
+ var keyvaluepair_1 = require("./keyvaluepair");
20
+ Object.defineProperty(exports, "keyvaluepair", { enumerable: true, get: function () { return keyvaluepair_1.keyvaluepair; } });
21
+ var webhook_1 = require("./webhook");
22
+ Object.defineProperty(exports, "webhook", { enumerable: true, get: function () { return webhook_1.webhook; } });
23
+ var documentevent_1 = require("./documentevent");
24
+ Object.defineProperty(exports, "documentevent", { enumerable: true, get: function () { return documentevent_1.documentevent; } });
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/buildinschemas/index.ts"],"names":[],"mappings":";;;AAAA,mCAA+B;AAAvB,gGAAA,MAAM,OAAA;AACd,+CAA2C;AAAnC,4GAAA,YAAY,OAAA;AACpB,mCAA+B;AAAvB,gGAAA,MAAM,OAAA;AACd,2CAAuC;AAA/B,wGAAA,UAAU,OAAA;AAClB,8BAA8B;AAC9B,mDAA+C;AAAvC,gHAAA,cAAc,OAAA;AACtB,6CAAyC;AAAjC,0GAAA,WAAW,OAAA;AACnB,iDAA6C;AAArC,8GAAA,aAAa,OAAA;AACrB,+CAA2C;AAAnC,4GAAA,YAAY,OAAA;AACpB,qCAAiC;AAAzB,kGAAA,OAAO,OAAA;AACf,iDAA6C;AAArC,8GAAA,aAAa,OAAA"}
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const keyvaluepair: SchemaType;
3
+ //# sourceMappingURL=keyvaluepair.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const organization: SchemaType;
3
+ //# sourceMappingURL=organization.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const permission: SchemaType;
3
+ //# sourceMappingURL=permission.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const systemmessage: SchemaType;
3
+ //# sourceMappingURL=systemmessage.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const tenant: SchemaType;
3
+ //# sourceMappingURL=tenant.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const user: SchemaType;
3
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { SchemaType } from '../type';
2
+ export declare const webhook: SchemaType;
3
+ //# sourceMappingURL=webhook.d.ts.map
@@ -0,0 +1,4 @@
1
+ export declare const templatedir: string;
2
+ export declare const srcdir: string;
3
+ export declare const buildinschemafolder: string;
4
+ //# sourceMappingURL=constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAA0B,CAAA;AAClD,eAAO,MAAM,MAAM,QAAU,CAAA;AAC7B,eAAO,MAAM,mBAAmB,QAA4B,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.buildinschemafolder = exports.srcdir = exports.templatedir = void 0;
4
+ exports.templatedir = __dirname + '/../templates';
5
+ exports.srcdir = __dirname;
6
+ exports.buildinschemafolder = __dirname + '/buildinschemas';
7
+ //# sourceMappingURL=constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant.js","sourceRoot":"","sources":["../src/constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAC,SAAS,GAAC,eAAe,CAAA;AACrC,QAAA,MAAM,GAAC,SAAS,CAAA;AAChB,QAAA,mBAAmB,GAAC,SAAS,GAAC,iBAAiB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const setConfiguration: (paraconfig: any) => void;
2
+ export declare const runCreateNest: (callback: Function) => void;
3
+ export declare const runCreateNuxt: (callback: Function) => void;
4
+ export declare const prepareNest: (callback: Function) => void;
5
+ export declare const prepareProject: (callback: any) => Promise<void>;
6
+ export declare const prepareNuxt: (callback: Function) => void;
7
+ export declare const prettyNuxt: () => void;
8
+ export declare const prettyNest: () => void;
9
+ export declare const prepareOpenApiClient: () => void;
10
+ //# sourceMappingURL=framework.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../src/framework.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,gBAAgB,2BAE5B,CAAA;AAED,eAAO,MAAM,aAAa,aAAY,QAAQ,SAc7C,CAAA;AAED,eAAO,MAAM,aAAa,aAAa,QAAQ,SAc9C,CAAA;AAED,eAAO,MAAM,WAAW,aAAa,QAAQ,SAuC5C,CAAA;AAED,eAAO,MAAM,cAAc,kCAiD1B,CAAA;AAED,eAAO,MAAM,WAAW,aAAa,QAAQ,SAgE5C,CAAA;AAED,eAAO,MAAM,UAAU,YAKtB,CAAA;AACD,eAAO,MAAM,UAAU,YAEtB,CAAA;AAED,eAAO,MAAM,oBAAoB,YAOhC,CAAA"}
@@ -0,0 +1,264 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.prepareOpenApiClient = exports.prettyNest = exports.prettyNuxt = exports.prepareNuxt = exports.prepareProject = exports.prepareNest = exports.runCreateNuxt = exports.runCreateNest = exports.setConfiguration = void 0;
30
+ const fs_1 = __importStar(require("fs"));
31
+ const child_process_1 = require("child_process");
32
+ const lodash_1 = __importDefault(require("lodash"));
33
+ const tslog_1 = require("tslog");
34
+ const constants = __importStar(require("./constant"));
35
+ const eta_1 = require("eta");
36
+ const log = new tslog_1.Logger();
37
+ let config = {
38
+ "jsonschemaFolder": "./jsonschemas",
39
+ "bpmnFolder": "",
40
+ "backendFolder": "./backend",
41
+ "groupFolder": "./groups",
42
+ "langFolder": "./lang",
43
+ "backendPort": "8000",
44
+ "mongoConnectStr": 'mongodb://127.0.0.1:27017/simpleapp',
45
+ "mongoDbName": 'simpleapp',
46
+ "frontendFolder": "./frontend",
47
+ "splitMobilePage": false,
48
+ "frontendPort": "8080",
49
+ "printFormatDir": "./printformats",
50
+ "additionalNestModules": ["cloudapi", "printapi"],
51
+ "oauthSetting": {
52
+ "oauthBaseUrl": "https://keycloak-server-url/",
53
+ "oauthRealm": "realm-name",
54
+ "oauthRealmUrl": "https://keycloak-server-url/realms/realm-name",
55
+ "oauthClient": "client-id",
56
+ "oauthClientSecret": "client-secret-value",
57
+ "oauthAuthSecretKey": "my-secret",
58
+ "adminRole": "realmadmin"
59
+ },
60
+ };
61
+ const setConfiguration = (paraconfig) => {
62
+ config = paraconfig;
63
+ };
64
+ exports.setConfiguration = setConfiguration;
65
+ //create empty nest project
66
+ const runCreateNest = (callback) => {
67
+ const backendFolder = config.backendFolder;
68
+ if (!fs_1.default.existsSync(backendFolder)) {
69
+ const child = (0, child_process_1.spawn)('npm', ['install', '-g', 'pnpm', '@nestjs/cli', '@openapitools/openapi-generator-cli', 'nuxi'], { stdio: 'inherit', });
70
+ child.on('close', (exitCode) => {
71
+ const child2 = (0, child_process_1.spawn)('nest', ['new', '-p', 'pnpm', backendFolder], { stdio: "inherit" });
72
+ child2.on('close', (exitCode) => {
73
+ callback();
74
+ });
75
+ });
76
+ }
77
+ else {
78
+ callback();
79
+ }
80
+ };
81
+ exports.runCreateNest = runCreateNest;
82
+ //create empty nuxt project
83
+ const runCreateNuxt = (callback) => {
84
+ const frontendFolder = config.frontendFolder;
85
+ if (!fs_1.default.existsSync(frontendFolder)) {
86
+ const child3 = (0, child_process_1.spawn)('npx', ['nuxi@latest', 'init', frontendFolder], { stdio: 'inherit', });
87
+ child3.on('close', (exitCode) => {
88
+ const nuxtconfigfile = `${frontendFolder}/nuxt.config.ts`;
89
+ const nuxtconfigtxt = "--remove-this-line-to-prevent-override--\n" + fs_1.default.readFileSync(nuxtconfigfile);
90
+ fs_1.default.writeFileSync(nuxtconfigfile, nuxtconfigtxt);
91
+ callback();
92
+ });
93
+ }
94
+ else {
95
+ callback();
96
+ }
97
+ };
98
+ exports.runCreateNuxt = runCreateNuxt;
99
+ const prepareNest = (callback) => {
100
+ const targetfolder = config.backendFolder;
101
+ log.info(`creating backend project ${targetfolder}`);
102
+ if (!fs_1.default.existsSync(`${targetfolder}/.env`)) {
103
+ //@nestjs/graphql @nestjs/apollo graphql apollo-server-express apollo-server-core
104
+ //@nestjs/graphql graphql-tools graphql apollo-server-express
105
+ (0, child_process_1.exec)(`cd ${targetfolder};pnpm install --save @nestjs/graphql country-to-currency graphql-type-json countries-and-timezones @nestjs/apollo @apollo/server graphql @nestjs/event-emitter dayjs bpmn-server@2.1.7 @casl/ability jsonpath yaml lodash @types/lodash nest-keycloak-connect keycloak-connect bpmn-client @nestjs/serve-static jsonwebtoken axios @darkwolf/base64url json-schema @wearenova/mongoose-tenant @nestjs/swagger @nestjs/mongoose mongoose ajv ajv-formats ajv-errors @nestjs/config`, async (error, stdout, stderr) => {
106
+ // log.info(`dependency installed`)
107
+ if (!error) {
108
+ // fs.mkdirSync(`${targetfolder}/public_html`,{recursive:true})
109
+ // const eta = new Eta({views: constants.templatedir});
110
+ // const variables=config
111
+ // const txtEnv = eta.render('./nest/nest.env.eta', variables);
112
+ // const txtMain = eta.render('./nest/nest.main.eta', variables);
113
+ // const txtRedirectHtml = eta.render('./nest/oauth2-redirect.eta', variables);
114
+ // fs.writeFileSync(`${targetfolder}/.env`, txtEnv);
115
+ // fs.writeFileSync(`${targetfolder}/src/main.ts`, txtMain);
116
+ // fs.writeFileSync(`${targetfolder}/public_html/oauth2-redirect.html`, txtRedirectHtml);
117
+ const tsconfigpath = process.cwd() + '/' + `${targetfolder}/tsconfig.json`;
118
+ const tsconfig = require(tsconfigpath);
119
+ tsconfig.compilerOptions.esModuleInterop = true;
120
+ tsconfig.compilerOptions.resolveJsonModule = true;
121
+ fs_1.default.writeFileSync(tsconfigpath, JSON.stringify(tsconfig));
122
+ log.info("nest project completed");
123
+ callback();
124
+ }
125
+ else {
126
+ log.error(stderr);
127
+ throw error;
128
+ }
129
+ });
130
+ }
131
+ else {
132
+ log.info(`${targetfolder}/.env exists, skip regenerate environment`);
133
+ callback();
134
+ }
135
+ };
136
+ exports.prepareNest = prepareNest;
137
+ const prepareProject = async (callback) => {
138
+ const dir = process.cwd() + '/';
139
+ log.info("prepareProject");
140
+ const generateTemplatefolder = `${constants.templatedir}/project/`;
141
+ const eta = new eta_1.Eta({ views: generateTemplatefolder });
142
+ const vars = {
143
+ config: config
144
+ };
145
+ fs_1.default.readdirSync(`${constants.templatedir}/project`, { recursive: true }).forEach((fullfilename) => {
146
+ const templatepath = `${generateTemplatefolder}/${fullfilename}`;
147
+ const filename = lodash_1.default.last(fullfilename.split('/'));
148
+ const targetfolder = dir + String(fullfilename).replace(filename, '');
149
+ console.log("Filename", targetfolder, filename);
150
+ if (targetfolder && !(0, fs_1.existsSync)(targetfolder)) {
151
+ console.log("Write directory", targetfolder);
152
+ (0, fs_1.mkdirSync)(targetfolder, { recursive: true });
153
+ }
154
+ if (filename.includes('.eta')) {
155
+ const tofilename = targetfolder + filename.replace('.eta', '');
156
+ log.info(tofilename, "Render file");
157
+ const txt = eta.render(fullfilename, vars);
158
+ // log.info(fullfilename+"====>>"+tofilename)
159
+ // console.log(txt)
160
+ (0, fs_1.writeFileSync)(tofilename, txt);
161
+ }
162
+ else if (filename.includes('._eta')) {
163
+ const tofilename = targetfolder + filename.replace('._eta', '');
164
+ log.info(tofilename, "Render file");
165
+ const txt = eta.render(fullfilename, vars);
166
+ if (!(0, fs_1.existsSync)(tofilename)) {
167
+ (0, fs_1.writeFileSync)(tofilename, txt);
168
+ }
169
+ }
170
+ else if (filename.includes('.md')) {
171
+ const tofilename = dir + filename.replace('.eta', '');
172
+ log.info(tofilename, "Copy");
173
+ (0, fs_1.copyFileSync)(templatepath, tofilename);
174
+ }
175
+ });
176
+ await (0, child_process_1.exec)(`npx prettier --write . `, () => {
177
+ callback();
178
+ });
179
+ // fs.mkdirSync(`${dir}/groups`,{recursive:true})
180
+ // fs.mkdirSync(`${dir}/schemas`,{recursive:true})
181
+ // fs.mkdirSync(`${dir}/shares`,{recursive:true})
182
+ };
183
+ exports.prepareProject = prepareProject;
184
+ //prepare nuxt project for simpleapp generator
185
+ const prepareNuxt = (callback) => {
186
+ const targetfolder = config.frontendFolder;
187
+ if (!fs_1.default.existsSync(`${targetfolder}/.env`)) {
188
+ //asume no environment. prepare now
189
+ (0, child_process_1.exec)(`cd ${targetfolder};pnpm install;pnpm install -D @nuxtjs/apollo@next dayjs-nuxt @nuxtjs/device @nuxtjs/color-mode @types/json-schema @nuxtjs/i18n@next nuxt-primevue@latest @nuxtjs/tailwindcss @types/jsonpath @sidebase/nuxt-auth @types/node @vueuse/nuxt @sidebase/nuxt-auth @vueuse/core prettier `, (error, stdout, stderr) => {
190
+ //;pnpm install
191
+ console.log(error, stdout, stderr);
192
+ (0, child_process_1.exec)(`cd ${targetfolder};pnpm install --save vue-camera-lib vue-pdf-embed dayjs pusher-js country-code-dateformat chart.js tailwind-merge @iconify-json/heroicons json-schema @vueuse/core ts-md5 primeicons memory-cache jsonpath pinia @pinia/nuxt @nuxt/kit lodash @types/lodash @darkwolf/base64url next-auth@4.21.1 @darkwolf/base64url @nuxt/ui ajv ajv-formats ajv-errors dotenv @fullcalendar/core @fullcalendar/vue3 quill prettier axios json-schema mitt `, (error, stdout, stderr) => {
193
+ console.log(error, stdout, stderr);
194
+ // fs.mkdirSync(`${targetfolder}/assets/css/`,{recursive:true})
195
+ // fs.mkdirSync(`${targetfolder}/layouts`,{recursive:true})
196
+ // fs.mkdirSync(`${targetfolder}/components`,{recursive:true})
197
+ // fs.mkdirSync(`${targetfolder}/server/api/[xorg]`,{recursive:true})
198
+ // fs.mkdirSync(`${targetfolder}/server/api/auth`,{recursive:true})
199
+ // fs.mkdirSync(`${targetfolder}/pages/[xorg]`,{recursive:true})
200
+ // fs.mkdirSync(`${targetfolder}/plugins`,{recursive:true})
201
+ // const eta = new Eta({views: `${constants.templatedir}/nuxt`});
202
+ // const variables=config
203
+ // const writes = {
204
+ // './app.vue.eta':'app.vue',
205
+ // './layouts.default.vue.eta':'layouts/default.vue',
206
+ // './server.api.ts.eta':'server/api/[xorg]/[...].ts',
207
+ // './server.api.auth.logout.ts.eta':'server/api/auth/logout.ts',
208
+ // './server.api.auth[...].ts.eta':'server/api/auth/[...].ts',
209
+ // './nuxt.config.ts.eta':'nuxt.config.ts',
210
+ // './pages.index.vue.eta':'pages/index.vue',
211
+ // './pages.[xorg].index.vue.eta':'pages/[xorg]/index.vue',
212
+ // './pages.login.vue.eta':'pages/login.vue',
213
+ // './plugins.10.simpleapp.ts.eta':'plugins/10.simpleapp.ts',
214
+ // './tailwind.config.ts.eta':'tailwind.config.ts',
215
+ // './tailwind.css.eta':'assets/css/tailwind.css',
216
+ // './env.eta':'.env',
217
+ // }
218
+ // const templates = Object.getOwnPropertyNames(writes)
219
+ // for(let i=0; i<templates.length;i++){
220
+ // const template = templates[i]
221
+ // const filename = writes[template]
222
+ // const txt = eta.render(template, variables);
223
+ // const file =`${targetfolder}/${filename}`
224
+ // log.info("writing ",file)
225
+ // fs.writeFileSync(file, txt);
226
+ // }
227
+ // const frontendtsconfigpath = process.cwd()+'/'+`${targetfolder}/tsconfig.json`
228
+ // const frontendtsconfig ={
229
+ // "extends": "./.nuxt/tsconfig.json",
230
+ // "compilerOptions": {
231
+ // "strictNullChecks":false
232
+ // }
233
+ // }
234
+ // fs.writeFileSync(frontendtsconfigpath, JSON.stringify(frontendtsconfig));
235
+ // exec(`openapi-generator-cli generate -i ${config.backendFolder}/openapi.yaml -o ${config.frontendFolder}/generate/openapi -g typescript-axios --skip-validate-spec`)
236
+ // log.info("nuxt project completed")
237
+ callback();
238
+ });
239
+ });
240
+ }
241
+ else {
242
+ //assume environment ready
243
+ callback();
244
+ }
245
+ };
246
+ exports.prepareNuxt = prepareNuxt;
247
+ const prettyNuxt = () => {
248
+ (0, exports.prepareOpenApiClient)();
249
+ (0, child_process_1.exec)(`cd ${config.frontendFolder};npx prettier --write "./pages/**/*.vue" "./components/**/*.vue" "./generate/*/*.ts" `);
250
+ };
251
+ exports.prettyNuxt = prettyNuxt;
252
+ const prettyNest = () => {
253
+ (0, child_process_1.exec)(`cd ${config.backendFolder};npm run format;npx prettier --write src/dicts/foreignkeys.json`);
254
+ };
255
+ exports.prettyNest = prettyNest;
256
+ const prepareOpenApiClient = () => {
257
+ const executestr = `openapi-generator-cli generate -i ${config.backendFolder}/openapi.yaml -o ${config.frontendFolder}/generate/openapi -g typescript-axios --skip-validate-spec`;
258
+ log.info("execute generate openapi:");
259
+ log.info(executestr);
260
+ const child5 = (0, child_process_1.spawn)('openapi-generator-cli', ['generate', '-i', `${config.backendFolder}/openapi.yaml`, '-o', `${config.frontendFolder}/simpleapp/generate/openapi`, '-g', 'typescript-axios', '--skip-validate-spec'], { stdio: 'inherit', });
261
+ // exec(executestr)
262
+ };
263
+ exports.prepareOpenApiClient = prepareOpenApiClient;
264
+ //# sourceMappingURL=framework.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework.js","sourceRoot":"","sources":["../src/framework.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA0E;AAC1E,iDAAwC;AACxC,oDAAsB;AACtB,iCAAwC;AACxC,sDAAuC;AACvC,6BAA0B;AAC1B,MAAM,GAAG,GAAoB,IAAI,cAAM,EAAE,CAAC;AAE1C,IAAI,MAAM,GAAG;IACT,kBAAkB,EAAC,eAAe;IAClC,YAAY,EAAC,EAAE;IACf,eAAe,EAAC,WAAW;IAC3B,aAAa,EAAC,UAAU;IACxB,YAAY,EAAC,QAAQ;IACrB,aAAa,EAAC,MAAM;IACpB,iBAAiB,EAAC,qCAAqC;IACvD,aAAa,EAAC,WAAW;IACzB,gBAAgB,EAAC,YAAY;IAC7B,iBAAiB,EAAC,KAAK;IACvB,cAAc,EAAC,MAAM;IACrB,gBAAgB,EAAC,gBAAgB;IACjC,uBAAuB,EAAC,CAAC,UAAU,EAAC,UAAU,CAAC;IAC/C,cAAc,EAAC;QACX,cAAc,EAAC,8BAA8B;QAC7C,YAAY,EAAC,YAAY;QACzB,eAAe,EAAC,+CAA+C;QAC/D,aAAa,EAAC,WAAW;QACzB,mBAAmB,EAAC,qBAAqB;QACzC,oBAAoB,EAAC,WAAW;QAChC,WAAW,EAAC,YAAY;KAC3B;CAEJ,CAAA;AAEM,MAAM,gBAAgB,GAAC,CAAC,UAAU,EAAC,EAAE;IACxC,MAAM,GAAC,UAAU,CAAA;AACrB,CAAC,CAAA;AAFY,QAAA,gBAAgB,oBAE5B;AACD,2BAA2B;AACpB,MAAM,aAAa,GAAE,CAAC,QAAiB,EAAE,EAAE;IAC9C,MAAM,aAAa,GAAC,MAAM,CAAC,aAAa,CAAA;IACxC,IAAG,CAAC,YAAE,CAAC,UAAU,CAAC,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.d.ts.map
@@ -0,0 +1,3 @@
1
+ #! /usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js ADDED
@@ -0,0 +1,156 @@
1
+ #! /usr/bin/env node
2
+ "use strict";
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ const console_1 = require("console");
28
+ const fw = __importStar(require("./framework"));
29
+ const generate = __importStar(require("./generate"));
30
+ const fs_1 = require("fs");
31
+ const program = require("commander"); // add this line
32
+ const Fieldtypes = require('./type');
33
+ // const generate= require( './generate')
34
+ const fs = require('fs');
35
+ // const createproject =require( './createproject')
36
+ const ps = require("child_process");
37
+ const capitalizeFirstLetter = require('./libs');
38
+ const { Logger, ILogObj } = require("tslog");
39
+ const log = new Logger();
40
+ const figlet = require("figlet");
41
+ // const program = new Command();
42
+ const pj = require('../package.json');
43
+ let version = pj.version;
44
+ program
45
+ .version(version)
46
+ .description("An simpleapp CLI tool for generate frontend (vuejs) and backend(nestjs) codes")
47
+ .option("-c, --config-file <value>", 'configuration file')
48
+ .option("-g, --generate-type <value>", 'generate type init, backend, frontend')
49
+ .parse(process.argv);
50
+ let path = '';
51
+ const options = program.opts();
52
+ console.log(figlet.textSync(`SimpleApp Generator`));
53
+ console.log(figlet.textSync(`${version}`));
54
+ let continueexecute = true;
55
+ if (options.generateType && options.generateType == 'init') {
56
+ continueexecute = false;
57
+ fw.prepareProject(() => {
58
+ (0, fs_1.chmod)(process.cwd() + '/build.sh', 0o755, () => {
59
+ process.exit(1);
60
+ });
61
+ });
62
+ }
63
+ else if (!options.configFile) {
64
+ log.error("Config file parameter is required. Example: simpleapp-generator -c ./config.json");
65
+ throw "Undefine configuration file";
66
+ }
67
+ else if (options.configFile && options.configFile[0] == '/') {
68
+ path = options.configFile;
69
+ }
70
+ else if (options.configFile) {
71
+ path = process.cwd() + '/' + options.configFile;
72
+ }
73
+ else {
74
+ log.error("undefine configuration file, use command simpleapp-generator -c <configfilename.json>");
75
+ throw console_1.error;
76
+ }
77
+ if (continueexecute) {
78
+ const configs = require(path);
79
+ // console.log("configurations: ",configs)
80
+ const jsonschemaFolder = configs.jsonschemaFolder;
81
+ const bpmnFolder = configs.bpmnFolder;
82
+ const backendFolder = configs.backendFolder;
83
+ const frontendFolder = configs.frontendFolder;
84
+ const run = async () => {
85
+ fw.setConfiguration(configs);
86
+ fw.runCreateNuxt(() => {
87
+ fw.runCreateNest(() => {
88
+ fw.prepareNest(() => {
89
+ fw.prepareNuxt(() => {
90
+ // generate.initialize(jsonschemaFolder,configs.groupFolder,bpmnFolder,backendFolder,frontendFolder,()=>{
91
+ generate.run(configs, ['nest', 'nuxt'], () => {
92
+ fw.prettyNuxt();
93
+ fw.prettyNest();
94
+ });
95
+ });
96
+ });
97
+ });
98
+ });
99
+ };
100
+ const reGenFrontend = async () => {
101
+ fw.setConfiguration(configs);
102
+ generate.run(configs, ['nuxt'], () => {
103
+ fw.prettyNuxt();
104
+ });
105
+ };
106
+ const reGenBackend = async () => {
107
+ fw.setConfiguration(configs);
108
+ generate.run(configs, ['nest'], () => {
109
+ fw.prettyNest();
110
+ });
111
+ };
112
+ const runbackend = async () => {
113
+ fw.setConfiguration(configs);
114
+ fw.setConfiguration(configs);
115
+ fw.runCreateNest(() => {
116
+ fw.prepareNest(() => {
117
+ // generate.run(jsonschemaFolder,configs.groupFolder,bpmnFolder,backendFolder,frontendFolder,()=>{
118
+ generate.run(configs, ['nest'], () => {
119
+ fw.prettyNest();
120
+ });
121
+ });
122
+ });
123
+ };
124
+ const runfrontend = async () => {
125
+ fw.setConfiguration(configs);
126
+ fw.runCreateNuxt(() => {
127
+ fw.prepareNuxt(() => {
128
+ // generate.initialize(jsonschemaFolder,configs.groupFolder,bpmnFolder,backendFolder,frontendFolder,()=>{
129
+ generate.run(configs, ['nuxt'], () => {
130
+ fw.prettyNuxt();
131
+ });
132
+ });
133
+ });
134
+ };
135
+ switch (options.generateType) {
136
+ case 'updatefrontend':
137
+ reGenFrontend();
138
+ break;
139
+ case 'updatebackend':
140
+ reGenBackend();
141
+ break;
142
+ case 'frontend':
143
+ runfrontend();
144
+ break;
145
+ case 'backend':
146
+ runbackend();
147
+ break;
148
+ case 'all':
149
+ run();
150
+ break;
151
+ default:
152
+ log.error("unknown generate type");
153
+ break;
154
+ }
155
+ }
156
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAA+B;AAC/B,gDAAkC;AAClC,qDAAsC;AACtC,2BAA0B;AAC1B,MAAM,OAAO,GAAI,OAAO,CAAC,WAAW,CAAC,CAAA,CAAC,gBAAgB;AACtD,MAAM,UAAU,GAAE,OAAO,CAAE,QAAQ,CAAC,CAAA;AACpC,yCAAyC;AAEzC,MAAM,EAAE,GAAG,OAAO,CAAE,IAAI,CAAC,CAAA;AACzB,oDAAoD;AACpD,MAAM,EAA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EAAE;YACT,EAAE,CAAC,WAAW,CAAC,GAAE,EAAE;gBACf,yGAAyG;gBACzG,QAAQ,CAAC,GAAG,CAAC,OAAO,EAAC,CAAC,MAAM,CAAC,EAAC,GAAE,EAAE;oBAC9B,EAAE,CAAC,UAAU,EAAE,CAAA;gBACnB,CAAC,CAAC,CAAA;YACd,CAAC,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACJ,CAAC,CAAA;IAGD,QAAO,OAAO,CAAC,YAAY,EAAC;QAC1B,KAAK,gBAAgB;YACnB,aAAa,EAAE,CAAA;YACjB,MAAM;QACN,KAAK,eAAe;YAClB,YAAY,EAAE,CAAA;YAChB,MAAM;QACN,KAAK,UAAU;YACb,WAAW,EAAE,CAAA;YACf,MAAM;QACN,KAAK,SAAS;YACZ,UAAU,EAAE,CAAA;YACd,MAAM;QACN,KAAK,KAAK;YACR,GAAG,EAAE,CAAA;YACP,MAAM;QACN;YACE,GAAG,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAA;YACpC,MAAM;KAEP;CAEF"}
package/dist/libs.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export declare const capitalizeFirstLetter: (str: string) => string;
2
+ //# sourceMappingURL=libs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libs.d.ts","sourceRoot":"","sources":["../src/libs.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAAS,MAAM,WAI9C,CAAC"}
package/dist/libs.js ADDED
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // const clc = require("cli-color");
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.capitalizeFirstLetter = void 0;
5
+ const capitalizeFirstLetter = (str) => {
6
+ const res = str == '' ? '' : str.slice(0, 1).toUpperCase() + str.slice(1);
7
+ // const res = str;
8
+ return res;
9
+ };
10
+ exports.capitalizeFirstLetter = capitalizeFirstLetter;
11
+ // export const logsuccess = (data:any)=>console.log(clc.green(data))
12
+ // export const logerror = (data:any)=>console.log(clc.error(data))
13
+ // export const logwarn = (data:any)=>console.log(clc.yellow(data))
14
+ // export const logdefault = (data:any)=>console.log(data)
15
+ //# sourceMappingURL=libs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libs.js","sourceRoot":"","sources":["../src/libs.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAE7B,MAAM,qBAAqB,GAAG,CAAC,GAAW,EAAE,EAAE;IACjD,MAAM,GAAG,GAAG,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1E,mBAAmB;IACnB,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAJS,QAAA,qBAAqB,yBAI9B;AAEJ,qEAAqE;AACrE,mEAAmE;AACnE,mEAAmE;AACnE,0DAA0D"}
@@ -0,0 +1,2 @@
1
+ export declare const generateWorkflows: (configs: any, genFor: string[]) => Promise<string[]>;
2
+ //# sourceMappingURL=bpmnbuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmnbuilder.d.ts","sourceRoot":"","sources":["../../src/processors/bpmnbuilder.ts"],"names":[],"mappings":"AASA,eAAO,MAAO,iBAAiB,yBAAyB,MAAM,EAAE,sBAiJ7D,CAAA"}
@@ -0,0 +1,162 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.generateWorkflows = void 0;
30
+ const tslog_1 = require("tslog");
31
+ const libs_1 = require("./../libs");
32
+ const fs_1 = require("fs");
33
+ const bpmn_moddle_1 = __importDefault(require("bpmn-moddle"));
34
+ const constants = __importStar(require("../constant"));
35
+ const camunda_moodle_1 = require("../resource/camunda-moodle");
36
+ const log = new tslog_1.Logger();
37
+ const { Eta } = require('eta');
38
+ const generateWorkflows = async (configs, genFor) => {
39
+ const invalidElementId = /[ `!@#$%^&*()+\-=\[\]{};':"\\|,.<>\/?~]/;
40
+ const moddle = new bpmn_moddle_1.default({ moddleOptions: camunda_moodle_1.moddleOptions });
41
+ const frontendFolder = configs.frontendFolder;
42
+ const backendFolder = configs.backendFolder;
43
+ const bpmnFolder = configs.bpmnFolder;
44
+ const filelist = (0, fs_1.readdirSync)(bpmnFolder);
45
+ console.log("bpmn filelist", filelist);
46
+ const generateTemplatefolder = `${constants.templatedir}/workflow`;
47
+ let workflows = [];
48
+ if (genFor.includes('nest')) {
49
+ (0, fs_1.mkdirSync)(`${backendFolder}/src/simpleapp/workflows/bpmn`, { recursive: true });
50
+ (0, fs_1.mkdirSync)(`${backendFolder}/src/simpleapp/workflows/listeners`, { recursive: true });
51
+ }
52
+ if (genFor.includes('nuxt')) {
53
+ (0, fs_1.mkdirSync)(`${frontendFolder}/simpleapp/workflows/bpmn`, { recursive: true });
54
+ (0, fs_1.mkdirSync)(`${frontendFolder}/simpleapp/workflows/forms`, { recursive: true });
55
+ copyFormKeys(`${bpmnFolder}/../forms`, `${frontendFolder}/simpleapp/workflows/forms`);
56
+ }
57
+ for (let w = 0; w < filelist.length; w++) {
58
+ const bpmnfile = filelist[w];
59
+ if (!bpmnfile.includes('.bpmn')) {
60
+ continue;
61
+ }
62
+ const bpmnfilepath = `${bpmnFolder}/${bpmnfile}`;
63
+ const processName = bpmnfile.split('.')[0];
64
+ console.log("processNameprocessName", processName);
65
+ const xmlstring = (0, fs_1.readFileSync)(`${bpmnfilepath}`, 'utf-8');
66
+ const xmlobj = await moddle.fromXML(xmlstring);
67
+ const flowElements = xmlobj.rootElement.rootElements[0].flowElements;
68
+ let elements = [];
69
+ for (let i = 0; i < flowElements.length; i++) {
70
+ const e = flowElements[i];
71
+ if (['bpmn:UserTask', 'bpmn:ServiceTask'].includes(e.$type)) {
72
+ if (invalidElementId.test(e.id)) {
73
+ log.error(`bpmn File : ${bpmnfile} -> Task(${e.name} defined invalid symbol in id:"${e.id}"`);
74
+ throw "quite";
75
+ }
76
+ /*
77
+ read current process user task
78
+ 1. create type and apischemas for process task.such as updatescheduleacknowledgeteacher, with content same with inputsetting
79
+ read input setting
80
+ create file if not exists
81
+ backend/src/simpleapp/workflows/types
82
+ backend/src/simpleapp/workflows/apischemas
83
+
84
+
85
+ 2. create workflow controller with input body updatescheduleacknowledgeteacher
86
+ import types and apischemas
87
+
88
+ 3. create formkey .vue at frontend
89
+ enum = select, text = text, number =input number
90
+
91
+ 4. submit workflow shall define presentation properties also, possible form key
92
+ 5. onclick workflow prompt out dialog, complete dialog refresh task list
93
+
94
+
95
+ =====================
96
+ messaging service
97
+
98
+ */
99
+ let documentation = '';
100
+ if (e.documentation && e.documentation[0] && e.documentation[0].text) {
101
+ documentation = e.documentation[0].text;
102
+ }
103
+ const setting = {
104
+ type: e.$type,
105
+ id: e.id,
106
+ name: e.name,
107
+ documentation: documentation.replace("\n", "\n *")
108
+ };
109
+ elements.push(setting);
110
+ }
111
+ }
112
+ // delegates = _.uniq(delegates)
113
+ const variables = {
114
+ name: processName,
115
+ processName: (0, libs_1.capitalizeFirstLetter)(processName),
116
+ elements: elements
117
+ };
118
+ // console.log("sample--------sample",xmlobj.rootElement.rootElements[0].name, )
119
+ //copy workflow definition file to frontend and backend
120
+ if (genFor.includes('nest')) {
121
+ (0, fs_1.copyFileSync)(`${bpmnfilepath}`, `${backendFolder}/src/simpleapp/workflows/bpmn/${bpmnfile}`);
122
+ const targetlistener = `${backendFolder}/src/simpleapp/workflows/listeners/${processName}.listener.ts`;
123
+ const eta = new Eta({
124
+ views: '/',
125
+ functionHeader: getCodeGenHelper()
126
+ });
127
+ if (!(0, fs_1.existsSync)(targetlistener) || (0, fs_1.readFileSync)(targetlistener, 'utf-8').includes('--remove-this-line-to-prevent-override--')) {
128
+ // //write something
129
+ const templatepath = `${generateTemplatefolder}/next/listener.ts.eta`;
130
+ const filecontent = eta.render(templatepath, variables);
131
+ (0, fs_1.writeFileSync)(targetlistener, filecontent);
132
+ }
133
+ }
134
+ if (genFor.includes('nuxt')) {
135
+ (0, fs_1.copyFileSync)(`${bpmnfilepath}`, `${frontendFolder}/simpleapp/workflows/bpmn/${bpmnfile}`);
136
+ //create form key
137
+ }
138
+ workflows.push(processName);
139
+ //modify workflowdeletegate to import all files
140
+ //copy file backend
141
+ //copy file frontend
142
+ // const groupdata = JSON.parse(groupjsonstr);
143
+ // const documentname = groupfile.split('.')[0]
144
+ // const roles = prepareRoles(groupdata)
145
+ // allroles[documentname]=roles
146
+ }
147
+ return workflows;
148
+ };
149
+ exports.generateWorkflows = generateWorkflows;
150
+ const copyFormKeys = (fromtPath, toPath) => {
151
+ const files = (0, fs_1.readdirSync)(fromtPath);
152
+ for (let i = 0; i < files.length; i++) {
153
+ const filename = files[i];
154
+ if (filename == '.')
155
+ continue;
156
+ (0, fs_1.copyFileSync)(`${fromtPath}/${filename}`, `${toPath}/${filename}`);
157
+ }
158
+ };
159
+ const getCodeGenHelper = () => 'const capitalizeFirstLetter = (str) => str.slice(0, 1).toUpperCase() + str.slice(1);' +
160
+ 'const initType=(str)=>{return ["string","number","boolean","array","object"].includes(str) ? capitalizeFirstLetter(str) : str;};' +
161
+ 'const camelCaseToWords = (s) => {const result = s.replace(/([A-Z])/g, \' $1\');return result.charAt(0).toUpperCase() + result.slice(1);}';
162
+ //# sourceMappingURL=bpmnbuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmnbuilder.js","sourceRoot":"","sources":["../../src/processors/bpmnbuilder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAwC;AACxC,oCAAkD;AAClD,2BAAqG;AACrG,8DAAqC;AAErC,uDAAwC;AACxC,+DAAwD;AACxD,MAAM,GAAG,GAAoB,IAAI,cAAM,EAAE,CAAC;AAC1C,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;AACxB,MAAO,iBAAiB,GAAG,KAAK,EAAE,OAAO,EAAC,MAAe,EAAE,EAAE;IAChE,MAAM,gBAAgB,GAAG,yCAAyC,CAAC;IAEnE,MAAM,MAAM,GAAG,IAAI,qBAAU,CAAC,EAAC,aAAa,EAAb,8BAAa,EAAC,CAAC,CAAC;IAC/C,MAAM,cAAc,GAAC,OAAO,CAAC,cAAc,CAAA;IAC3C,MAAM,aAAa,GAAC,OAAO,CAAC,aAAa,CAAA;IACzC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;IACrC,MAAM,QAAQ,GAAG,IAAA,gBAAW,EAAC,UAAU,CAAC,CAAA;IAExC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAC,QAAQ,CAAC,CAAA;IACrC,MAAM,sBAAsB,GAAG,GAAG,SAAS,CAAC,WAAW,WAAW,CAAA;IAClE,IAAI,SAAS,GAAY,EAAE,CAAA;IAE3B,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AAC,SAAS,CAAC,CAAA;IACpC,KAAI,IAAI,CAAC,GAAC,CAAC,EAAE,CAAC,GAAE,KAAK,CAAC,MAAM,EAAC,CAAC,EAAE,EAAC;QAC7B,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QACzB,IAAG,QAAQ,IAAE,GAAG;YAAE,SAAQ;QAE1B,IAAA,iBAAY,EAAC,GAAG,SAAS,IAAI,QAAQ,EAAE,EAAC,GAAG,MAAM,IAAI,QAAQ,EAAE,CAAC,CAAA;KACnE;AACH,CAAC,CAAA;AACD,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,sFAAsF;IACrH,kIAAkI;IAClI,0IAA0I,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { SchemaPrintFormat } from "../type";
2
+ export declare const generatePrintformat: (configs: any, printFormats: SchemaPrintFormat[]) => Promise<void>;
3
+ //# sourceMappingURL=jrxmlbuilder.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { JSONSchema7 } from 'json-schema';
2
+ import { ChildModels } from '../type';
3
+ export declare const readJsonSchemaBuilder: (docname: string, orijsondata: JSONSchema7) => Promise<ChildModels>;
4
+ //# sourceMappingURL=jsonschemabuilder.d.ts.map
@@ -0,0 +1,27 @@
1
+ declare const moddleOptions: {
2
+ name: string;
3
+ uri: string;
4
+ prefix: string;
5
+ xml: {
6
+ tagAlias: string;
7
+ };
8
+ types: ({
9
+ name: string;
10
+ isAbstract: boolean;
11
+ extends: string[];
12
+ properties: {
13
+ name: string;
14
+ isAttr: boolean;
15
+ type: string;
16
+ }[];
17
+ superClass?: undefined;
18
+ } | {
19
+ name: string;
20
+ superClass: string[];
21
+ isAbstract?: undefined;
22
+ extends?: undefined;
23
+ properties?: undefined;
24
+ })[];
25
+ };
26
+ export { moddleOptions };
27
+ //# sourceMappingURL=camunda-moodle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camunda-moodle.d.ts","sourceRoot":"","sources":["../../src/resource/camunda-moodle.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;CAoFlB,CAAC;AAEF,OAAO,EAAC,aAAa,EAAC,CAAA"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.moddleOptions = void 0;
4
+ const moddleOptions = {
5
+ "name": "Node bpmn-engine",
6
+ "uri": "http://paed01.github.io/bpmn-engine/schema/2017/08/bpmn",
7
+ "prefix": "js",
8
+ "xml": {
9
+ "tagAlias": "lowerCase"
10
+ },
11
+ "types": [
12
+ {
13
+ "name": "Task",
14
+ "isAbstract": true,
15
+ "extends": ["bpmn:Task"],
16
+ "properties": [
17
+ {
18
+ "name": "result",
19
+ "isAttr": true,
20
+ "type": "String"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "Output",
26
+ "superClass": ["Element"]
27
+ },
28
+ {
29
+ "name": "Collectable",
30
+ "isAbstract": true,
31
+ "extends": ["bpmn:MultiInstanceLoopCharacteristics"],
32
+ "properties": [
33
+ {
34
+ "name": "collection",
35
+ "isAttr": true,
36
+ "type": "String"
37
+ },
38
+ {
39
+ "name": "elementVariable",
40
+ "isAttr": true,
41
+ "type": "String"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "FormSupported",
47
+ "isAbstract": true,
48
+ "extends": [
49
+ "bpmn:StartEvent",
50
+ "bpmn:UserTask"
51
+ ],
52
+ "properties": [
53
+ {
54
+ "name": "camunda:formKey",
55
+ "isAttr": true,
56
+ "type": "String"
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "name": "SendCall",
62
+ "isAbstract": true,
63
+ "extends": [
64
+ "bpmn:SendTask"
65
+ ],
66
+ "properties": [
67
+ {
68
+ "name": "camunda:delegateExpression",
69
+ "isAttr": true,
70
+ "type": "String"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "name": "ServiceCall",
76
+ "isAbstract": true,
77
+ "extends": [
78
+ "bpmn:ServiceTask"
79
+ ],
80
+ "properties": [
81
+ {
82
+ "name": "camunda:delegateExpression",
83
+ "isAttr": true,
84
+ "type": "String"
85
+ }
86
+ ]
87
+ }
88
+ ]
89
+ };
90
+ exports.moddleOptions = moddleOptions;
91
+ //# sourceMappingURL=camunda-moodle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camunda-moodle.js","sourceRoot":"","sources":["../../src/resource/camunda-moodle.ts"],"names":[],"mappings":";;;AAAA,MAAM,aAAa,GACnB;IACE,MAAM,EAAE,kBAAkB;IAC1B,KAAK,EAAE,yDAAyD;IAChE,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACL,UAAU,EAAE,WAAW;KACxB;IACC,OAAO,EAAE;QACL;YACA,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE,CAAC,WAAW,CAAC;YACxB,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACjB;aAAC;SACH;QACA;YACD,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,CAAC,SAAS,CAAC;SACxB;QACD;YACA,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE,CAAC,uCAAuC,CAAC;YACpD,YAAY,EAAE;gBACZ;oBACE,MAAM,EAAE,YAAY;oBACpB,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACjB;gBACD;oBACE,MAAM,EAAE,iBAAiB;oBACzB,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACjB;aAAK;SACP;QACD;YACA,MAAM,EAAE,eAAe;YACvB,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE;gBACT,iBAAiB;gBACjB,eAAe;aACR;YACT,YAAY,EAAE;gBACZ;oBACM,MAAM,EAAE,iBAAiB;oBAC7B,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACjB;aACE;SACJ;QACD;YACI,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE;gBACP,eAAe;aAClB;YACD,YAAY,EAAE;gBACV;oBACI,MAAM,EAAE,4BAA4B;oBACpC,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACnB;aACJ;SACJ;QACD;YACI,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE;gBACP,kBAAkB;aACjB;YACL,YAAY,EAAE;gBACV;oBACI,MAAM,EAAE,4BAA4B;oBACpC,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,QAAQ;iBACnB;aACJ;SACJ;KACJ;CACJ,CAAC;AAEM,sCAAa"}
@@ -0,0 +1,4 @@
1
+ import { TypeForeignKeyCatalogue } from './type';
2
+ export declare let allforeignkeys: TypeForeignKeyCatalogue;
3
+ export declare let allfields: string[];
4
+ //# sourceMappingURL=storage.d.ts.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.js","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "1.6.6g-alpha",
3
+ "version": "1.6.6i-alpha",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "generate": "ts-node src/index.ts -c ./sampleconfig.json; pnpm exec prettier ./backend --write;pnpm exec prettier ./frontend --write",
8
- "build": "npx tsc",
8
+ "build": "rm -rf ./tsconfig.tsbuildinfo && npx tsc",
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },
11
11
  "keywords": [],
@@ -13,7 +13,7 @@ HTTP_PORT=<%=it.configs.backendPort%>
13
13
 
14
14
  BPMN_PATH=./src/simpleapp/workflows/bpmn/
15
15
 
16
- X_APIKEY=
16
+ X_API_KEY=
17
17
  X_API_SECRET=
18
18
 
19
19
  OAUTH2_BASEURL=<%=it.configs.oauthSetting ? it.configs.oauthSetting.oauthBaseUrl : ''%>
@@ -69,9 +69,9 @@ export class TenantMiddleware implements NestMiddleware {
69
69
 
70
70
 
71
71
  //if APIKEY defined, and there is api key and secret supplied. use robot user
72
- if(process.env.X_APIKEY &&req.headers['x-api-key'] && req.headers['x-api-secret']){
72
+ if(process.env.X_API_KEY &&req.headers['x-api-key'] && req.headers['x-api-secret']){
73
73
 
74
- if(req.headers['x-api-key']==process.env.X_APIKEY &&
74
+ if(req.headers['x-api-key']==process.env.X_API_KEY &&
75
75
  req.headers['x-api-secret']==process.env.X_API_SECRET){
76
76
 
77
77
  u.setAsStaticUser(
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/typescript/lib/lib.es2017.full.d.ts","./src/constant.ts","./node_modules/@types/lodash/common/common.d.ts","./node_modules/@types/lodash/common/array.d.ts","./node_modules/@types/lodash/common/collection.d.ts","./node_modules/@types/lodash/common/date.d.ts","./node_modules/@types/lodash/common/function.d.ts","./node_modules/@types/lodash/common/lang.d.ts","./node_modules/@types/lodash/common/math.d.ts","./node_modules/@types/lodash/common/number.d.ts","./node_modules/@types/lodash/common/object.d.ts","./node_modules/@types/lodash/common/seq.d.ts","./node_modules/@types/lodash/common/string.d.ts","./node_modules/@types/lodash/common/util.d.ts","./node_modules/@types/lodash/index.d.ts","./node_modules/tslog/dist/types/runtime/browser/inspectoptions.interface.d.ts","./node_modules/tslog/dist/types/runtime/browser/util.inspect.polyfil.d.ts","./node_modules/tslog/dist/types/runtime/browser/index.d.ts","./node_modules/tslog/dist/types/interfaces.d.ts","./node_modules/tslog/dist/types/runtime/nodejs/index.d.ts","./node_modules/tslog/dist/types/baselogger.d.ts","./node_modules/tslog/dist/types/index.d.ts","./node_modules/eta/dist/types/storage.d.ts","./node_modules/eta/dist/types/config.d.ts","./node_modules/eta/dist/types/compile.d.ts","./node_modules/eta/dist/types/parse.d.ts","./node_modules/eta/dist/types/compile-string.d.ts","./node_modules/eta/dist/types/render.d.ts","./node_modules/eta/dist/types/err.d.ts","./node_modules/eta/dist/types/core.d.ts","./node_modules/eta/dist/types/file-handling.d.ts","./node_modules/eta/dist/types/index.d.ts","./src/framework.ts","./node_modules/@types/json-schema/index.d.ts","./src/libs.ts","./src/type.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/dom-events.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/types/index.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.d.ts","./node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.d.ts","./src/storage.ts","./src/processors/jsonschemabuilder.ts","./src/resource/camunda-moodle.ts","./src/processors/bpmnbuilder.ts","./src/buildinschemas/tenant.ts","./src/buildinschemas/organization.ts","./src/buildinschemas/branch.ts","./src/buildinschemas/permission.ts","./src/buildinschemas/autoincreament.ts","./src/buildinschemas/docnoformat.ts","./src/buildinschemas/systemmessage.ts","./src/buildinschemas/keyvaluepair.ts","./src/buildinschemas/webhook.ts","./src/buildinschemas/documentevent.ts","./src/buildinschemas/index.ts","./src/processors/jrxmlbuilder.ts","./src/generate.ts","./src/index.ts","./src/validation.ts","./src/buildinschemas/changehistories.ts","./src/buildinschemas/user.ts","./node_modules/@types/lodash.clonedeep/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"994c234848afc14a2586b6565777f4c0b05dc479ede0a041bfd5becf6dceb586",{"version":"851aa9ba6dc0e0f2fb800a55a1cde59615dee74980c50731bda408f5bc03598c","signature":"2341b9d77752b71f419fbcaad23ba010cf3532143e3a8692b8a91d9b89b4d722"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","30abc554c7ad13063a02ddd06757929b34357aea1f6fcf4ca39114cb0fc19384","a0ea0ebb80cc84ee69c710fb2facb1aaa928bbba76e4cf2d6986d227e201d8da","e25331ef774a0959e2bdee0725a2fd16f2190a05b4c6568bb5a2f8892bbbbefd","5d8d6708d454b41684ce566f2800c3eb430457dffebbd15b76458d31a603e52d","4be195e56e2a4defc0dcf4dcda78736800c38d0c5acd8ae19a3f8121a2d86db6","9bbc6220a376b95d00d7caa9879f6838e2b14ce6ed27178b16e79849a110d916","505126b9899af41cbe039047ea0cff5d2b5e4c6229319fc639d4150d99a597f0",{"version":"91da497254ee49742e2c2610ba6718b98118652a1c04da086bfd2d0894ea3dff","affectsGlobalScope":true},"69c752e25fd2df30de8a8af5cf9d9d454ddca3fe95341df35978ae73ba221902","9318f9895b9e905e9be43dc145655e60d80be8d3bbcd0947486e0bf6a988b6e5","26e7def372e302eabad5736aaa9a2b6c678eefa9a6997de97a0ed044821229dd","43a9f51aaf8d63dd7b6e1129044e959bc6170197312250d203a39ed9bde2a38d","55b83a98a31fe6aaae2ffa79a833ad42bb69e65dbeba9031c1ab2ae96dd9c806","27b805327aec5a96b728b1717232036fae0c52ce07ebb12365f3f21cab5af4c2","e167772b0b3c93562ec0e2910dcdaff404d9b852bcc326e7f5889ba57d8b5398","576ac8236c4370c710958f4e0f6cacd0255b7f0eeac8724dfb577be8d0a54f88","41a9b6e40e2b85b2cce9b53260d7a8d6a12b450ebe5279ed7f976a40006d2eb0","ba557fb45c819c4c249263eb922ec44a9cdc1f6101dc421502415df219cb4e29",{"version":"06da9bb2f820a06148eb4bc60efeeb321d570c058bf98ab4c88b9c17e457fbfd","signature":"15d6107e23e95346e3a654fc24089c8ee2f41a177717775abb2fe16967900641"},"dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b",{"version":"f976550251fafe42ed2df5e0a09e11e34d67a5dbcdbc97329b2907d5b1ab0821","signature":"d590d612e2c38f0060636bbcd87cf751081c103d1b20f2577ea588afc2b816d4"},{"version":"60052910126bd6d601864e352bb536c560d4a1facd343e7fc34bb6e68b950613","signature":"deb04741e74f757615a7e8b6dabb23f995374a364186dedcc4a72af16647d890"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"e6f0b909b1c34b38407a6c8b6c92e56a2635527d07dbabe765cfa729c26f3c20",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"3dd49afd822c82b63b3905a13e22240f34cf367aea4f4dd0e6564f4bddcb8370","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","93db4c949a785a3dbef7f5e08523be538e468c580dd276178b818e761b3b68cd","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"6e335a70826a634c5a1a1fa36a2dacbf3712ef2be7a517540ae1de8a1e8ea4f6","affectsGlobalScope":true},"576115ea69691c96f8f2b9fcfde5d0fb9b5f047dfa7dec242ebc08694c3b3190","df8529626079d6f9d5d3cd7b6fb7db9cda5a3118d383d8cd46c52aadb59593e7","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","3122a3f1136508a27a229e0e4e2848299028300ffa11d0cdfe99df90c492fe20","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","51fd089a29b2a91c69bdaa28882cf1340dac3df3a068327b6a044d21a79bf8f5",{"version":"0066ebbd0f4ef9656983a2017969afa6460879e894ebaf6f2969631ad9b5b430","affectsGlobalScope":true},"fe6dba0e8c69f2b244e3da38e53dd2cc9e51b2543e647e805396af73006613f7","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"5810080a0da989a944d3b691b7b479a4a13c75947fb538abb8070710baa5ccee","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","8904e5b670bbfc712dda607853de9227206e7dad93ac97109fe30875c5f12b78","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"a54ee34c2cc03ec4bbf0c9b10a08b9f909a21b3314f90a743de7b12b85867cef","affectsGlobalScope":true},{"version":"8a985c7d30aea82342d5017730b546bb2b734fe37a2684ca55d4734deb019d58","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"4d06f3abc2a6aae86f1be39e397372f74fb6e7964f594d645926b4a3419cc15d","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","5ba5b760345053acdf5beb1a9048ff43a51373f3d87849963779c1711ea7cbcc","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"4905d61a3e1e9b12e12dbf8660fc8d2f085734da6da8d725f395bf41a04853d6","2fb77d5b118a9808b842d7153535e7647d98012d0947b74f51e3894711ccbd7b","34b1b6a319f9973e92aefd30d321c10cb6376659ab74c2e08ce0c1fe25a441d7","2f85df10da3009cac88d99eab08f7c86e2b8d007e8105f0c02dee34ee1c66ff5","b242b684342db91be9e15c97cba52b40cf15dfdb2f748db84105c8250fe14a98","370efcddacd922a871b41a319eb797102fca67dae0de2dc515e1a262a276be2d","47c23de74e00c82d3d5a79c48e790c04d6fad367fa1766e077534183dbd06dc2","9df2b4459f88f233eaf07785b3ade78e06406a602ee06438ceb03328b13c1f83",{"version":"362492652d59c064c9b92d6520c485b6b0f1158a8658d6293991bfda97e0fa13","signature":"bc9b3d5073e7a8d7ce3b9804780ff91d63217a3208af5c10509d3051bd8c6b0e"},{"version":"e25b69d8462a456fb6413c3a3d14e94421a8e0d61d5a10da1013d5fd8efa3eae","signature":"1992ff33ab78288a93c96a8bc066eaae489080321407b6d0fab53c36e61ebed0"},{"version":"9a2b25b478cd41d4f1ddc8c12253a8d44ea1d0525ccca12cb8b87a5d678d543c","signature":"a47160a67c9a7ce7f3302f69d57f05eeebdb14fa47527477f3dee10015fb2f53"},{"version":"dd7eb44b949f0c3dd52599bedfa56af9dbbdd19aac69a925cde260b26cd23861","signature":"2188789ddcf1268012fdd94f660f851d8aece63ebed3a4542823e14dc3ee6c89"},{"version":"f2c29ae3ee0643a6ae0e3a642c3a0a35f9793efa1e64d1d7382f1fee7581075f","signature":"2957a5e64e42d9c69465978a6be93076941eec260ff5b89d0e1944056653973a"},{"version":"d4c5844f5bd0c0a2be1822ded0a848efd4b964582573b467b06858ce0d66ed9f","signature":"50be57aa3f4d1e7d6f48eaf5ca3158793350f67c869d10df7799cfb3a1f9a2db"},{"version":"5077a14a339ef0771dd0ed0b1df0243e3148e494643e3a77769f37271029afab","signature":"99160ef059c7487e1b3a769077e4bae89915c29e8a9e7648f41c4f2fb915dc9a"},{"version":"82c243b1c186f80c4fb838b138ada87af092dae9021b1ea4e89a097904993bf5","signature":"615feb68c48060c70a56ed5ca8a54879b33d96372fa9aaee4e9ba0e30b5e132b"},{"version":"76d3cfa992eeba8d6f8d0d74ceb0651cd543f335409185cc004c8f635fa185a9","signature":"5e677998b9d3db7c8ff512cfab20524cced44685a3031b74ab0daad943a55916"},{"version":"abae8e48cdce66f5440cb8a17e60333b5b54f6a4fa6c753b77088b1534d01759","signature":"e54d3ed3088fc56c29da22d90d11dca66fe740ee398916a43f35dcca40e11ab4"},{"version":"d7ae8af2a719ad1194cab78147358ecfe3f2391a772d6d45f9559b4c4d287897","signature":"9197e33fa53171c913d4d721d684be55eefaa8f1b974cc9657df0e188f218151"},{"version":"09517e0792ccd64bba45a225404960ec2ed52de1d4e0772884ac0ddc54dbe89a","signature":"889156715e5c730082d08d1ffef9fbf50543bad91aceaa9e41192d65bb7777e0"},{"version":"71f94b0393ca6655647c279521976baa3f54b27c92ed68b81262698caa209c34","signature":"29b7ff9fe7d18700c4eb6b05efcb1e062e2a52bf5d8c8a881670f138d6d3d0fb"},{"version":"e2ef82a95b2da4d718f6a0008bf9cc11a87616f1f5b609dc8d68434fdb1daba0","signature":"c7df46fbbd7ddaab74900862c207f080470946b6e1855fe695f7eed942f90a23"},{"version":"6831f766310e893e7ffddca562542ff14ea63533edc8a722cb1cf8f9d85fd796","signature":"17f1800e4494fa48457d6f5f848ad5a95edc8642b267d8b4f6c9969328388e44"},{"version":"68531e94b5b5bfada88f0f7f4c58c1e6a1518db0e34600f5a7ef62f55a6776a3","signature":"49ffdc73299c7d922e02684f9e46f718b38d7e9696806050e02d8f413a77d1a5"},{"version":"0267ee021b8d9619cdae411417ec01a988bacf1dfc514037f718f85d7956c50e","signature":"c5007a015591dc06207779bd5b97ce64089fff048bcaabb1794aa8edef579f08"},{"version":"045f4db867374ecfd3878738715f2aa7abfc3903c19fb96a2d1410965b758783","signature":"ba5c193062970e890092e20cae165633ad9e484ae8ed0073308e371b33587509"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",{"version":"458c41074302f088a2546caf48590bb68c29f5cdff5f1fae463106ad562d1675","signature":"615feb68c48060c70a56ed5ca8a54879b33d96372fa9aaee4e9ba0e30b5e132b"},{"version":"f6f8f18ab2fec1c37586c97b354dab576bec099c1a0d8448eb6f7a882e72fe5f","signature":"db3ffdb2215faffb9dccefade0c5cfba07523fcd4ac04e634da19fdce0a18e46"},"1ecdcf09ff556c7be88a5969071d09fdf173da75b7502ee2ae3d368b0e33a87f"],"root":[50,81,83,84,[146,166]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"noImplicitAny":false,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"strictBindCallApply":false,"strictNullChecks":false,"target":4},"fileIdsList":[[131,139,140,142,144],[131,139],[131,140,143],[131,139,140,141,142,144],[82,131,139,140,141,143],[82,131,138,144],[131,145],[131],[63,131],[51,53,54,55,56,57,58,59,60,61,62,63,131],[51,52,54,55,56,57,58,59,60,61,62,63,131],[52,53,54,55,56,57,58,59,60,61,62,63,131],[51,52,53,55,56,57,58,59,60,61,62,63,131],[51,52,53,54,56,57,58,59,60,61,62,63,131],[51,52,53,54,55,57,58,59,60,61,62,63,131],[51,52,53,54,55,56,58,59,60,61,62,63,131],[51,52,53,54,55,56,57,59,60,61,62,63,131],[51,52,53,54,55,56,57,58,60,61,62,63,131],[51,52,53,54,55,56,57,58,59,61,62,63,131],[51,52,53,54,55,56,57,58,59,60,62,63,131],[51,52,53,54,55,56,57,58,59,60,61,63,131],[51,52,53,54,55,56,57,58,59,60,61,62,131],[85,131],[88,131],[89,94,122,131],[90,101,102,109,119,130,131],[90,91,101,109,131],[92,131],[93,94,102,110,131],[94,119,127,131],[95,97,101,109,131],[96,131],[97,98,131],[101,131],[99,101,131],[101,102,103,119,130,131],[101,102,103,116,119,122,131],[131,135],[97,101,104,109,119,130,131],[101,102,104,105,109,119,127,130,131],[104,106,119,127,130,131],[85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],[101,107,131],[108,130,131,135],[97,101,109,119,131],[110,131],[111,131],[88,112,131],[113,129,131,135],[114,131],[115,131],[101,116,117,131],[116,118,131,133],[89,101,119,120,121,122,131],[89,119,121,131],[119,120,131],[122,131],[123,131],[88,119,131],[101,125,126,131],[125,126,131],[94,109,119,127,131],[128,131],[109,129,131],[89,104,115,130,131],[94,131],[119,131,132],[108,131,133],[131,134],[89,94,101,103,112,119,130,131,133,135],[119,131,136],[72,74,78,131],[72,78,131],[71,72,73,74,75,76,77,131],[78,79,131],[78,131],[73,78,131],[67,68,131],[67,69,131],[66,131],[65,67,131],[64,131],[67,131],[84,131],[131,150,151,152,153,154,155,156,157,158,159],[50,63,70,80,90,102,131],[50,63,70,82,84,102,131,146,147,149,160,161],[81,92,102,131,162],[50,63,70,83,102,131,148],[50,70,84,102,131],[63,70,82,83,84,131,145,146],[82,131],[84],[150,151,152,153,154,155,156,157,158,159],[82,84],[82]],"referencedMap":[[145,1],[140,2],[141,3],[143,4],[144,5],[139,6],[142,7],[82,8],[167,9],[52,10],[53,11],[51,12],[54,13],[55,14],[56,15],[57,16],[58,17],[59,18],[60,19],[61,20],[62,21],[63,22],[85,23],[86,23],[88,24],[89,25],[90,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,33],[100,34],[99,35],[101,34],[102,36],[103,37],[87,38],[137,8],[104,39],[105,40],[106,41],[138,42],[107,43],[108,44],[109,45],[110,46],[111,47],[112,48],[113,49],[114,50],[115,51],[116,52],[117,52],[118,53],[119,54],[121,55],[120,56],[122,57],[123,58],[124,59],[125,60],[126,61],[127,62],[128,63],[129,64],[130,65],[131,66],[132,67],[133,68],[134,69],[135,70],[136,71],[75,72],[73,73],[72,8],[78,74],[77,8],[79,73],[80,75],[74,76],[76,77],[71,8],[69,78],[70,79],[67,80],[66,81],[64,8],[65,82],[68,83],[47,8],[48,8],[8,8],[9,8],[13,8],[12,8],[2,8],[14,8],[15,8],[16,8],[17,8],[18,8],[19,8],[20,8],[21,8],[3,8],[4,8],[22,8],[49,8],[26,8],[23,8],[24,8],[25,8],[27,8],[28,8],[29,8],[5,8],[30,8],[31,8],[32,8],[33,8],[6,8],[37,8],[34,8],[35,8],[36,8],[38,8],[7,8],[39,8],[44,8],[45,8],[40,8],[41,8],[42,8],[43,8],[1,8],[46,8],[11,8],[10,8],[154,84],[152,84],[165,84],[155,84],[159,84],[160,85],[157,84],[151,84],[153,84],[156,84],[150,84],[166,84],[158,84],[50,8],[81,86],[162,87],[163,88],[83,8],[149,89],[161,90],[147,91],[148,8],[146,84],[84,92],[164,8]],"exportedModulesMap":[[145,1],[140,2],[141,3],[143,4],[144,5],[139,6],[142,7],[82,8],[167,9],[52,10],[53,11],[51,12],[54,13],[55,14],[56,15],[57,16],[58,17],[59,18],[60,19],[61,20],[62,21],[63,22],[85,23],[86,23],[88,24],[89,25],[90,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,33],[100,34],[99,35],[101,34],[102,36],[103,37],[87,38],[137,8],[104,39],[105,40],[106,41],[138,42],[107,43],[108,44],[109,45],[110,46],[111,47],[112,48],[113,49],[114,50],[115,51],[116,52],[117,52],[118,53],[119,54],[121,55],[120,56],[122,57],[123,58],[124,59],[125,60],[126,61],[127,62],[128,63],[129,64],[130,65],[131,66],[132,67],[133,68],[134,69],[135,70],[136,71],[75,72],[73,73],[72,8],[78,74],[77,8],[79,73],[80,75],[74,76],[76,77],[71,8],[69,78],[70,79],[67,80],[66,81],[64,8],[65,82],[68,83],[47,8],[48,8],[8,8],[9,8],[13,8],[12,8],[2,8],[14,8],[15,8],[16,8],[17,8],[18,8],[19,8],[20,8],[21,8],[3,8],[4,8],[22,8],[49,8],[26,8],[23,8],[24,8],[25,8],[27,8],[28,8],[29,8],[5,8],[30,8],[31,8],[32,8],[33,8],[6,8],[37,8],[34,8],[35,8],[36,8],[38,8],[7,8],[39,8],[44,8],[45,8],[40,8],[41,8],[42,8],[43,8],[1,8],[46,8],[11,8],[10,8],[154,93],[152,93],[165,93],[155,93],[159,93],[160,94],[157,93],[151,93],[153,93],[156,93],[150,93],[166,93],[158,93],[161,93],[147,95],[146,93],[84,96],[164,8]],"semanticDiagnosticsPerFile":[145,140,141,143,144,139,142,82,167,52,53,51,54,55,56,57,58,59,60,61,62,63,85,86,88,89,90,91,92,93,94,95,96,97,98,100,99,101,102,103,87,137,104,105,106,138,107,108,109,110,111,112,113,114,115,116,117,118,119,121,120,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,75,73,72,78,77,79,80,74,76,71,69,70,67,66,64,65,68,47,48,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,22,49,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,1,46,11,10,154,152,165,155,159,160,157,151,153,156,150,166,158,50,81,162,163,83,149,161,147,148,146,84,164],"latestChangedDtsFile":"./dist/type.d.ts"},"version":"5.2.2"}