@simitgroup/simpleapp-generator 1.6.6-p-alpha → 1.6.6-q-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.
- package/dist/buildinschemas/autoincreament.d.ts.map +1 -1
- package/dist/buildinschemas/autoincreament.js +17 -14
- package/dist/buildinschemas/autoincreament.js.map +1 -1
- package/dist/buildinschemas/branch.d.ts.map +1 -1
- package/dist/buildinschemas/branch.js +25 -24
- package/dist/buildinschemas/branch.js.map +1 -1
- package/dist/buildinschemas/changehistories.d.ts.map +1 -1
- package/dist/buildinschemas/changehistories.js +10 -9
- package/dist/buildinschemas/changehistories.js.map +1 -1
- package/dist/buildinschemas/customfield.d.ts.map +1 -1
- package/dist/buildinschemas/customfield.js +14 -24
- package/dist/buildinschemas/customfield.js.map +1 -1
- package/dist/buildinschemas/docnoformat.d.ts.map +1 -1
- package/dist/buildinschemas/docnoformat.js +34 -23
- package/dist/buildinschemas/docnoformat.js.map +1 -1
- package/dist/buildinschemas/documentevent.d.ts.map +1 -1
- package/dist/buildinschemas/documentevent.js +36 -26
- package/dist/buildinschemas/documentevent.js.map +1 -1
- package/dist/buildinschemas/keyvaluepair.d.ts.map +1 -1
- package/dist/buildinschemas/keyvaluepair.js +7 -6
- package/dist/buildinschemas/keyvaluepair.js.map +1 -1
- package/dist/buildinschemas/organization.d.ts.map +1 -1
- package/dist/buildinschemas/organization.js +34 -30
- package/dist/buildinschemas/organization.js.map +1 -1
- package/dist/buildinschemas/permission.d.ts.map +1 -1
- package/dist/buildinschemas/permission.js +16 -7
- package/dist/buildinschemas/permission.js.map +1 -1
- package/dist/buildinschemas/systemmessage.d.ts.map +1 -1
- package/dist/buildinschemas/systemmessage.js +35 -32
- package/dist/buildinschemas/systemmessage.js.map +1 -1
- package/dist/buildinschemas/tenant.d.ts.map +1 -1
- package/dist/buildinschemas/tenant.js +17 -16
- package/dist/buildinschemas/tenant.js.map +1 -1
- package/dist/buildinschemas/user.d.ts.map +1 -1
- package/dist/buildinschemas/user.js +34 -31
- package/dist/buildinschemas/user.js.map +1 -1
- package/dist/buildinschemas/webhook.d.ts.map +1 -1
- package/dist/buildinschemas/webhook.js +24 -23
- package/dist/buildinschemas/webhook.js.map +1 -1
- package/dist/framework.d.ts.map +1 -1
- package/dist/framework.js +2 -4
- package/dist/framework.js.map +1 -1
- package/dist/generate.js +17 -2
- package/dist/generate.js.map +1 -1
- package/dist/processors/jsonschemabuilder.js +14 -12
- package/dist/processors/jsonschemabuilder.js.map +1 -1
- package/dist/type.d.ts +39 -5
- package/dist/type.d.ts.map +1 -1
- package/dist/type.js.map +1 -1
- package/package.json +1 -1
- package/src/buildinschemas/autoincreament.ts +35 -33
- package/src/buildinschemas/branch.ts +47 -47
- package/src/buildinschemas/changehistories.ts +31 -30
- package/src/buildinschemas/customfield.ts +14 -24
- package/src/buildinschemas/docnoformat.ts +54 -43
- package/src/buildinschemas/documentevent.ts +42 -33
- package/src/buildinschemas/keyvaluepair.ts +25 -25
- package/src/buildinschemas/organization.ts +54 -50
- package/src/buildinschemas/permission.ts +34 -25
- package/src/buildinschemas/systemmessage.ts +39 -38
- package/src/buildinschemas/tenant.ts +46 -45
- package/src/buildinschemas/user.ts +64 -60
- package/src/buildinschemas/webhook.ts +62 -61
- package/src/framework.ts +2 -4
- package/src/generate.ts +17 -1
- package/src/processors/jsonschemabuilder.ts +6 -4
- package/src/type.ts +271 -215
- package/templates/basic/miniAppJsSdk/resource-bridge.service.ts.eta +9 -7
- package/templates/basic/miniAppStreamlitSdk/resource-bridge.service.ts.eta +22 -7
- package/templates/basic/nuxt/jsonschema.ts.eta +7 -0
- package/templates/basic/nuxt/resource-bridge.editable.service.ts.eta +40 -0
- package/templates/basic/nuxt/resource-bridge.service.ts.eta +24 -21
- package/templates/basic/nuxt/simpleapp.generate.client.ts.eta +27 -9
- package/templates/miniAppJsSdk/src/services/bridge-resource-accessor.service.ts.eta +2 -2
- package/templates/miniAppStreamlitSdk/simtrain_eco_mini_app_streamlit_sdk/sdk.py.eta +5 -2
- package/templates/nuxt/components/simpleApp/SimpleAppForm.vue.eta +4 -3
- package/templates/nuxt/components/simpleApp/SimpleAppInputTable.vue.eta +0 -1
- package/templates/nuxt/plugins/18.simpleapp-custom-field-store.ts.eta +9 -3
- package/templates/nuxt/plugins/20.simpleapp-userstore.ts.eta +316 -341
- package/templates/nuxt/simpleapp/generate/clients/SimpleAppClient.ts.eta +32 -22
- package/templates/nuxt/simpleapp/generate/jsonSchemas/index.ts.eta +11 -0
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/constants/common.constant.ts.eta +1 -0
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/constants/resource.constant.ts.eta +2 -2
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/services/bridge-resource-accessor.service.ts.eta +4 -4
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/services/bridge.service.ts.eta +20 -1
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/types/bridge.type.ts.eta +9 -0
- package/templates/nuxt/simpleapp/generate/miniApp/bridge/types/resource-mapper.type.ts.eta +2 -2
- package/templates/project/build.sh.eta +0 -5
- package/templates/nest/src/simpleapp/apischemas/customfield.ts.eta +0 -21
- package/templates/nuxt/simpleapp/generate/clients/SimpleAppCustomFieldClient.ts.eta +0 -188
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoincreament.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/autoincreament.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"autoincreament.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/autoincreament.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,cAAc,EAAE,UAiC5B,CAAC"}
|
|
@@ -3,22 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.autoincreament = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.autoincreament = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
documentType: 'autoinc',
|
|
9
9
|
documentName: 'autoincreament',
|
|
10
10
|
isolationType: type_1.IsolationType.none,
|
|
11
|
-
pageType:
|
|
12
|
-
additionalApis: [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
pageType: 'crud',
|
|
12
|
+
additionalApis: [
|
|
13
|
+
{
|
|
14
|
+
action: 'generateNextNo',
|
|
15
|
+
entryPoint: 'gennextno/:collection/:field',
|
|
16
|
+
requiredRole: ['User'],
|
|
16
17
|
method: type_1.RESTMethods.get,
|
|
17
|
-
responseType:
|
|
18
|
-
description:
|
|
19
|
-
}
|
|
18
|
+
responseType: 'Autoincreament',
|
|
19
|
+
description: 'Get next no and trigger increase nextno'
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
resourceName: 'autoIncreament'
|
|
20
23
|
},
|
|
21
|
-
required: [
|
|
24
|
+
required: ['nextNo', 'collectionName', 'fieldName'],
|
|
22
25
|
properties: {
|
|
23
26
|
_id: { type: 'string' },
|
|
24
27
|
created: { type: 'string' },
|
|
@@ -28,9 +31,9 @@ exports.autoincreament = {
|
|
|
28
31
|
tenantId: { type: 'integer', default: 1, minimum: 0 },
|
|
29
32
|
orgId: { type: 'integer', default: 1, minimum: 0 },
|
|
30
33
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
31
|
-
collectionName: { type:
|
|
32
|
-
fieldName: { type:
|
|
33
|
-
nextNo: { type:
|
|
34
|
+
collectionName: { type: 'string', minLength: 1 },
|
|
35
|
+
fieldName: { type: 'string', minLength: 1 },
|
|
36
|
+
nextNo: { type: 'integer', minimum: 1 }
|
|
34
37
|
}
|
|
35
38
|
};
|
|
36
39
|
//# sourceMappingURL=autoincreament.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoincreament.js","sourceRoot":"","sources":["../../src/buildinschemas/autoincreament.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"autoincreament.js","sourceRoot":"","sources":["../../src/buildinschemas/autoincreament.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,cAAc,GAAe;IACxC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,SAAS;QACvB,YAAY,EAAE,gBAAgB;QAC9B,aAAa,EAAE,oBAAa,CAAC,IAAI;QACjC,QAAQ,EAAE,MAAM;QAChB,cAAc,EAAE;YACd;gBACE,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,8BAA8B;gBAC1C,YAAY,EAAE,CAAC,MAAM,CAAC;gBACtB,MAAM,EAAE,kBAAW,CAAC,GAAG;gBACvB,YAAY,EAAE,gBAAgB;gBAC9B,WAAW,EAAE,yCAAyC;aACvD;SACF;QACD,YAAY,EAAE,gBAAgB;KAC/B;IACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,gBAAgB,EAAE,WAAW,CAAC;IACnD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAChD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC3C,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;KACxC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/branch.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/branch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,UA8CpB,CAAC"}
|
|
@@ -3,19 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.branch = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.branch = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
isolationType: type_1.IsolationType.org,
|
|
9
9
|
documentType: 'branch',
|
|
10
10
|
documentName: 'branch',
|
|
11
|
-
// pageType:"crud",
|
|
11
|
+
// pageType:"crud",
|
|
12
12
|
uniqueKey: 'branchCode',
|
|
13
13
|
uniqueKeys: [['branchId']],
|
|
14
14
|
documentTitle: 'branchName',
|
|
15
|
-
additionalAutoCompleteFields: ['branchId']
|
|
15
|
+
additionalAutoCompleteFields: ['branchId'],
|
|
16
|
+
resourceName: 'branch'
|
|
16
17
|
},
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
required: ['branchCode', 'branchName', 'organization'],
|
|
19
|
+
properties: {
|
|
19
20
|
_id: { type: 'string' },
|
|
20
21
|
created: { type: 'string' },
|
|
21
22
|
updated: { type: 'string' },
|
|
@@ -25,27 +26,27 @@ exports.branch = {
|
|
|
25
26
|
orgId: { type: 'integer', default: 1, minimum: 1 },
|
|
26
27
|
branchId: { type: 'integer', default: 1, minimum: 1 },
|
|
27
28
|
organization: {
|
|
28
|
-
type:
|
|
29
|
-
|
|
29
|
+
type: 'object',
|
|
30
|
+
'x-foreignkey': 'organization',
|
|
30
31
|
properties: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_id: { type: 'string' },
|
|
33
|
+
code: { type: 'string' },
|
|
34
|
+
label: { type: 'string' },
|
|
35
|
+
orgId: { type: 'integer' }
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
|
-
branchCode: { type:
|
|
38
|
-
branchName: { type:
|
|
39
|
-
street1: { type:
|
|
40
|
-
street2: { type:
|
|
41
|
-
city: { type:
|
|
42
|
-
region: { type:
|
|
43
|
-
postcode: { type:
|
|
44
|
-
country: { type:
|
|
45
|
-
tel: { type:
|
|
46
|
-
email: { type:
|
|
47
|
-
active: { type:
|
|
48
|
-
description: { type:
|
|
38
|
+
branchCode: { type: 'string', minLength: 1 },
|
|
39
|
+
branchName: { type: 'string', minLength: 1 },
|
|
40
|
+
street1: { type: 'string' },
|
|
41
|
+
street2: { type: 'string' },
|
|
42
|
+
city: { type: 'string' },
|
|
43
|
+
region: { type: 'string' },
|
|
44
|
+
postcode: { type: 'string' },
|
|
45
|
+
country: { type: 'string' },
|
|
46
|
+
tel: { type: 'string' },
|
|
47
|
+
email: { type: 'string' },
|
|
48
|
+
active: { type: 'boolean', default: true },
|
|
49
|
+
description: { type: 'string' }
|
|
49
50
|
}
|
|
50
51
|
};
|
|
51
52
|
//# sourceMappingURL=branch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../../src/buildinschemas/branch.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../../src/buildinschemas/branch.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,MAAM,GAAe;IAChC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,YAAY,EAAE,QAAQ;QACtB,YAAY,EAAE,QAAQ;QACtB,mBAAmB;QACnB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;QAC1B,aAAa,EAAE,YAAY;QAC3B,4BAA4B,EAAE,CAAC,UAAU,CAAC;QAC1C,YAAY,EAAE,QAAQ;KACvB;IACD,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC;IACtD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,cAAc;YAC9B,UAAU,EAAE;gBACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACvB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACxB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC3B;SACF;QACD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC5C,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC5C,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC5B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE;QAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAChC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changehistories.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/changehistories.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"changehistories.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/changehistories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,UA+BxB,CAAC"}
|
|
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.permission = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.permission = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
documentType: 'hist',
|
|
9
9
|
documentName: 'histories',
|
|
10
|
-
isolationType: type_1.IsolationType.tenant
|
|
10
|
+
isolationType: type_1.IsolationType.tenant,
|
|
11
|
+
resourceName: 'changeHistories'
|
|
11
12
|
},
|
|
12
|
-
required: [
|
|
13
|
+
required: ['document'],
|
|
13
14
|
properties: {
|
|
14
15
|
_id: { type: 'string' },
|
|
15
16
|
created: { type: 'string' },
|
|
@@ -21,13 +22,13 @@ exports.permission = {
|
|
|
21
22
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
22
23
|
document: { type: 'string', minLength: 3 },
|
|
23
24
|
histories: {
|
|
24
|
-
type:
|
|
25
|
+
type: 'array',
|
|
25
26
|
items: {
|
|
26
|
-
type:
|
|
27
|
+
type: 'object',
|
|
27
28
|
properties: {
|
|
28
|
-
datetime: { type:
|
|
29
|
-
uid: { type:
|
|
30
|
-
action: { type:
|
|
29
|
+
datetime: { type: 'string', format: 'datetime' },
|
|
30
|
+
uid: { type: 'string', format: 'uuid' },
|
|
31
|
+
action: { type: 'string', minLength: 3 }
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changehistories.js","sourceRoot":"","sources":["../../src/buildinschemas/changehistories.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"changehistories.js","sourceRoot":"","sources":["../../src/buildinschemas/changehistories.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,UAAU,GAAe;IACpC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,MAAM;QACpB,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,YAAY,EAAE,iBAAiB;KAChC;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC1C,SAAS,EAAE;YACT,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE;oBAChD,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;oBACvC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;iBACzC;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customfield.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/customfield.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"customfield.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/customfield.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,WAAW,EAAE,UA6CzB,CAAC"}
|
|
@@ -11,16 +11,7 @@ exports.customfield = {
|
|
|
11
11
|
uniqueKey: 'collectionName',
|
|
12
12
|
documentTitle: 'collectionName',
|
|
13
13
|
pageType: 'pageType',
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
action: 'getCompleteCustomFieldResources',
|
|
17
|
-
entryPoint: 'complete-custom-field-resources',
|
|
18
|
-
requiredRole: ['Customfield_search'],
|
|
19
|
-
responseType: '[CompleteCustomFieldResource]',
|
|
20
|
-
method: type_1.RESTMethods.get,
|
|
21
|
-
description: 'Get complete custom field resources'
|
|
22
|
-
}
|
|
23
|
-
]
|
|
14
|
+
resourceName: 'customField'
|
|
24
15
|
},
|
|
25
16
|
properties: {
|
|
26
17
|
_id: { type: 'string' },
|
|
@@ -38,21 +29,20 @@ exports.customfield = {
|
|
|
38
29
|
form: {
|
|
39
30
|
type: 'object',
|
|
40
31
|
properties: {
|
|
41
|
-
|
|
32
|
+
jsonSchema: {
|
|
42
33
|
type: 'object',
|
|
43
|
-
properties: {}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
]
|
|
34
|
+
properties: {}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
list: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
properties: {
|
|
41
|
+
fields: {
|
|
42
|
+
type: 'array',
|
|
43
|
+
items: {
|
|
44
|
+
type: 'string'
|
|
45
|
+
}
|
|
56
46
|
}
|
|
57
47
|
}
|
|
58
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customfield.js","sourceRoot":"","sources":["../../src/buildinschemas/customfield.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,WAAW,GAAe;IACrC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,aAAa;QAC3B,YAAY,EAAE,aAAa;QAC3B,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,gBAAgB;QAC/B,QAAQ,EAAE,UAAU;QACpB,
|
|
1
|
+
{"version":3,"file":"customfield.js","sourceRoot":"","sources":["../../src/buildinschemas/customfield.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,WAAW,GAAe;IACrC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,aAAa;QAC3B,YAAY,EAAE,aAAa;QAC3B,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,gBAAgB;QAC/B,QAAQ,EAAE,UAAU;QACpB,YAAY,EAAE,aAAa;KAC5B;IACD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACzC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACtC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACzC,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;qBACf;iBACF;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docnoformat.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/docnoformat.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"docnoformat.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/docnoformat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,WAAW,EAAE,UAoDzB,CAAC"}
|
|
@@ -3,23 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.docnoformat = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.docnoformat = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
isolationType: type_1.IsolationType.org,
|
|
9
9
|
documentType: 'docno',
|
|
10
10
|
documentName: 'docnoformat',
|
|
11
|
-
pageType:
|
|
11
|
+
pageType: 'crud',
|
|
12
12
|
uniqueKey: 'docNoFormatNo',
|
|
13
13
|
documentTitle: 'docNoFormatName',
|
|
14
14
|
additionalAutoCompleteFields: ['default'],
|
|
15
|
-
additionalApis: [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
additionalApis: [
|
|
16
|
+
{
|
|
17
|
+
action: 'listDocFormats',
|
|
18
|
+
entryPoint: '/listdocformats/:doctype',
|
|
19
|
+
requiredRole: ['User'],
|
|
20
|
+
responseType: '[Docnoformat]',
|
|
21
|
+
method: type_1.RESTMethods.get,
|
|
22
|
+
description: 'get list of document format for 1 doctype'
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
resourceName: 'documentNoFormat'
|
|
23
26
|
},
|
|
24
27
|
properties: {
|
|
25
28
|
_id: { type: 'string' },
|
|
@@ -30,18 +33,26 @@ exports.docnoformat = {
|
|
|
30
33
|
tenantId: { type: 'integer', default: 1, minimum: 1 },
|
|
31
34
|
orgId: { type: 'integer', default: 1, minimum: 1 },
|
|
32
35
|
branchId: { type: 'integer', default: 1, minimum: 1 },
|
|
33
|
-
branch: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
branch: {
|
|
37
|
+
type: 'object',
|
|
38
|
+
'x-foreignkey': 'branch',
|
|
39
|
+
properties: {
|
|
40
|
+
_id: { type: 'string' },
|
|
41
|
+
label: { type: 'string' },
|
|
42
|
+
branchId: { type: 'integer' }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
docNoFormatNo: { type: 'string', examples: ['INV'] },
|
|
46
|
+
docNoFormatName: { type: 'string', examples: ['Invoice Default Format'] },
|
|
47
|
+
active: { type: 'boolean', examples: [true], default: true },
|
|
48
|
+
default: { type: 'boolean', examples: [true], default: true },
|
|
49
|
+
docNoType: { type: 'string', examples: ['SI', 'PI'] },
|
|
50
|
+
docNoPattern: {
|
|
51
|
+
type: 'string',
|
|
52
|
+
examples: ['SI{YYMM}-<000>', 'PI-2023-<0000>'],
|
|
53
|
+
description: '{date} format as ISO8601 symbol'
|
|
54
|
+
},
|
|
55
|
+
nextNumber: { type: 'integer', default: 1 }
|
|
45
56
|
}
|
|
46
57
|
};
|
|
47
58
|
//# sourceMappingURL=docnoformat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docnoformat.js","sourceRoot":"","sources":["../../src/buildinschemas/docnoformat.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"docnoformat.js","sourceRoot":"","sources":["../../src/buildinschemas/docnoformat.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,WAAW,GAAe;IACrC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,YAAY,EAAE,OAAO;QACrB,YAAY,EAAE,aAAa;QAC3B,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,iBAAiB;QAChC,4BAA4B,EAAE,CAAC,SAAS,CAAC;QACzC,cAAc,EAAE;YACd;gBACE,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,0BAA0B;gBACtC,YAAY,EAAE,CAAC,MAAM,CAAC;gBACtB,YAAY,EAAE,eAAe;gBAC7B,MAAM,EAAE,kBAAW,CAAC,GAAG;gBACvB,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,YAAY,EAAE,kBAAkB;KACjC;IACD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE;gBACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACvB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC9B;SACF;QACD,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE;QACpD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,wBAAwB,CAAC,EAAE;QACzE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE;QAC5D,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE;QAC7D,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;QACrD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;YAC9C,WAAW,EAAE,iCAAiC;SAC/C;QACD,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;KAC5C;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentevent.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/documentevent.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"documentevent.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/documentevent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,UA0C3B,CAAC"}
|
|
@@ -3,36 +3,46 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.documentevent = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.documentevent = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
|
+
documentType: 'docevent',
|
|
9
|
+
documentName: 'documentevent',
|
|
10
|
+
isolationType: type_1.IsolationType.org,
|
|
11
|
+
resourceName: 'documentEvent'
|
|
11
12
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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 },
|
|
20
|
+
orgId: { type: 'integer', default: 1 },
|
|
21
|
+
branchId: { type: 'integer', default: 1 },
|
|
22
|
+
documentName: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
minLength: 2
|
|
24
25
|
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
documentId: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
minLength: 3,
|
|
29
|
+
format: 'uuid'
|
|
29
30
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
eventType: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
enum: [
|
|
34
|
+
'create',
|
|
35
|
+
'update',
|
|
36
|
+
'delete',
|
|
37
|
+
'read',
|
|
38
|
+
'print',
|
|
39
|
+
'void',
|
|
40
|
+
'confirm',
|
|
41
|
+
'draft'
|
|
42
|
+
],
|
|
43
|
+
examples: ['create', 'delete']
|
|
34
44
|
},
|
|
35
|
-
|
|
45
|
+
eventdata: {}
|
|
36
46
|
}
|
|
37
47
|
};
|
|
38
48
|
//# sourceMappingURL=documentevent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentevent.js","sourceRoot":"","sources":["../../src/buildinschemas/documentevent.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"documentevent.js","sourceRoot":"","sources":["../../src/buildinschemas/documentevent.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,aAAa,GAAe;IACvC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,UAAU;QACxB,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,YAAY,EAAE,eAAe;KAC9B;IACD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACzC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACtC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACzC,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,MAAM;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,QAAQ;gBACR,QAAQ;gBACR,QAAQ;gBACR,MAAM;gBACN,OAAO;gBACP,MAAM;gBACN,SAAS;gBACT,OAAO;aACR;YACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;SAC/B;QACD,SAAS,EAAE,EAAE;KACd;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyvaluepair.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/keyvaluepair.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"keyvaluepair.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/keyvaluepair.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,YAAY,EAAE,UAuB1B,CAAC"}
|
|
@@ -3,15 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.keyvaluepair = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.keyvaluepair = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
documentType: 'kvpair',
|
|
9
9
|
documentName: 'keyvaluepair',
|
|
10
10
|
isolationType: type_1.IsolationType.org,
|
|
11
11
|
uniqueKey: 'key',
|
|
12
|
-
pageType:
|
|
12
|
+
pageType: 'crud',
|
|
13
|
+
resourceName: 'keyValuePair'
|
|
13
14
|
},
|
|
14
|
-
required: [
|
|
15
|
+
required: ['key', 'value'],
|
|
15
16
|
properties: {
|
|
16
17
|
_id: { type: 'string' },
|
|
17
18
|
created: { type: 'string' },
|
|
@@ -21,8 +22,8 @@ exports.keyvaluepair = {
|
|
|
21
22
|
tenantId: { type: 'integer', default: 1, minimum: 0 },
|
|
22
23
|
orgId: { type: 'integer', default: 1, minimum: 0 },
|
|
23
24
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
24
|
-
key: { type:
|
|
25
|
-
value: { type:
|
|
25
|
+
key: { type: 'string', minLength: 3 },
|
|
26
|
+
value: { type: 'string', minLength: 10 }
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=keyvaluepair.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyvaluepair.js","sourceRoot":"","sources":["../../src/buildinschemas/keyvaluepair.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"keyvaluepair.js","sourceRoot":"","sources":["../../src/buildinschemas/keyvaluepair.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,YAAY,GAAe;IACtC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,QAAQ;QACtB,YAAY,EAAE,cAAc;QAC5B,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,MAAM;QAChB,YAAY,EAAE,cAAc;KAC7B;IACD,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACrD,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QACrC,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;KACzC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/organization.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,YAAY,EAAE,UAoD1B,CAAC"}
|