@simitgroup/simpleapp-generator 1.0.32 → 1.0.35
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.
- package/.vscode/settings.json +3 -0
- package/README.md +185 -16
- package/buildinschemas copy/autoincreament.autoinc.jsonschema.json +39 -0
- package/buildinschemas copy/branch.branch.jsonschema.json +41 -0
- package/buildinschemas copy/docnoformat.docno.jsonschema.json +41 -0
- package/buildinschemas copy/organization.org.jsonschema.json +50 -0
- package/buildinschemas copy/permission.perm.jsonschema.json +23 -0
- package/buildinschemas copy/permission.perm.jsonschema.try.json +25 -0
- package/buildinschemas copy/tenant.tenant.jsonschema.json +21 -0
- package/buildinschemas copy/tenant.tenant.jsonschema.try.json +27 -0
- package/buildinschemas copy/user.user.jsonschema.json +31 -0
- package/dist/buildinschemas/autoincreament.d.ts +3 -0
- package/dist/buildinschemas/autoincreament.d.ts.map +1 -0
- package/dist/buildinschemas/autoincreament.js +36 -0
- package/dist/buildinschemas/autoincreament.js.map +1 -0
- package/dist/buildinschemas/branch.d.ts +3 -0
- package/dist/buildinschemas/branch.d.ts.map +1 -0
- package/dist/buildinschemas/branch.js +41 -0
- package/dist/buildinschemas/branch.js.map +1 -0
- package/dist/buildinschemas/docnoformat.d.ts +3 -0
- package/dist/buildinschemas/docnoformat.d.ts.map +1 -0
- package/dist/buildinschemas/docnoformat.js +60 -0
- package/dist/buildinschemas/docnoformat.js.map +1 -0
- package/dist/buildinschemas/index.d.ts +8 -0
- package/dist/buildinschemas/index.d.ts.map +1 -0
- package/dist/buildinschemas/index.js +18 -0
- package/dist/buildinschemas/index.js.map +1 -0
- package/dist/buildinschemas/organization.d.ts +3 -0
- package/dist/buildinschemas/organization.d.ts.map +1 -0
- package/dist/buildinschemas/organization.js +34 -0
- package/dist/buildinschemas/organization.js.map +1 -0
- package/dist/buildinschemas/permission.d.ts +3 -0
- package/dist/buildinschemas/permission.d.ts.map +1 -0
- package/dist/buildinschemas/permission.js +34 -0
- package/dist/buildinschemas/permission.js.map +1 -0
- package/dist/buildinschemas/tenant.d.ts +3 -0
- package/dist/buildinschemas/tenant.d.ts.map +1 -0
- package/dist/buildinschemas/tenant.js +41 -0
- package/dist/buildinschemas/tenant.js.map +1 -0
- package/dist/buildinschemas/user.d.ts +3 -0
- package/dist/buildinschemas/user.d.ts.map +1 -0
- package/dist/buildinschemas/user.js +31 -0
- package/dist/buildinschemas/user.js.map +1 -0
- package/dist/constant.d.ts +4 -0
- package/dist/constant.d.ts.map +1 -0
- package/dist/constant.js +2 -1
- package/dist/constant.js.map +1 -1
- package/dist/framework.d.ts +10 -0
- package/dist/framework.d.ts.map +1 -0
- package/dist/framework.js +120 -68
- package/dist/framework.js.map +1 -1
- package/dist/generate-allow-changebackend.js +305 -0
- package/dist/generate-allow-changebackend.js.map +1 -0
- package/dist/generate.d.ts +2 -0
- package/dist/generate.d.ts.map +1 -0
- package/dist/generate.js +310 -230
- package/dist/generate.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +84 -20
- package/dist/index.js.map +1 -1
- package/dist/libs.d.ts +2 -0
- package/dist/libs.d.ts.map +1 -0
- package/dist/processors/groupsbuilder.js +2 -0
- package/dist/processors/groupsbuilder.js.map +1 -0
- package/dist/processors/jsonschemabuilder.d.ts +4 -0
- package/dist/processors/jsonschemabuilder.d.ts.map +1 -0
- package/dist/processors/jsonschemabuilder.js +146 -172
- package/dist/processors/jsonschemabuilder.js.map +1 -1
- package/dist/schematype/baseschema.js +25 -0
- package/dist/schematype/baseschema.js.map +1 -0
- package/dist/schematype/default.js +2 -0
- package/dist/schematype/default.js.map +1 -0
- package/dist/schematype/index.js +12 -0
- package/dist/schematype/index.js.map +1 -0
- package/dist/schematype/primarymasterdata.js +38 -0
- package/dist/schematype/primarymasterdata.js.map +1 -0
- package/dist/schematype/simple.js +24 -0
- package/dist/schematype/simple.js.map +1 -0
- package/dist/schematype/simplemasterdata.js +31 -0
- package/dist/schematype/simplemasterdata.js.map +1 -0
- package/dist/schematype/transaction.js +74 -0
- package/dist/schematype/transaction.js.map +1 -0
- package/dist/storage.d.ts +3 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +2 -2
- package/dist/storage.js.map +1 -1
- package/dist/type.d.ts +164 -0
- package/dist/type.d.ts.map +1 -0
- package/dist/type.js +16 -1
- package/dist/type.js.map +1 -1
- package/dist/validation.d.ts +1 -0
- package/dist/validation.d.ts.map +1 -0
- package/documentation/designconcept.bpmn +349 -0
- package/documentation/documentation.png +0 -0
- package/documentation/infra.drawio +141 -0
- package/documentation/infra.png +0 -0
- package/documentation/management.drawio +57 -0
- package/documentation/stack.drawio +106 -0
- package/package.json +3 -1
- package/src/buildinschemas/autoincreament.ts +34 -0
- package/src/buildinschemas/branch.ts +39 -0
- package/src/buildinschemas/docnoformat.ts +58 -0
- package/src/buildinschemas/index.ts +7 -0
- package/src/buildinschemas/organization.ts +31 -0
- package/src/buildinschemas/permission.ts +31 -0
- package/src/buildinschemas/tenant.ts +38 -0
- package/src/buildinschemas/user.ts +28 -0
- package/src/constant.ts +2 -1
- package/src/framework.ts +126 -67
- package/src/generate.ts +327 -266
- package/src/generate.ts.backup +339 -0
- package/src/index.ts +93 -18
- package/src/processors/jsonschemabuilder.ts +199 -226
- package/src/processors/jsonschemabuilder.ts-old +383 -0
- package/src/storage.ts +1 -1
- package/src/type.ts +94 -27
- package/templates/basic/nest/controller.ts.eta +255 -0
- package/templates/basic/nest/default.ts.eta +42 -0
- package/templates/basic/{model.eta → nest/model.ts.eta} +18 -5
- package/templates/basic/nest/processor.ts.eta +129 -0
- package/templates/basic/nest/service.ts.eta +64 -0
- package/templates/basic/{type.eta → nest/type.ts.eta} +3 -3
- package/templates/basic/nuxt/default.ts.eta +42 -0
- package/templates/basic/{pageindex.vue.eta → nuxt/pages.crud.vue.eta} +85 -22
- package/templates/basic/nuxt/simpleapp.doc.ts.eta +11 -0
- package/templates/basic/nuxt/simpleapp.generate.client.ts.eta +212 -0
- package/templates/nest/.env.eta +31 -0
- package/templates/nest/.gitignore.eta +40 -0
- package/templates/nest/src/app.controller.ts.eta +19 -0
- package/templates/nest/src/app.module.ts.eta +77 -0
- package/templates/nest/src/app.service.ts.eta +9 -0
- package/templates/nest/src/main.ts.eta +58 -0
- package/templates/nest/src/simpleapp/generate/apischemas/index.ts.eta +16 -0
- package/templates/nest/src/simpleapp/generate/commons/decorators/appuser.decorator.ts.eta +8 -0
- package/templates/nest/src/simpleapp/generate/commons/dicts/foreignkeys.ts.eta +1 -0
- package/templates/nest/src/simpleapp/generate/commons/docnogenerator.service.ts.eta +101 -0
- package/templates/nest/src/simpleapp/generate/commons/exceptions/SimpleAppExceptionFilter.ts.eta +39 -0
- package/templates/nest/src/simpleapp/generate/commons/interceptors/response.interceptor.ts.eta +38 -0
- package/templates/nest/src/simpleapp/generate/commons/middlewares/tenant.middleware.ts.eta +88 -0
- package/templates/nest/{Workflow.eta → src/simpleapp/generate/commons/providers/workflow.provider.ts.etax} +20 -14
- package/templates/nest/src/simpleapp/generate/commons/roles/roles.decorator.ts.eta +6 -0
- package/templates/nest/src/simpleapp/generate/commons/roles/roles.enum.ts.eta +28 -0
- package/templates/nest/src/simpleapp/generate/commons/roles/roles.group.ts.eta +10 -0
- package/templates/nest/src/simpleapp/generate/commons/roles/roles.guard.ts.eta +34 -0
- package/templates/nest/src/simpleapp/generate/commons/user.context.ts.eta +391 -0
- package/templates/nest/src/simpleapp/generate/controllers/simpleapp.controller.ts.eta +71 -0
- package/templates/nest/src/simpleapp/generate/models/perm.model.ts.eta +53 -0
- package/templates/nest/src/simpleapp/generate/models/tenant.model.ts.eta +45 -0
- package/templates/nest/src/simpleapp/generate/models/user.model.ts.eta +57 -0
- package/templates/nest/src/simpleapp/generate/processors/simpleapp.processor.ts.eta +624 -0
- package/templates/nest/src/simpleapp/generate/types/index.ts.eta +19 -0
- package/templates/nest/src/simpleapp/profile/profile.apischema.ts.eta +74 -0
- package/templates/nest/src/simpleapp/profile/profile.controller.ts.eta +110 -0
- package/templates/nest/src/simpleapp/profile/profile.service.ts.eta +195 -0
- package/templates/nest/src/simpleapp/profile/profile.types.ts.eta +18 -0
- package/templates/nest/src/simpleapp/services/autoinc.service.ts.eta +89 -0
- package/templates/nest/src/simpleapp/services/branch.service.ts.eta +66 -0
- package/templates/nest/src/simpleapp/services/docno.service.ts.eta +93 -0
- package/templates/nest/src/simpleapp/services/org.service.ts.eta +67 -0
- package/templates/nest/src/simpleapp/services/perm.service.ts.eta +102 -0
- package/templates/nest/src/simpleapp/services/tenant.service.ts.eta +69 -0
- package/templates/nest/src/simpleapp/services/user.service.ts.eta +66 -0
- package/templates/nest/src/simpleapp/simpleapp.module.ts.eta +43 -0
- package/templates/nuxt/.env.eta +21 -0
- package/templates/nuxt/.gitignore.eta +28 -0
- package/templates/nuxt/app.vue.eta +5 -2
- package/templates/nuxt/assets/css/tailwind.css.eta +35 -0
- package/templates/nuxt/components/CrudNestedDoc.vue.eta +164 -0
- package/templates/nuxt/components/CrudSimple.vue.eta +179 -0
- package/templates/nuxt/{components.debugdocdata.vue.eta → components/DebugDocumentData.vue.eta} +4 -1
- package/templates/nuxt/{components.eventmonitor.vue.eta → components/EventMonitor.vue.eta} +27 -27
- package/templates/nuxt/components/Invitation.vue.eta +50 -0
- package/templates/nuxt/components/Menus.vue.eta +58 -0
- package/templates/nuxt/components/PermissionInfo.vue.eta +92 -0
- package/templates/nuxt/components/SimpleAppAutocomplete.vue.eta +131 -0
- package/templates/nuxt/components/SimpleAppAutocompletemulti.vue.eta +73 -0
- package/templates/nuxt/components/SimpleAppCalendar.vue.eta +55 -0
- package/templates/nuxt/components/SimpleAppCheckbox.vue.eta +29 -0
- package/templates/nuxt/components/SimpleAppChip.vue.eta +28 -0
- package/templates/nuxt/components/SimpleAppColor.vue.eta +41 -0
- package/templates/nuxt/components/SimpleAppDatatable.vue.eta +20 -0
- package/templates/nuxt/components/SimpleAppDocumentNo.vue.eta +90 -0
- package/templates/nuxt/components/SimpleAppDynamicInput.vue.eta +29 -0
- package/templates/nuxt/components/SimpleAppEditor.vue.eta +31 -0
- package/templates/nuxt/components/SimpleAppForm.vue.eta +131 -0
- package/templates/nuxt/components/SimpleAppInputTable.vue.eta +104 -0
- package/templates/nuxt/components/SimpleAppList.vue.eta +38 -0
- package/templates/nuxt/components/SimpleAppListmulti.vue.eta +41 -0
- package/templates/nuxt/components/SimpleAppNumber.vue.eta +32 -0
- package/templates/nuxt/components/SimpleAppPassword.vue.eta +41 -0
- package/templates/nuxt/components/SimpleAppRadio.vue.eta +42 -0
- package/templates/nuxt/components/SimpleAppRating.vue.eta +41 -0
- package/templates/nuxt/components/SimpleAppSelect.vue.eta +38 -0
- package/templates/nuxt/components/SimpleAppSelectmulti.vue.eta +39 -0
- package/templates/nuxt/components/SimpleAppSlider.vue.eta +42 -0
- package/templates/nuxt/components/SimpleAppSwitch.vue.eta +30 -0
- package/templates/nuxt/components/SimpleAppText.vue.eta +50 -0
- package/templates/nuxt/components/SimpleAppTextarea.vue.eta +30 -0
- package/templates/nuxt/components/SimpleAppValue.vue.eta +86 -0
- package/templates/nuxt/components/SimpleFieldContainer.vue.eta +102 -0
- package/templates/nuxt/components/XorgPicker.vue.eta +66 -0
- package/templates/nuxt/components/helper.ts.eta +90 -0
- package/templates/nuxt/components/type.ts.eta +32 -0
- package/templates/nuxt/composables/docformat.generate.ts.eta +5 -0
- package/templates/nuxt/{composables.getautocomplete.ts.eta → composables/getAutocomplete.generate.ts.eta} +4 -5
- package/templates/nuxt/{composables.getmenus.ts.eta → composables/getMenus.generate.ts.eta} +22 -7
- package/templates/nuxt/composables/getOpenApi.generate.ts.eta +6 -0
- package/templates/nuxt/composables/getTenant.generate.ts.eta +4 -0
- package/templates/nuxt/composables/getUserStore.generate.ts.eta +22 -0
- package/templates/nuxt/composables/logout.generate.ts.eta +22 -0
- package/templates/nuxt/composables/roles.generate.ts.eta +48 -0
- package/templates/nuxt/composables/stringHelper.generate.ts.eta +5 -0
- package/templates/nuxt/{layouts.default.vue.eta → layouts/default.vue.eta} +2 -0
- package/templates/nuxt/middleware/10.acl.global.ts.eta +38 -0
- package/templates/nuxt/nuxt.config.ts.eta +12 -2
- package/templates/nuxt/pages/[xorg]/branch/index.vue.eta +102 -0
- package/templates/nuxt/pages/[xorg]/docnoformat/[id].vue.eta +17 -0
- package/templates/nuxt/pages/[xorg]/docnoformat/index.vue.eta +269 -0
- package/templates/nuxt/pages/[xorg]/index.vue.eta +36 -0
- package/templates/nuxt/pages/[xorg]/organization/index.vue.eta +148 -0
- package/templates/nuxt/pages/[xorg]/permission/index.vue.eta +280 -0
- package/templates/nuxt/pages/[xorg]/tenant/index.vue.eta +93 -0
- package/templates/nuxt/pages/[xorg]/user/index.vue.eta +468 -0
- package/templates/nuxt/pages/index.vue.eta +191 -0
- package/templates/nuxt/pages/login.vue.eta +21 -0
- package/templates/nuxt/plugins/10.simpleapp-event.ts.eta +53 -0
- package/templates/nuxt/plugins/20.simpleapp-userstore.ts.eta +155 -0
- package/templates/nuxt/plugins/50.simpleapp-client.ts.eta +23 -0
- package/templates/nuxt/{server.api.ts.eta → server/api/[xorg]/[...].ts.eta} +5 -2
- package/templates/nuxt/server/api/auth/[...].ts.eta +68 -0
- package/templates/nuxt/{server.api.auth.logout.ts.eta → server/api/auth/logout.ts.eta} +1 -3
- package/templates/nuxt/server/api/profile/[...].ts.eta +150 -0
- package/templates/nuxt/server/api/profile/index.ts.eta +103 -0
- package/templates/nuxt/simpleapp/generate/clients/SimpleAppClient.ts.eta +187 -0
- package/templates/nuxt/simpleapp/generate/commons/documents.ts.eta +6 -0
- package/templates/nuxt/simpleapp/generate/commons/events.ts.eta +5 -0
- package/templates/nuxt/simpleapp/generate/commons/groups.ts.eta +11 -0
- package/templates/nuxt/simpleapp/generate/commons/roles.ts.eta +21 -0
- package/templates/nuxt/types/index.ts.eta +65 -0
- package/templates/project/README.md +11 -0
- package/templates/project/build.sh.eta +17 -0
- package/templates/project/config.json.eta +2 -0
- package/templates/project/generate.ts.eta +10 -0
- package/templates/project/schemas/category.ts.eta +26 -0
- package/templates/project/schemas/index.ts.eta +5 -0
- package/templates/project/schemas/product.ts.eta +59 -0
- package/templates/project/shares/hello.ts.eta +1 -0
- package/templates/project/shares/index.ts.eta +2 -0
- package/tsconfig.json +9 -2
- package/tsconfig.tsbuildinfo +1 -0
- package/definations/category.cat.jsonschema.json +0 -55
- package/definations/level.lvl.jsonschema.json +0 -48
- package/definations/product.prd.jsonschema.json +0 -46
- package/templates/basic/controller.eta +0 -152
- package/templates/basic/module.eta +0 -22
- package/templates/basic/service.eta +0 -62
- package/templates/basic/simpleappclient.eta +0 -120
- package/templates/nest/SimpleAppController.eta +0 -69
- package/templates/nest/SimpleAppService.eta +0 -366
- package/templates/nest/TenantMiddleware.eta +0 -34
- package/templates/nest/UserProvider.eta +0 -127
- package/templates/nest/app.controller.eta +0 -12
- package/templates/nest/app.module.eta +0 -64
- package/templates/nest/app.service.eta +0 -8
- package/templates/nest/inputvalidation-exception.eta +0 -6
- package/templates/nest/nest.env.eta +0 -28
- package/templates/nest/nest.main.eta +0 -31
- package/templates/nuxt/components.crudsimple.vue.eta +0 -124
- package/templates/nuxt/components.menus.vue.eta +0 -35
- package/templates/nuxt/env.eta +0 -17
- package/templates/nuxt/pages.[xorg].index.vue.eta +0 -20
- package/templates/nuxt/pages.index.vue.eta +0 -72
- package/templates/nuxt/pages.login.vue.eta +0 -20
- package/templates/nuxt/plugins.simpleapp.ts.eta +0 -88
- package/templates/nuxt/server.api.auth[...].ts.eta +0 -233
- package/templates/nuxt/tailwind.css.eta +0 -49
- /package/templates/basic/{apischema.eta → nest/apischema.ts.eta} +0 -0
- /package/templates/basic/{jsonschema.eta → nest/jsonschema.ts.eta} +0 -0
- /package/templates/basic/{pageindexwithid.vue.eta → nuxt/pages.[id].vue.eta} +0 -0
- /package/templates/nest/{oauth2-redirect.eta → public_html/oauth2-redirect.html.eta} +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
|
|
2
|
+
import Ajv from 'ajv';
|
|
3
|
+
import addFormats from 'ajv-formats';
|
|
4
|
+
import addErrors from 'ajv-errors';
|
|
5
|
+
import { ref } from 'vue';
|
|
6
|
+
import type { Ref } from 'vue';
|
|
7
|
+
import type { AxiosResponse } from 'axios';
|
|
8
|
+
import {SearchBody} from '~/types'
|
|
9
|
+
// import { useToast, } from 'primevue/usetoast';
|
|
10
|
+
// import type { ToastMessageOptions } from 'primevue/toast';
|
|
11
|
+
// const toast = useToast();
|
|
12
|
+
|
|
13
|
+
type crudType = {
|
|
14
|
+
runFindOne: Function;
|
|
15
|
+
runCreate: Function;
|
|
16
|
+
runUpdate: Function;
|
|
17
|
+
runDelete: Function;
|
|
18
|
+
runSearch: Function
|
|
19
|
+
};
|
|
20
|
+
export class SimpleAppClient<
|
|
21
|
+
TData extends { _id?: string },
|
|
22
|
+
TApi extends crudType,
|
|
23
|
+
> {
|
|
24
|
+
protected defaultTimeOut=5000
|
|
25
|
+
protected docapi;
|
|
26
|
+
public event:Function|null=null;
|
|
27
|
+
public listen:Function|null=null;
|
|
28
|
+
protected data = <Ref<TData>>ref({} as TData);
|
|
29
|
+
public schema = {}; //cant define data type, cause it make autocomplete gone.
|
|
30
|
+
protected doctype = '';
|
|
31
|
+
protected docname = '';
|
|
32
|
+
protected errorlist = ref({});
|
|
33
|
+
protected completeformula = true;
|
|
34
|
+
constructor(apiobj: TApi,doctype:string,docname:string) {
|
|
35
|
+
this.docapi = apiobj;
|
|
36
|
+
this.doctype=doctype
|
|
37
|
+
this.docname = docname
|
|
38
|
+
}
|
|
39
|
+
getDocType = () => this.doctype;
|
|
40
|
+
getDocName = () => this.docname;
|
|
41
|
+
setNew = ()=>{}
|
|
42
|
+
setSchema = (schema: any) => (this.schema = schema);
|
|
43
|
+
getSchema = () => this.schema;
|
|
44
|
+
getErrors = () => this.errorlist;
|
|
45
|
+
getData = () => this.data.value;
|
|
46
|
+
getApi = () =>this.docapi;
|
|
47
|
+
getReactiveData = () => this.data;
|
|
48
|
+
public reCalculateValue (){}
|
|
49
|
+
setData = (data: any) => {
|
|
50
|
+
// this.data.value = data;
|
|
51
|
+
Object.assign(this.data.value, data);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
async getById(id: string) {
|
|
55
|
+
return await this.docapi.runFindOne(id,{timeout:this.defaultTimeOut})
|
|
56
|
+
.then((res: AxiosResponse) => {
|
|
57
|
+
if(this.event){this.event('info:getById',res.data)}
|
|
58
|
+
Object.assign(this.data.value, res.data);
|
|
59
|
+
return res;
|
|
60
|
+
}).catch((res:any)=>{
|
|
61
|
+
if(this.event){this.event('error:getById',res)}
|
|
62
|
+
return Promise.reject(res)
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
async create() {
|
|
66
|
+
const errors = this.validateFailed();
|
|
67
|
+
if (errors) {
|
|
68
|
+
if(this.event){this.event('error:create',errors)}
|
|
69
|
+
return await Promise.reject(errors);
|
|
70
|
+
} else {
|
|
71
|
+
return await this.docapi
|
|
72
|
+
.runCreate(this.data.value,{timeout:this.defaultTimeOut})
|
|
73
|
+
.then((res: AxiosResponse) => {
|
|
74
|
+
if(this.event){this.event('success:create',res.data);return res.data}
|
|
75
|
+
this.data.value = { ...res.data };
|
|
76
|
+
return res;
|
|
77
|
+
}).catch((errors:any)=>{
|
|
78
|
+
if(this.event){
|
|
79
|
+
this.event('error:create',errors.response.data.data)}
|
|
80
|
+
console.error('error:create',errors.response.data.data)
|
|
81
|
+
return Promise.reject(errors)
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
async update() {
|
|
86
|
+
const recordid: string = this.data.value._id ?? '';
|
|
87
|
+
const errors = this.validateFailed();
|
|
88
|
+
if (errors) {
|
|
89
|
+
if(this.event){this.event('error:update',errors)}
|
|
90
|
+
console.error(errors)
|
|
91
|
+
return await Promise.reject(errors);
|
|
92
|
+
} else {
|
|
93
|
+
return await this.docapi
|
|
94
|
+
.runUpdate(recordid, this.data.value,{timeout:this.defaultTimeOut})
|
|
95
|
+
.then((res: AxiosResponse) => {
|
|
96
|
+
if(this.event){this.event('success:update',res.data)}
|
|
97
|
+
return res.data;
|
|
98
|
+
}).catch((errors:any)=>{
|
|
99
|
+
// console.error('error:update---',errors,",---",errors.message)
|
|
100
|
+
if(this.event){
|
|
101
|
+
this.event('error:update',errors.response.data.data)}
|
|
102
|
+
console.error('error:update',errors.response.data.data)
|
|
103
|
+
return Promise.reject(errors)
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
async delete(id: string) {
|
|
108
|
+
return await this.docapi.runDelete(id,{timeout:this.defaultTimeOut})
|
|
109
|
+
.then((res:AxiosResponse)=>{
|
|
110
|
+
if(this.event){this.event('success:delete',res.data)}
|
|
111
|
+
return Promise.resolve(res.data)
|
|
112
|
+
}).catch((errors:any)=>{
|
|
113
|
+
if(this.event){this.event('error:delete',errors.response.data.data)}
|
|
114
|
+
console.error(errors.response.data.data)
|
|
115
|
+
return Promise.reject(errors)
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
async search(searchbody:SearchBody) {
|
|
119
|
+
return await this.docapi.runSearch(searchbody,{timeout:this.defaultTimeOut})
|
|
120
|
+
.then((res:AxiosResponse)=>{
|
|
121
|
+
if(this.event){this.event('info:listready',res.data);}
|
|
122
|
+
return res.data
|
|
123
|
+
}).catch((errors:any)=>{
|
|
124
|
+
if(this.event){this.event('error:list',errors.response.data.data)}
|
|
125
|
+
return Promise.reject(errors)
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
hook(type: string, data: TData) {
|
|
130
|
+
console.log('internal save hook');
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
validateFailed() {
|
|
134
|
+
const ajv = new Ajv({ allErrors: true });
|
|
135
|
+
addFormats(ajv);
|
|
136
|
+
addErrors(ajv)
|
|
137
|
+
|
|
138
|
+
ajv.addFormat('tel',/^$|^\d{7,15}$/gm)
|
|
139
|
+
ajv.addFormat('text',/.*$/)
|
|
140
|
+
ajv.addFormat('html',/.*$/)
|
|
141
|
+
ajv.addFormat('documentno',/.*$/)
|
|
142
|
+
|
|
143
|
+
ajv.addKeyword({ keyword: 'x-document-no', schemaType:'boolean' });
|
|
144
|
+
ajv.addKeyword({ keyword: 'x-document-label',schemaType: 'boolean' });
|
|
145
|
+
ajv.addKeyword({ keyword: 'x-document-status', schemaType: 'array' });
|
|
146
|
+
ajv.addKeyword({ keyword: 'x-document-api',schemaType: 'array' });
|
|
147
|
+
ajv.addKeyword({ keyword: 'x-page-type',schemaType:'string' }); // undefine mean no generate page
|
|
148
|
+
ajv.addKeyword({ keyword: 'x-ignore-autocomplete',schemaType: 'boolean' });
|
|
149
|
+
ajv.addKeyword({ keyword: 'x-isolation-type', schemaType: 'string' });
|
|
150
|
+
ajv.addKeyword({ keyword: 'x-document-type', schemaType: 'string' });
|
|
151
|
+
ajv.addKeyword({ keyword: 'x-document-name', schemaType: 'string' });
|
|
152
|
+
ajv.addKeyword({ keyword: 'x-collection-name',schemaType: 'string' });
|
|
153
|
+
ajv.addKeyword({ keyword: 'x-autocomplete-field', schemaType: 'boolean' });
|
|
154
|
+
ajv.addKeyword({ keyword: 'x-foreignkey', schemaType: 'string' });
|
|
155
|
+
ajv.addKeyword({ keyword: 'x-import-lib', schemaType: 'array' });
|
|
156
|
+
ajv.addKeyword({ keyword: 'x-compute', schemaType: 'object' });
|
|
157
|
+
ajv.addKeyword({ keyword: 'x-required-role', schemaType: 'array' });
|
|
158
|
+
|
|
159
|
+
this.errorlist.value = {};
|
|
160
|
+
this.hook('pre-validation', this.data.value);
|
|
161
|
+
const validate = ajv.compile(this.schema);
|
|
162
|
+
const valid = validate(this.data.value);
|
|
163
|
+
if (!valid) {
|
|
164
|
+
const errors = validate.errors;
|
|
165
|
+
const tmp: { [key: string]: any } = {};
|
|
166
|
+
if (errors) {
|
|
167
|
+
for (let i = 0; i < errors?.length; i++) {
|
|
168
|
+
const key: string = errors[i]['instancePath'];
|
|
169
|
+
if (!tmp[key]) {
|
|
170
|
+
tmp[key] = [];
|
|
171
|
+
}
|
|
172
|
+
tmp[key].push(errors[i]);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
// console.error(tmp);
|
|
176
|
+
this.errorlist.value = tmp;
|
|
177
|
+
// console.error(this.errorlist);
|
|
178
|
+
|
|
179
|
+
// return validate.errors;
|
|
180
|
+
return ajv.errors??validate.errors;
|
|
181
|
+
} else {
|
|
182
|
+
this.hook('post-validation', this.data.value);
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type grouptype = {[key:string]:roletype[]}
|
|
2
|
+
export const allgroups:grouptype = {
|
|
3
|
+
<% Object.getOwnPropertyNames(it.allroles).forEach((key)=>{ %>
|
|
4
|
+
<%=key%>:[
|
|
5
|
+
<%for(let i=0; i <it.allroles[key].length; i++){%>
|
|
6
|
+
<% const arr = it.allroles[key][i].split('_') %>
|
|
7
|
+
{resource:'<%=arr[0]%>',action:'<%=arr[1]%>'},
|
|
8
|
+
<%}%>
|
|
9
|
+
],
|
|
10
|
+
<%})%>
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type roletype = {resource:string, action:string}
|
|
2
|
+
const allroles:roletype[] = [
|
|
3
|
+
<% for(let i=0;i<it.modules.length; i++){ %>
|
|
4
|
+
<% const m = it.modules[i] %>
|
|
5
|
+
{resource: '<%=m.docname%>', action:'create'},
|
|
6
|
+
{resource: '<%=m.docname%>', action:'update'},
|
|
7
|
+
{resource: '<%=m.docname%>', action:'delete'},
|
|
8
|
+
{resource: '<%=m.docname%>', action:'search'},
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<% if(m.api && m.api.length >0) {%>
|
|
12
|
+
|
|
13
|
+
<% for(let j=0;j<m.api.length; j++){ %>
|
|
14
|
+
<%let api = m.api[j]%>
|
|
15
|
+
{resource: '<%=m.docname%>', action:'<%=api.action%>'},
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<%}%>
|
|
19
|
+
<%}%>
|
|
20
|
+
<%}%>
|
|
21
|
+
]
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type UserListItem = {
|
|
2
|
+
_id: string
|
|
3
|
+
uid?:string
|
|
4
|
+
fullName: string
|
|
5
|
+
email: string
|
|
6
|
+
group:string
|
|
7
|
+
active:boolean
|
|
8
|
+
orgId: number
|
|
9
|
+
branchId: number
|
|
10
|
+
tenantId: number
|
|
11
|
+
}
|
|
12
|
+
export type OrgListItem = {
|
|
13
|
+
orgId: number
|
|
14
|
+
_Id: string
|
|
15
|
+
orgCode: string
|
|
16
|
+
orgName: string
|
|
17
|
+
}
|
|
18
|
+
export type BranchListItem = {
|
|
19
|
+
_id:string
|
|
20
|
+
tenantId:number
|
|
21
|
+
orgId: number
|
|
22
|
+
branchId: number
|
|
23
|
+
branchName: string
|
|
24
|
+
branchCode: string
|
|
25
|
+
group:string
|
|
26
|
+
active:boolean
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export type PermissionListItem = {
|
|
31
|
+
branchId: number
|
|
32
|
+
email:string
|
|
33
|
+
fullName:string
|
|
34
|
+
group:string
|
|
35
|
+
active:boolean
|
|
36
|
+
orgId: number
|
|
37
|
+
tenantId:number
|
|
38
|
+
uid:string
|
|
39
|
+
_id:string
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type DocNoFormat ={
|
|
44
|
+
docNoFormatName: string
|
|
45
|
+
docNoFormatNo:string
|
|
46
|
+
docNoPattern:string
|
|
47
|
+
isMonthly: boolean
|
|
48
|
+
active: boolean
|
|
49
|
+
sample:string
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type ForeignKey = {
|
|
53
|
+
_id : string
|
|
54
|
+
label: string
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export type SearchBody = {
|
|
59
|
+
|
|
60
|
+
filter?:Object;
|
|
61
|
+
|
|
62
|
+
fields?: any[];
|
|
63
|
+
|
|
64
|
+
sorts?: any[];
|
|
65
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
ts-node generate.ts
|
|
3
|
+
npx prettier --write jsonschemas
|
|
4
|
+
|
|
5
|
+
type=$1
|
|
6
|
+
if [ type == 'frontend' ]; then
|
|
7
|
+
simpleapp-generator -c config.json -g frontend
|
|
8
|
+
elif [ type == 'updatefrontend' ]; then
|
|
9
|
+
simpleapp-generator -c config.json -g updatefrontend
|
|
10
|
+
elif [ type == 'backend' ]; then
|
|
11
|
+
simpleapp-generator -c config.json -g backend
|
|
12
|
+
elif [ type == 'updatebackend' ]; then
|
|
13
|
+
simpleapp-generator -c config.json -g updatebackend
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
cp -a ./shares backend/src/simpleapp/generate
|
|
17
|
+
cp -a ./shares frontend/simpleapp/generate
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as schemas from './schemas'
|
|
2
|
+
import {writeFileSync} from 'fs'
|
|
3
|
+
type keyofschema = keyof typeof schemas
|
|
4
|
+
Object.keys(schemas).forEach( (schemaname)=>{
|
|
5
|
+
const mykey :keyofschema = schemaname as keyofschema
|
|
6
|
+
// console.log("writing",schemas[mykey])
|
|
7
|
+
const content = JSON.stringify(schemas[mykey])
|
|
8
|
+
// console.log(content)
|
|
9
|
+
writeFileSync(`./jsonschemas/${schemaname}.json`,content)
|
|
10
|
+
})
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {SchemaType,RESTMethods,IsolationType} from '/Users/kstan/dev/lowcode/simpleapp-generator/src/type'
|
|
2
|
+
export const category:SchemaType =
|
|
3
|
+
{
|
|
4
|
+
type: "object",
|
|
5
|
+
"x-simpleapp-config":{
|
|
6
|
+
documentType:'cat',
|
|
7
|
+
documentName:'category',
|
|
8
|
+
isolationType:IsolationType.org,
|
|
9
|
+
pageType:"crud"
|
|
10
|
+
},
|
|
11
|
+
properties: {
|
|
12
|
+
_id:{type:'string'},
|
|
13
|
+
created:{type:'string'},
|
|
14
|
+
updated:{type:'string'},
|
|
15
|
+
createdby:{type:'string'},
|
|
16
|
+
updatedby:{type:'string'},
|
|
17
|
+
tenantId: {type:'integer',default:1,minimum:1 },
|
|
18
|
+
orgId: {type:'integer',default:1,minimum:1 },
|
|
19
|
+
branchId: {type:'integer',default:1,minimum:1 },
|
|
20
|
+
categoryCode: {"type": "string","examples": ["TUITION"]},
|
|
21
|
+
categoryName: {"type": "string","examples": ["Tuition Service"]},
|
|
22
|
+
active: {"type": "boolean","default":true,"examples": [true]},
|
|
23
|
+
categoryType: {type: "string",enum:["class","charge"],examples: ["class"]},
|
|
24
|
+
description: {type: "string",format:"text","examples": ["Maths Tuition primary 1"]}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
//examples
|
|
2
|
+
import {SchemaType,RESTMethods,IsolationType} from '/Users/kstan/dev/lowcode/simpleapp-generator/src/type'
|
|
3
|
+
export const product:SchemaType =
|
|
4
|
+
{
|
|
5
|
+
type: "object",
|
|
6
|
+
"x-simpleapp-config":{
|
|
7
|
+
documentType:'cat',
|
|
8
|
+
documentName:'category',
|
|
9
|
+
isolationType:IsolationType.org,
|
|
10
|
+
pageType:"crud"
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
properties: {
|
|
14
|
+
_id:{type:'string'},
|
|
15
|
+
created:{type:'string'},
|
|
16
|
+
updated:{type:'string'},
|
|
17
|
+
createdby:{type:'string'},
|
|
18
|
+
updatedby:{type:'string'},
|
|
19
|
+
tenantId: {type:'integer',default:1,minimum:1 },
|
|
20
|
+
orgId: {type:'integer',default:1,minimum:1 },
|
|
21
|
+
branchId: {type:'integer',default:1,minimum:1 },
|
|
22
|
+
productCode: {type: "string",examples: ["BK-MTHP1"]},
|
|
23
|
+
productName: {type: "string",examples: ["Math Primary 1 Book"]},
|
|
24
|
+
level: {
|
|
25
|
+
type: "object",
|
|
26
|
+
"x-foreignkey":"level",
|
|
27
|
+
properties: {
|
|
28
|
+
"_id": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"examples": [
|
|
31
|
+
"aaa"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"label": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"examples": [
|
|
37
|
+
"P1"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
category: {type: "object","x-foreignkey":"category", properties: {_id: {type: "string"},label: {type: "string"}}},
|
|
43
|
+
defaultprice: {"type": "number",},
|
|
44
|
+
taxsetting: {
|
|
45
|
+
type: "object",
|
|
46
|
+
"x-foreignkey":"taxsetting",
|
|
47
|
+
properties: {
|
|
48
|
+
"_id": {"type": "string",},
|
|
49
|
+
"label": {"type": "string","examples": ["6%"]},
|
|
50
|
+
"taxpercent":{"type":"number","examples":[6]}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"taxinclusive": {type: "boolean",},
|
|
54
|
+
active: {type: "boolean",default:true,},
|
|
55
|
+
description: {type: "string",},
|
|
56
|
+
tags: {type: "array",items: {type: "string",examples: ["P1","Math"]}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const hello = () => "hello"
|
package/tsconfig.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"rootDir": "src",
|
|
4
|
+
"composite":true,
|
|
4
5
|
"outDir": "dist",
|
|
5
6
|
"strict": true,
|
|
6
|
-
"
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"noEmit":false,
|
|
11
|
+
"target": "ES2017",
|
|
7
12
|
"module": "commonjs",
|
|
8
13
|
"sourceMap": true,
|
|
9
14
|
"esModuleInterop": true,
|
|
10
15
|
"moduleResolution": "node",
|
|
11
16
|
"resolveJsonModule":true,
|
|
12
17
|
"strictNullChecks": false,
|
|
18
|
+
|
|
19
|
+
|
|
13
20
|
"noImplicitAny": false,
|
|
14
21
|
"strictBindCallApply": false,
|
|
15
22
|
"paths": {"@": ["./"]}
|
|
@@ -0,0 +1 @@
|
|
|
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/storage.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/processors/jsonschemabuilder.ts","./src/buildinschemas/tenant.ts","./src/buildinschemas/organization.ts","./src/buildinschemas/branch.ts","./src/buildinschemas/permission.ts","./src/buildinschemas/user.ts","./src/buildinschemas/autoincreament.ts","./src/buildinschemas/docnoformat.ts","./src/buildinschemas/index.ts","./src/generate.ts","./src/index.ts","./src/validation.ts","./node_modules/@types/lodash.clonedeep/index.d.ts","../node_modules/.pnpm/@types+eslint@8.44.2/node_modules/@types/eslint/helpers.d.ts","../node_modules/.pnpm/@types+estree@1.0.1/node_modules/@types/estree/index.d.ts","../node_modules/.pnpm/@types+json-schema@7.0.12/node_modules/@types/json-schema/index.d.ts","../node_modules/.pnpm/@types+eslint@8.44.2/node_modules/@types/eslint/index.d.ts","../node_modules/.pnpm/@types+eslint-scope@3.7.4/node_modules/@types/eslint-scope/index.d.ts","../../../node_modules/.pnpm/@types+uuid@9.0.4/node_modules/@types/uuid/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":"a3a17781647f17e73b28e2e97499b348be0429ef63521438613785c15493d995","signature":"15d6107e23e95346e3a654fc24089c8ee2f41a177717775abb2fe16967900641"},"dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b",{"version":"f976550251fafe42ed2df5e0a09e11e34d67a5dbcdbc97329b2907d5b1ab0821","signature":"d590d612e2c38f0060636bbcd87cf751081c103d1b20f2577ea588afc2b816d4"},{"version":"a18bb1f99f9c7f966c1550c0bbe535f3a682b43acd3e282f74c2d3de61a0ea04","signature":"e6c24ec70fa57b472d762c60c6fca5327000d57e6dd3a8270f5e4c043fa2fa1a"},{"version":"8ad9a4fd0bf37b86cbcdb157dd3b7c9f17834db4bade335ccb23c34982ae6a56","signature":"4dff415a17a1c0b98640c7a85d7ce4c73cfd05aa04a34434326c2b3f446d821f"},"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":"96a271a07283239845dd7b8233f504a34983ff2a16ff549d66d067381309733d","signature":"1992ff33ab78288a93c96a8bc066eaae489080321407b6d0fab53c36e61ebed0"},{"version":"0dc036b7a05f0b0e0194ea7c45300ee015038064a9321b665a95fd6f5aaa1ab3","signature":"2957a5e64e42d9c69465978a6be93076941eec260ff5b89d0e1944056653973a"},{"version":"6063d4c28a8a64d0734d25fad1700bf22436d0546da8ad130cbcf376008ae684","signature":"50be57aa3f4d1e7d6f48eaf5ca3158793350f67c869d10df7799cfb3a1f9a2db"},{"version":"a17c0908cb54eace9fbf35c4384ba1470843c85f5269c361ac5e1691770a3e37","signature":"99160ef059c7487e1b3a769077e4bae89915c29e8a9e7648f41c4f2fb915dc9a"},{"version":"e91032ccc38210b01bd5cceb3db47c7ba9e085ab385e8523a0a50f3a2685022d","signature":"615feb68c48060c70a56ed5ca8a54879b33d96372fa9aaee4e9ba0e30b5e132b"},{"version":"b628e7d7d696ed2e69e7b283f894d7697caad0df10d91aa3e9dd838b7842cf39","signature":"db3ffdb2215faffb9dccefade0c5cfba07523fcd4ac04e634da19fdce0a18e46"},{"version":"956bdef4a5a19ab00f2d6792350056cff2c07b02b606cda8da935c5dfdb532d5","signature":"5e677998b9d3db7c8ff512cfab20524cced44685a3031b74ab0daad943a55916"},{"version":"8bc96068c192b5e04cadfc48777b50428845ac8ae3c55311e5d2223620edd2fb","signature":"e54d3ed3088fc56c29da22d90d11dca66fe740ee398916a43f35dcca40e11ab4"},{"version":"1c3d826b3ba48589709e298df2ac91d8992b625857eddb8e9662b3f2a8d72cf0","signature":"e3238212d053dd584ef8569061950e3133ae91df5eee71c8c2987f5f3b1aed9e"},{"version":"56f34631a82211544b5c4077d484f131de8ad3b9848799d4da73b4fd7b418041","signature":"c5007a015591dc06207779bd5b97ce64089fff048bcaabb1794aa8edef579f08"},{"version":"aa80eba109f6a8ded8964ab1d5e37b1c95a519277f1d34db2b60ca248898c39e","signature":"ba5c193062970e890092e20cae165633ad9e484ae8ed0073308e371b33587509"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","1ecdcf09ff556c7be88a5969071d09fdf173da75b7502ee2ae3d368b0e33a87f",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"bee89e1eb6425eb49894f3f25e4562dc2564e84e5aa7610b7e13d8ecddf8f5db","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","facc7572c3330810ff4728113a324790679d4ed41fbd9e371028f08f1cad29f3","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","f875e913ef24873eb2a469605402595f1c783070b52a98e53686b32c0f827f7f"],"root":[50,81,[83,85],[147,158]],"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":[[132,161,163],[132],[82,132,160,161],[132,140,141,143,145],[132,140],[132,141,144],[132,140,141,142,143,145],[82,132,140,141,142,144],[82,132,139,145],[132,146],[63,132],[51,53,54,55,56,57,58,59,60,61,62,63,132],[51,52,54,55,56,57,58,59,60,61,62,63,132],[52,53,54,55,56,57,58,59,60,61,62,63,132],[51,52,53,55,56,57,58,59,60,61,62,63,132],[51,52,53,54,56,57,58,59,60,61,62,63,132],[51,52,53,54,55,57,58,59,60,61,62,63,132],[51,52,53,54,55,56,58,59,60,61,62,63,132],[51,52,53,54,55,56,57,59,60,61,62,63,132],[51,52,53,54,55,56,57,58,60,61,62,63,132],[51,52,53,54,55,56,57,58,59,61,62,63,132],[51,52,53,54,55,56,57,58,59,60,62,63,132],[51,52,53,54,55,56,57,58,59,60,61,63,132],[51,52,53,54,55,56,57,58,59,60,61,62,132],[86,132],[89,132],[90,95,123,132],[91,102,103,110,120,131,132],[91,92,102,110,132],[93,132],[94,95,103,111,132],[95,120,128,132],[96,98,102,110,132],[97,132],[98,99,132],[102,132],[100,102,132],[102,103,104,120,131,132],[102,103,104,117,120,123,132],[132,136],[98,102,105,110,120,131,132],[102,103,105,106,110,120,128,131,132],[105,107,120,128,131,132],[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,138],[102,108,132],[109,131,132,136],[98,102,110,120,132],[111,132],[112,132],[89,113,132],[114,130,132,136],[115,132],[116,132],[102,117,118,132],[117,119,132,134],[90,102,120,121,122,123,132],[90,120,122,132],[120,121,132],[123,132],[124,132],[89,120,132],[102,126,127,132],[126,127,132],[95,110,120,128,132],[129,132],[110,130,132],[90,105,116,131,132],[95,132],[120,132,133],[109,132,134],[132,135],[90,95,102,104,113,120,131,132,134,136],[120,132,137],[72,74,78,132],[72,78,132],[71,72,73,74,75,76,77,132],[78,79,132],[78,132],[73,78,132],[67,68,132],[67,69,132],[66,132],[65,67,132],[64,132],[67,132],[85,132],[132,148,149,150,151,152,153,154],[50,63,70,80,91,103,132],[50,63,70,82,84,85,103,132,147,155],[81,93,132,156],[63,70,82,83,84,85,132,146],[82,84,132],[85],[148,149,150,151,152,153,154],[82,85],[82]],"referencedMap":[[164,1],[160,2],[163,3],[161,2],[162,2],[146,4],[141,5],[142,6],[144,7],[145,8],[140,9],[143,10],[82,2],[159,11],[52,12],[53,13],[51,14],[54,15],[55,16],[56,17],[57,18],[58,19],[59,20],[60,21],[61,22],[62,23],[63,24],[86,25],[87,25],[89,26],[90,27],[91,28],[92,29],[93,30],[94,31],[95,32],[96,33],[97,34],[98,35],[99,35],[101,36],[100,37],[102,36],[103,38],[104,39],[88,40],[138,2],[105,41],[106,42],[107,43],[139,44],[108,45],[109,46],[110,47],[111,48],[112,49],[113,50],[114,51],[115,52],[116,53],[117,54],[118,54],[119,55],[120,56],[122,57],[121,58],[123,59],[124,60],[125,61],[126,62],[127,63],[128,64],[129,65],[130,66],[131,67],[132,68],[133,69],[134,70],[135,71],[136,72],[137,73],[75,74],[73,75],[72,2],[78,76],[77,2],[79,75],[80,77],[74,78],[76,79],[71,2],[69,80],[70,81],[67,82],[66,83],[64,2],[65,84],[68,85],[47,2],[48,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[22,2],[49,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[1,2],[46,2],[11,2],[10,2],[153,86],[150,86],[154,86],[155,87],[149,86],[151,86],[148,86],[152,86],[50,2],[81,88],[156,89],[157,90],[83,2],[147,91],[84,86],[85,92],[158,2],[165,2]],"exportedModulesMap":[[164,1],[160,2],[163,3],[161,2],[162,2],[146,4],[141,5],[142,6],[144,7],[145,8],[140,9],[143,10],[82,2],[159,11],[52,12],[53,13],[51,14],[54,15],[55,16],[56,17],[57,18],[58,19],[59,20],[60,21],[61,22],[62,23],[63,24],[86,25],[87,25],[89,26],[90,27],[91,28],[92,29],[93,30],[94,31],[95,32],[96,33],[97,34],[98,35],[99,35],[101,36],[100,37],[102,36],[103,38],[104,39],[88,40],[138,2],[105,41],[106,42],[107,43],[139,44],[108,45],[109,46],[110,47],[111,48],[112,49],[113,50],[114,51],[115,52],[116,53],[117,54],[118,54],[119,55],[120,56],[122,57],[121,58],[123,59],[124,60],[125,61],[126,62],[127,63],[128,64],[129,65],[130,66],[131,67],[132,68],[133,69],[134,70],[135,71],[136,72],[137,73],[75,74],[73,75],[72,2],[78,76],[77,2],[79,75],[80,77],[74,78],[76,79],[71,2],[69,80],[70,81],[67,82],[66,83],[64,2],[65,84],[68,85],[47,2],[48,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[22,2],[49,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[1,2],[46,2],[11,2],[10,2],[153,93],[150,93],[154,93],[155,94],[149,93],[151,93],[148,93],[152,93],[147,95],[84,93],[85,96],[158,2],[165,2]],"semanticDiagnosticsPerFile":[164,160,163,161,162,146,141,142,144,145,140,143,82,159,52,53,51,54,55,56,57,58,59,60,61,62,63,86,87,89,90,91,92,93,94,95,96,97,98,99,101,100,102,103,104,88,138,105,106,107,139,108,109,110,111,112,113,114,115,116,117,118,119,120,122,121,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,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,153,150,154,155,149,151,148,152,50,81,156,157,83,147,84,85,158,165],"latestChangedDtsFile":"./templates/project/generate.d.ts"},"version":"5.2.2"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"required": ["category_code","category_name"],
|
|
4
|
-
"properties": {
|
|
5
|
-
"organization_id": {
|
|
6
|
-
"type": "integer",
|
|
7
|
-
"examples": [
|
|
8
|
-
1
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"branch_id": {
|
|
12
|
-
"type": "integer",
|
|
13
|
-
"examples": [
|
|
14
|
-
1
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"category_code": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"format":"field-autocomplete-code",
|
|
20
|
-
"minLength":1,
|
|
21
|
-
"examples": [
|
|
22
|
-
"stk"
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"category_name": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format":"field-autocomplete-name",
|
|
28
|
-
"minLength":1,
|
|
29
|
-
"examples": [
|
|
30
|
-
"stocks"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"description": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"format":"x-text",
|
|
36
|
-
"examples": [
|
|
37
|
-
""
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"isactive": {
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"examples": [
|
|
43
|
-
true
|
|
44
|
-
],
|
|
45
|
-
"default":true
|
|
46
|
-
},
|
|
47
|
-
"category_type": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"enum":["Stock","Charge","Discount","Class"],
|
|
50
|
-
"examples": [
|
|
51
|
-
"SStock"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"required": ["level_code","level_name"],
|
|
4
|
-
"properties": {
|
|
5
|
-
"organization_id": {
|
|
6
|
-
"type": "integer",
|
|
7
|
-
"examples": [
|
|
8
|
-
1
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"branch_id": {
|
|
12
|
-
"type": "integer",
|
|
13
|
-
"examples": [
|
|
14
|
-
1
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"level_code": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"format":"field-autocomplete-code",
|
|
20
|
-
"minLength":1,
|
|
21
|
-
"examples": [
|
|
22
|
-
"stk"
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"level_name": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format":"field-autocomplete-name",
|
|
28
|
-
"minLength":1,
|
|
29
|
-
"examples": [
|
|
30
|
-
"stocks"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"description": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"format":"x-text",
|
|
36
|
-
"examples": [
|
|
37
|
-
""
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"isactive": {
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"examples": [
|
|
43
|
-
true
|
|
44
|
-
],
|
|
45
|
-
"default":true
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|