@simitgroup/simpleapp-generator 1.6.6-p-alpha → 1.6.6-r-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/ReleaseNote.md +3 -0
- 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/index.d.ts +1 -0
- package/dist/buildinschemas/index.d.ts.map +1 -1
- package/dist/buildinschemas/index.js +3 -1
- package/dist/buildinschemas/index.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/message.d.ts +3 -0
- package/dist/buildinschemas/message.d.ts.map +1 -0
- package/dist/buildinschemas/message.js +34 -0
- package/dist/buildinschemas/message.js.map +1 -0
- 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 +123 -51
- package/dist/buildinschemas/webhook.js.map +1 -1
- package/dist/buildinschemas/webhookhistory.d.ts +3 -0
- package/dist/buildinschemas/webhookhistory.d.ts.map +1 -0
- package/dist/buildinschemas/webhookhistory.js +44 -0
- package/dist/buildinschemas/webhookhistory.js.map +1 -0
- package/dist/buildinschemas/webhooklog.d.ts +3 -0
- package/dist/buildinschemas/webhooklog.d.ts.map +1 -0
- package/dist/buildinschemas/webhooklog.js +77 -0
- package/dist/buildinschemas/webhooklog.js.map +1 -0
- package/dist/createproject.js +138 -0
- package/dist/createproject.js.map +1 -0
- package/dist/framework.d.ts.map +1 -1
- package/dist/framework.js +5 -7
- 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.js +19 -4
- package/dist/generate.js.map +1 -1
- package/dist/index2.js +118 -0
- package/dist/index2.js.map +1 -0
- package/dist/installdependency.js +20 -0
- package/dist/installdependency.js.map +1 -0
- package/dist/installnest.js +2 -0
- package/dist/installnest.js.map +1 -0
- package/dist/installnuxt.js +2 -0
- package/dist/installnuxt.js.map +1 -0
- package/dist/processors/groupsbuilder.js +2 -0
- package/dist/processors/groupsbuilder.js.map +1 -0
- package/dist/processors/jsonschemabuilder.js +14 -12
- 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/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/index.ts +1 -0
- 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 +131 -59
- package/src/buildinschemas/webhooklog.ts +75 -0
- package/src/framework.ts +6 -8
- package/src/generate.ts +19 -3
- 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/nest/src/simpleapp/generate/commons/middlewares/tenant.middleware.ts.eta +4 -2
- package/templates/nest/src/simpleapp/generate/commons/runwebhook.service.ts.eta +143 -168
- package/templates/nest/src/simpleapp/generate/commons/user.context.ts.eta +22 -13
- package/templates/nest/src/simpleapp/generate/processors/simpleapp.processor.ts.eta +22 -16
- package/templates/nest/src/simpleapp/webhooks/branch.ts._eta +37 -0
- package/templates/nest/src/simpleapp/webhooks/index.ts._eta +21 -0
- 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/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
- /package/templates/nest/src/simpleapp/generate/processors/{webhook.processor.ts.eta → webhook.processor.ts.etaxxxx} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.docnoformat = void 0;
|
|
4
|
+
const type_1 = require("../type");
|
|
5
|
+
exports.docnoformat = {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"x-simpleapp-config": {
|
|
8
|
+
"documentType": "msg",
|
|
9
|
+
"documentName": "message",
|
|
10
|
+
"isolationType": type_1.IsolationType.tenant,
|
|
11
|
+
"documentTitle": "messageTitle"
|
|
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 },
|
|
20
|
+
"orgId": { "type": "integer", "default": 1 },
|
|
21
|
+
"branchId": { "type": "integer", "default": 1 },
|
|
22
|
+
"messageTitle": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 3
|
|
25
|
+
},
|
|
26
|
+
"read": { "type": "boolean", "default": false },
|
|
27
|
+
"url": { "type": "string" },
|
|
28
|
+
"description": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "text"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.js","sourceRoot":"","sources":["../../src/buildinschemas/message.ts"],"names":[],"mappings":";;;AAAA,kCAA4D;AAE/C,QAAA,WAAW,GACxB;IACI,MAAM,EAAE,QAAQ;IAChB,oBAAoB,EAAE;QACpB,cAAc,EAAE,KAAK;QACrB,cAAc,EAAE,SAAS;QACzB,eAAe,EAAE,oBAAa,CAAC,MAAM;QACrC,eAAe,EAAE,cAAc;KAChC;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;QAC3B,SAAS,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;QAC/B,SAAS,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;QAC/B,WAAW,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;QACjC,WAAW,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;QACjC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE;QAC5C,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE;QAC/C,cAAc,EAAE;YACd,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAC;QAC9C,KAAK,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAC;QACzB,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,MAAM;SACjB;KACF;CACF,CAAA"}
|
|
@@ -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"}
|
|
@@ -3,35 +3,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.organization = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.organization = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
isolationType: type_1.IsolationType.tenant,
|
|
9
9
|
documentType: 'org',
|
|
10
10
|
documentName: 'organization',
|
|
11
|
-
pageType:
|
|
11
|
+
pageType: 'crud',
|
|
12
12
|
uniqueKey: 'orgCode',
|
|
13
13
|
uniqueKeys: [['orgId']],
|
|
14
14
|
documentTitle: 'orgName',
|
|
15
15
|
additionalAutoCompleteFields: ['orgId'],
|
|
16
|
-
additionalApis: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
additionalApis: [
|
|
17
|
+
{
|
|
18
|
+
action: 'getlogo',
|
|
19
|
+
entryPoint: 'logo',
|
|
20
|
+
requiredRole: ['User'],
|
|
21
|
+
method: type_1.RESTMethods.get,
|
|
22
|
+
responseType: 'String',
|
|
23
|
+
description: 'obtain avatar base64 jpg image'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
action: 'uploadlogo',
|
|
27
|
+
entryPoint: 'logo',
|
|
28
|
+
requiredRole: ['Admin'],
|
|
29
|
+
method: type_1.RESTMethods.post,
|
|
30
|
+
schema: 'KeyValue',
|
|
31
|
+
responseType: 'String',
|
|
32
|
+
description: 'post avatar in base64 jpg image'
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
resourceName: 'organization'
|
|
32
36
|
},
|
|
33
|
-
required: [
|
|
34
|
-
|
|
37
|
+
required: ['orgId', 'orgCode', 'orgName'],
|
|
38
|
+
properties: {
|
|
35
39
|
_id: { type: 'string' },
|
|
36
40
|
created: { type: 'string' },
|
|
37
41
|
updated: { type: 'string' },
|
|
@@ -40,15 +44,15 @@ exports.organization = {
|
|
|
40
44
|
tenantId: { type: 'integer', default: 1, minimum: 1 },
|
|
41
45
|
orgId: { type: 'integer', default: 1, minimum: 1 },
|
|
42
46
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
43
|
-
orgCode: {
|
|
44
|
-
orgName: { type:
|
|
45
|
-
registrationNo: { type:
|
|
46
|
-
active: { type:
|
|
47
|
-
description: { type:
|
|
48
|
-
timeZone: {
|
|
49
|
-
offsetMinute: {
|
|
50
|
-
currency: {
|
|
51
|
-
country: {
|
|
47
|
+
orgCode: { type: 'string', minLength: 1 },
|
|
48
|
+
orgName: { type: 'string' },
|
|
49
|
+
registrationNo: { type: 'string' },
|
|
50
|
+
active: { type: 'boolean', default: true },
|
|
51
|
+
description: { type: 'string', format: 'text' },
|
|
52
|
+
timeZone: { type: 'string', examples: ['Asia/Kuala_Lumpur'] },
|
|
53
|
+
offsetMinute: { type: 'number', default: 0 },
|
|
54
|
+
currency: { type: 'string', minimum: 3, maximum: 3 },
|
|
55
|
+
country: { type: 'string', minimum: 2, maximum: 2 }
|
|
52
56
|
}
|
|
53
57
|
};
|
|
54
58
|
//# sourceMappingURL=organization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/buildinschemas/organization.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/buildinschemas/organization.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,YAAY,GAAe;IACtC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,YAAY,EAAE,KAAK;QACnB,YAAY,EAAE,cAAc;QAC5B,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,SAAS;QACpB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;QACvB,aAAa,EAAE,SAAS;QACxB,4BAA4B,EAAE,CAAC,OAAO,CAAC;QACvC,cAAc,EAAE;YACd;gBACE,MAAM,EAAE,SAAS;gBACjB,UAAU,EAAE,MAAM;gBAClB,Y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,IAAI,EAAE;QAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;QAC/C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,mBAAmB,CAAC,EAAE;QAC7D,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;QAC5C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QACpD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;KACpD;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/permission.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,UAiCxB,CAAC"}
|
|
@@ -3,11 +3,12 @@ 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: 'perm',
|
|
9
9
|
documentName: 'permission',
|
|
10
|
-
isolationType: type_1.IsolationType.org
|
|
10
|
+
isolationType: type_1.IsolationType.org,
|
|
11
|
+
resourceName: 'permission'
|
|
11
12
|
},
|
|
12
13
|
properties: {
|
|
13
14
|
_id: { type: 'string' },
|
|
@@ -19,12 +20,20 @@ exports.permission = {
|
|
|
19
20
|
orgId: { type: 'integer', default: 1, minimum: 0 },
|
|
20
21
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
21
22
|
groups: {
|
|
22
|
-
type:
|
|
23
|
+
type: 'array',
|
|
23
24
|
minItems: 1,
|
|
24
|
-
items: { type:
|
|
25
|
+
items: { type: 'string' }
|
|
25
26
|
},
|
|
26
|
-
uid: {
|
|
27
|
-
|
|
27
|
+
uid: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
description: 'sso unique identity, which is keycloak sub'
|
|
30
|
+
},
|
|
31
|
+
userId: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
'x-foreignkey': 'user',
|
|
34
|
+
format: 'uuid',
|
|
35
|
+
description: 'primary key from user'
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
};
|
|
30
39
|
//# sourceMappingURL=permission.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../src/buildinschemas/permission.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../src/buildinschemas/permission.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,UAAU,GAAe;IACpC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,MAAM;QACpB,YAAY,EAAE,YAAY;QAC1B,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,YAAY,EAAE,YAAY;KAC3B;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,OAAO;YACb,QAAQ,EAAE,CAAC;YACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC1B;QACD,GAAG,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;SAC1D;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,MAAM;YACtB,MAAM,EAAE,MAAM;YACd,WAAW,EAAE,uBAAuB;SACrC;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemmessage.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/systemmessage.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"systemmessage.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/systemmessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,UAwC3B,CAAC"}
|
|
@@ -3,40 +3,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.systemmessage = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.systemmessage = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
additionalApis: [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
|
+
documentType: 'sysmsg',
|
|
9
|
+
documentName: 'systemmessage',
|
|
10
|
+
isolationType: type_1.IsolationType.tenant,
|
|
11
|
+
documentTitle: 'messageTitle',
|
|
12
|
+
additionalApis: [
|
|
13
|
+
{
|
|
14
|
+
action: 'readmsg',
|
|
15
|
+
entryPoint: ':id/read',
|
|
16
|
+
requiredRole: ['User'],
|
|
17
|
+
responseType: 'Systemmessage',
|
|
18
|
+
method: type_1.RESTMethods.get,
|
|
19
|
+
description: 'get message content and mark read'
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
resourceName: 'systemMessage'
|
|
20
23
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
properties: {
|
|
25
|
+
_id: { type: 'string', format: 'uuid' },
|
|
26
|
+
created: { type: 'string' },
|
|
27
|
+
updated: { type: 'string' },
|
|
28
|
+
createdBy: { type: 'string' },
|
|
29
|
+
updatedBy: { type: 'string' },
|
|
30
|
+
tenantId: { type: 'integer', default: 1 },
|
|
31
|
+
orgId: { type: 'integer', default: 1 },
|
|
32
|
+
branchId: { type: 'integer', default: 1 },
|
|
33
|
+
uid: { type: 'string', format: 'uuid' },
|
|
34
|
+
messageType: { type: 'string', minLength: 3 },
|
|
35
|
+
messageTitle: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
minLength: 3
|
|
35
38
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
read: { type: 'boolean', default: false },
|
|
40
|
+
body: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
format: 'html'
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemmessage.js","sourceRoot":"","sources":["../../src/buildinschemas/systemmessage.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"systemmessage.js","sourceRoot":"","sources":["../../src/buildinschemas/systemmessage.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,aAAa,GAAe;IACvC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,QAAQ;QACtB,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,aAAa,EAAE,cAAc;QAC7B,cAAc,EAAE;YACd;gBACE,MAAM,EAAE,SAAS;gBACjB,UAAU,EAAE,UAAU;gBACtB,YAAY,EAAE,CAAC,MAAM,CAAC;gBACtB,YAAY,EAAE,eAAe;gBAC7B,MAAM,EAAE,kBAAW,CAAC,GAAG;gBACvB,WAAW,EAAE,mCAAmC;aACjD;SACF;QACD,YAAY,EAAE,eAAe;KAC9B;IACD,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;QACvC,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,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;QACvC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC7C,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;QACD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;QACzC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,MAAM;SACf;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,UA6CpB,CAAC"}
|
|
@@ -3,17 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.tenant = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.tenant = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
isolationType: type_1.IsolationType.none,
|
|
9
|
-
requiredRoles: [
|
|
9
|
+
requiredRoles: ['SuperAdmin'],
|
|
10
10
|
pageType: 'crud',
|
|
11
11
|
uniqueKey: 'tenantId',
|
|
12
12
|
documentTitle: 'tenantName',
|
|
13
13
|
documentName: 'tenant',
|
|
14
14
|
documentType: 'tenant',
|
|
15
|
+
resourceName: 'tenant'
|
|
15
16
|
},
|
|
16
|
-
required: [
|
|
17
|
+
required: ['tenantId', 'tenantName', 'owner'],
|
|
17
18
|
properties: {
|
|
18
19
|
_id: { type: 'string' },
|
|
19
20
|
created: { type: 'string' },
|
|
@@ -23,26 +24,26 @@ exports.tenant = {
|
|
|
23
24
|
tenantId: { type: 'integer', default: 1, minimum: 0 },
|
|
24
25
|
orgId: { type: 'integer', default: 1, minimum: 0 },
|
|
25
26
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
26
|
-
tenantName: { type:
|
|
27
|
-
active: {
|
|
28
|
-
businessType: { type:
|
|
27
|
+
tenantName: { type: 'string', minLength: 3 },
|
|
28
|
+
active: { type: 'boolean', examples: [true], default: true },
|
|
29
|
+
businessType: { type: 'string' },
|
|
29
30
|
clientSetting: {
|
|
30
|
-
type:
|
|
31
|
+
type: 'object',
|
|
31
32
|
properties: {
|
|
32
|
-
auditTrail: { type:
|
|
33
|
-
webhook: { type:
|
|
34
|
-
support: { type:
|
|
33
|
+
auditTrail: { type: 'boolean', default: false },
|
|
34
|
+
webhook: { type: 'boolean', default: false },
|
|
35
|
+
support: { type: 'boolean', default: false }
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
|
-
description: {
|
|
38
|
+
description: { type: 'string' },
|
|
38
39
|
owner: {
|
|
39
|
-
type:
|
|
40
|
-
|
|
41
|
-
required: [
|
|
40
|
+
type: 'object',
|
|
41
|
+
'x-foreignkey': 'user',
|
|
42
|
+
required: ['_id', 'label', 'uid'],
|
|
42
43
|
properties: {
|
|
43
44
|
_id: { type: 'string' },
|
|
44
45
|
label: { type: 'string' },
|
|
45
|
-
uid: { type: 'string' }
|
|
46
|
+
uid: { type: 'string' }
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../src/buildinschemas/tenant.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"tenant.js","sourceRoot":"","sources":["../../src/buildinschemas/tenant.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,MAAM,GAAe;IAChC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,aAAa,EAAE,oBAAa,CAAC,IAAI;QACjC,aAAa,EAAE,CAAC,YAAY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C,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;aAC7C;SACF;QACD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,MAAM;YACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC;YACjC,UAAU,EAAE;gBACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACvB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aACxB;SACF;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/user.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,IAAI,EAAE,UAgElB,CAAC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.user = void 0;
|
|
4
4
|
const type_1 = require("../type");
|
|
5
5
|
exports.user = {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: 'object',
|
|
7
|
+
'x-simpleapp-config': {
|
|
8
8
|
documentType: 'user',
|
|
9
9
|
documentName: 'user',
|
|
10
10
|
pageType: 'crud',
|
|
@@ -12,24 +12,27 @@ exports.user = {
|
|
|
12
12
|
isolationType: type_1.IsolationType.tenant,
|
|
13
13
|
uniqueKey: 'email',
|
|
14
14
|
documentTitle: 'fullname',
|
|
15
|
-
requiredRoles: [
|
|
15
|
+
requiredRoles: ['SuperUser'],
|
|
16
16
|
additionalAutoCompleteFields: ['uid'],
|
|
17
17
|
additionalApis: [
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
{
|
|
19
|
+
action: 'getPermission',
|
|
20
|
+
entryPoint: ':id/permission',
|
|
21
|
+
requiredRole: [],
|
|
22
|
+
method: type_1.RESTMethods.get,
|
|
23
|
+
responseType: '[UserPermission]',
|
|
24
|
+
description: 'Get user permissoin'
|
|
24
25
|
},
|
|
25
|
-
{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
{
|
|
27
|
+
action: 'updatePermission',
|
|
28
|
+
entryPoint: ':id/permission',
|
|
29
|
+
requiredRole: [],
|
|
30
|
+
method: type_1.RESTMethods.put,
|
|
31
|
+
schema: '[UserPermission]',
|
|
32
|
+
description: 'set user permissoin'
|
|
31
33
|
}
|
|
32
|
-
]
|
|
34
|
+
],
|
|
35
|
+
resourceName: 'user'
|
|
33
36
|
},
|
|
34
37
|
properties: {
|
|
35
38
|
_id: { type: 'string' },
|
|
@@ -41,25 +44,25 @@ exports.user = {
|
|
|
41
44
|
orgId: { type: 'integer', default: 1, minimum: 0 },
|
|
42
45
|
branchId: { type: 'integer', default: 1, minimum: 0 },
|
|
43
46
|
uid: {
|
|
44
|
-
type:
|
|
45
|
-
oneOf: [{
|
|
46
|
-
description:
|
|
47
|
+
type: 'string',
|
|
48
|
+
oneOf: [{ format: 'uuid' }, { const: '' }],
|
|
49
|
+
description: 'sso unique id, such as keycloak sub id, empty during invitation'
|
|
47
50
|
},
|
|
48
|
-
fullName: { type:
|
|
49
|
-
email: { type:
|
|
51
|
+
fullName: { type: 'string', minLength: 3 },
|
|
52
|
+
email: { type: 'string', minLength: 10, format: 'email' },
|
|
50
53
|
mobileNo: {
|
|
51
|
-
type:
|
|
52
|
-
anyOf: [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
type: 'string',
|
|
55
|
+
anyOf: [{ const: '' }, { format: 'tel', examples: ['0123456789'] }]
|
|
56
|
+
},
|
|
57
|
+
active: { type: 'boolean', default: true },
|
|
58
|
+
description: { type: 'string' },
|
|
59
|
+
lastActivity: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: 'capture ISO8601 last api call'
|
|
56
62
|
},
|
|
57
|
-
active: { type: "boolean", default: true },
|
|
58
|
-
description: { type: "string" },
|
|
59
|
-
lastActivity: { type: "string", description: "capture ISO8601 last api call" },
|
|
60
63
|
completedTours: {
|
|
61
|
-
type:
|
|
62
|
-
items: {
|
|
64
|
+
type: 'array',
|
|
65
|
+
items: { type: 'string', examples: ['mainpage'] }
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/buildinschemas/user.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/buildinschemas/user.ts"],"names":[],"mappings":";;;AAAA,kCAAiE;AAEpD,QAAA,IAAI,GAAe;IAC9B,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE;QACpB,YAAY,EAAE,MAAM;QACpB,YAAY,EAAE,MAAM;QACpB,QAAQ,EAAE,MAAM;QAChB,iBAAiB,EAAE,IAAI;QACvB,aAAa,EAAE,oBAAa,CAAC,MAAM;QACnC,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,UAAU;QACzB,aAAa,EAAE,CAAC,WAAW,CAAC;QAC5B,4BAA4B,EAAE,CAAC,KAAK,CAAC;QACrC,cAAc,EAAE;YACd;gBACE,MAAM,EAAE,eAAe;gBACvB,UAAU,EAAE,gBAAgB;gBAC5B,YAAY,EAAE,EAAE;gBAChB,MAAM,EAAE,kBAAW,CAAC,GAAG;gBACvB,YAAY,EAAE,kBAAkB;gBAChC,WAAW,EAAE,qBAAqB;aACnC;YACD;gBACE,MAAM,EAAE,kBAAkB;gBA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CAAC,YAAY,CAAC,EAAE,CAAC;SACpE;QACD,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE;QAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+BAA+B;SAC7C;QACD,cAAc,EAAE;YACd,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE;SAClD;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../src/buildinschemas/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA8B,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,OAAO,EAAE,UAsIrB,CAAA"}
|