@simitgroup/simpleapp-generator 2.0.0-t-alpha → 2.0.0-u-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 +12 -1
- package/dist/buildinschemas/autoincreament.js +1 -1
- package/dist/buildinschemas/docnoformat.js +1 -1
- package/dist/buildinschemas/docnoformat.js.map +1 -1
- package/dist/buildinschemas/documentevent.js +1 -1
- package/dist/generate.d.ts.map +1 -1
- package/dist/generate.js +49 -26
- package/dist/generate.js.map +1 -1
- package/package.json +1 -1
- package/src/generate.ts +116 -93
- package/templates/nest/src/simple-app/_core/features/mini-app/developer-portal/developer-portal.service.ts.eta +9 -25
- package/templates/nest/src/simple-app/_core/framework/base/simple-app.service.ts.eta +76 -3
- package/templates/nest/src/simple-app/_core/framework/schemas/others.schema.ts.eta +12 -1
- package/dist/buildinschemas/message.d.ts +0 -3
- package/dist/buildinschemas/message.d.ts.map +0 -1
- package/dist/buildinschemas/message.js +0 -34
- package/dist/buildinschemas/message.js.map +0 -1
- package/dist/buildinschemas/webhookhistory.d.ts +0 -3
- package/dist/buildinschemas/webhookhistory.d.ts.map +0 -1
- package/dist/buildinschemas/webhookhistory.js +0 -44
- package/dist/buildinschemas/webhookhistory.js.map +0 -1
- package/dist/createproject.js +0 -138
- package/dist/createproject.js.map +0 -1
- package/dist/generate-allow-changebackend.js +0 -305
- package/dist/generate-allow-changebackend.js.map +0 -1
- package/dist/index2.js +0 -118
- package/dist/index2.js.map +0 -1
- package/dist/installdependency.js +0 -20
- package/dist/installdependency.js.map +0 -1
- package/dist/installnest.js +0 -2
- package/dist/installnest.js.map +0 -1
- package/dist/installnuxt.js +0 -2
- package/dist/installnuxt.js.map +0 -1
- package/dist/processors/groupsbuilder.js +0 -2
- package/dist/processors/groupsbuilder.js.map +0 -1
- package/dist/schematype/baseschema.js +0 -25
- package/dist/schematype/baseschema.js.map +0 -1
- package/dist/schematype/default.js +0 -2
- package/dist/schematype/default.js.map +0 -1
- package/dist/schematype/index.js +0 -12
- package/dist/schematype/index.js.map +0 -1
- package/dist/schematype/primarymasterdata.js +0 -38
- package/dist/schematype/primarymasterdata.js.map +0 -1
- package/dist/schematype/simple.js +0 -24
- package/dist/schematype/simple.js.map +0 -1
- package/dist/schematype/simplemasterdata.js +0 -31
- package/dist/schematype/simplemasterdata.js.map +0 -1
- package/dist/schematype/transaction.js +0 -74
- package/dist/schematype/transaction.js.map +0 -1
package/dist/installnuxt.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"installnuxt.js","sourceRoot":"","sources":["../src/installnuxt.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"groupsbuilder.js","sourceRoot":"","sources":["../../src/processors/groupsbuilder.ts"],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.baseschema = void 0;
|
|
4
|
-
const type_1 = require("../type");
|
|
5
|
-
exports.baseschema = {
|
|
6
|
-
'type': 'object',
|
|
7
|
-
'x-simpleapp-config': {
|
|
8
|
-
isolationType: type_1.IsolationType.org,
|
|
9
|
-
schemaType: type_1.SupportedSchemaType.baseschema,
|
|
10
|
-
documentType: '',
|
|
11
|
-
documentName: ''
|
|
12
|
-
},
|
|
13
|
-
properties: {
|
|
14
|
-
_id: { type: 'string', description: "system field" },
|
|
15
|
-
tenantId: { type: 'integer', default: 1, description: "system field" },
|
|
16
|
-
orgId: { type: 'integer', default: 1, description: "system field" },
|
|
17
|
-
branchId: { type: 'integer', default: 1, description: "system field" },
|
|
18
|
-
created: { type: 'string', description: "system field" },
|
|
19
|
-
updated: { type: 'string', description: "system field" },
|
|
20
|
-
createdby: { type: 'string', description: "system field" },
|
|
21
|
-
updatedby: { type: 'string', description: "system field" },
|
|
22
|
-
},
|
|
23
|
-
definitions: {}
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=baseschema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"baseschema.js","sourceRoot":"","sources":["../../src/schematype/baseschema.ts"],"names":[],"mappings":";;;AAAA,kCAAoE;AACvD,QAAA,UAAU,GAAc;IACjC,MAAM,EAAC,QAAQ;IACf,oBAAoB,EAAC;QACnB,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,UAAU,EAAE,0BAAmB,CAAC,UAAU;QAC1C,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,EAAE;KACjB;IACD,UAAU,EAAC;QACP,GAAG,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9C,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9D,KAAK,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC3D,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9D,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAClD,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAClD,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QACpD,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;KACvD;IACD,WAAW,EAAC,EAAE;CACf,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default.js","sourceRoot":"","sources":["../../src/schematype/default.ts"],"names":[],"mappings":""}
|
package/dist/schematype/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transaction = exports.baseschema = exports.primarymasterdata = exports.simplemasterdata = void 0;
|
|
4
|
-
var simplemasterdata_1 = require("./simplemasterdata");
|
|
5
|
-
Object.defineProperty(exports, "simplemasterdata", { enumerable: true, get: function () { return simplemasterdata_1.simplemasterdata; } });
|
|
6
|
-
var primarymasterdata_1 = require("./primarymasterdata");
|
|
7
|
-
Object.defineProperty(exports, "primarymasterdata", { enumerable: true, get: function () { return primarymasterdata_1.primarymasterdata; } });
|
|
8
|
-
var baseschema_1 = require("./baseschema");
|
|
9
|
-
Object.defineProperty(exports, "baseschema", { enumerable: true, get: function () { return baseschema_1.baseschema; } });
|
|
10
|
-
var transaction_1 = require("./transaction");
|
|
11
|
-
Object.defineProperty(exports, "transaction", { enumerable: true, get: function () { return transaction_1.transaction; } });
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schematype/index.ts"],"names":[],"mappings":";;;AAAA,uDAAmD;AAA3C,oHAAA,gBAAgB,OAAA;AACxB,yDAAqD;AAA7C,sHAAA,iBAAiB,OAAA;AACzB,2CAAuC;AAA/B,wGAAA,UAAU,OAAA;AAClB,6CAAyC;AAAjC,0GAAA,WAAW,OAAA"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.primarymasterdata = void 0;
|
|
4
|
-
const type_1 = require("../type");
|
|
5
|
-
exports.primarymasterdata = {
|
|
6
|
-
type: "object",
|
|
7
|
-
"x-simpleapp-config": {
|
|
8
|
-
isolationType: type_1.IsolationType.org,
|
|
9
|
-
pageType: "crud",
|
|
10
|
-
generateDocumentNumber: true,
|
|
11
|
-
schemaType: type_1.SupportedSchemaType.primarymasterdata,
|
|
12
|
-
documentType: '',
|
|
13
|
-
documentName: '',
|
|
14
|
-
},
|
|
15
|
-
properties: {
|
|
16
|
-
_id: { type: 'string', description: "system field" },
|
|
17
|
-
tenantId: { type: 'integer', default: 1, description: "system field" },
|
|
18
|
-
orgId: { type: 'integer', default: 1, description: "system field" },
|
|
19
|
-
branchId: { type: 'integer', default: 1, description: "system field" },
|
|
20
|
-
created: { type: 'string', description: "system field" },
|
|
21
|
-
updated: { type: 'string', description: "system field" },
|
|
22
|
-
createdby: { type: 'string', description: "system field" },
|
|
23
|
-
updatedby: { type: 'string', description: "system field" },
|
|
24
|
-
docNoFormat: {
|
|
25
|
-
type: "object",
|
|
26
|
-
"x-foreignkey": "docnoformat",
|
|
27
|
-
properties: { _id: { "type": "string" }, label: { "type": "string" } },
|
|
28
|
-
description: "system field"
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
definitions: {
|
|
32
|
-
foreignkey: {
|
|
33
|
-
type: "object",
|
|
34
|
-
properties: { _id: { "type": "string" }, label: { "type": "string" }, code: { "type": "string" } }
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=primarymasterdata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primarymasterdata.js","sourceRoot":"","sources":["../../src/schematype/primarymasterdata.ts"],"names":[],"mappings":";;;AAAA,kCAAoE;AACvD,QAAA,iBAAiB,GAAc;IACxC,IAAI,EAAC,QAAQ;IACb,oBAAoB,EAAC;QACnB,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,QAAQ,EAAC,MAAM;QACf,sBAAsB,EAAC,IAAI;QAC3B,UAAU,EAAE,0BAAmB,CAAC,iBAAiB;QACjD,YAAY,EAAC,EAAE;QACf,YAAY,EAAC,EAAE;KAChB;IACD,UAAU,EAAC;QACP,GAAG,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9C,QAAQ,EAAC,EAA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{
|
|
7
|
-
isolationType: 'org',
|
|
8
|
-
schemaType: 'simple',
|
|
9
|
-
documentType: '',
|
|
10
|
-
documentName: '',
|
|
11
|
-
foreignKeys: {}
|
|
12
|
-
},
|
|
13
|
-
"properties": {
|
|
14
|
-
_id: { type: 'string' },
|
|
15
|
-
tenantId: { type: 'integer', default: 1 },
|
|
16
|
-
orgId: { type: 'integer', default: 1 },
|
|
17
|
-
branchId: { type: 'integer', default: 1 },
|
|
18
|
-
created: { type: 'string' },
|
|
19
|
-
updated: { type: 'string' },
|
|
20
|
-
createdby: { type: 'string' },
|
|
21
|
-
updatedby: { type: 'string' },
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=simple.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simple.js","sourceRoot":"","sources":["../../src/schematype/simple.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IACxB,MAAM,EAAC,QAAQ;IACf,oBAAoB,EAAC;QACnB,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,EAAE;QAChB,WAAW,EAAC,EAAE;KACf;IACD,YAAY,EAAC;QACT,GAAG,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;QACnB,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC;QACnC,KAAK,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC;QAChC,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC;QACnC,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;QACvB,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;QACvB,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;QACzB,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;KAC5B;CACF,CAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.simplemasterdata = void 0;
|
|
4
|
-
const type_1 = require("../type");
|
|
5
|
-
exports.simplemasterdata = {
|
|
6
|
-
type: "object",
|
|
7
|
-
"x-simpleapp-config": {
|
|
8
|
-
isolationType: type_1.IsolationType.org,
|
|
9
|
-
pageType: "crud",
|
|
10
|
-
schemaType: type_1.SupportedSchemaType.simplemasterdata,
|
|
11
|
-
documentType: '',
|
|
12
|
-
documentName: '',
|
|
13
|
-
},
|
|
14
|
-
properties: {
|
|
15
|
-
_id: { type: 'string' },
|
|
16
|
-
tenantId: { type: 'integer', default: 1, description: "system field" },
|
|
17
|
-
orgId: { type: 'integer', default: 1, description: "system field" },
|
|
18
|
-
branchId: { type: 'integer', default: 1, description: "system field" },
|
|
19
|
-
created: { type: 'string', description: "system field" },
|
|
20
|
-
updated: { type: 'string', description: "system field" },
|
|
21
|
-
createdby: { type: 'string', description: "system field" },
|
|
22
|
-
updatedby: { type: 'string', description: "system field" },
|
|
23
|
-
},
|
|
24
|
-
definitions: {
|
|
25
|
-
foreignkey: {
|
|
26
|
-
type: "object",
|
|
27
|
-
properties: { _id: { "type": "string" }, label: { "type": "string" }, code: { "type": "string" } }
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=simplemasterdata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simplemasterdata.js","sourceRoot":"","sources":["../../src/schematype/simplemasterdata.ts"],"names":[],"mappings":";;;AAAA,kCAAoE;AACvD,QAAA,gBAAgB,GAAc;IACvC,IAAI,EAAC,QAAQ;IACb,oBAAoB,EAAC;QACnB,aAAa,EAAE,oBAAa,CAAC,GAAG;QAChC,QAAQ,EAAC,MAAM;QACf,UAAU,EAAE,0BAAmB,CAAC,gBAAgB;QAChD,YAAY,EAAC,EAAE;QACf,YAAY,EAAC,EAAE;KAChB;IACD,UAAU,EAAC;QACP,GAAG,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC;QACnB,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9D,KAAK,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC3D,QAAQ,EAAC,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,CAAC,EAAC,WAAW,EAAC,cAAc,EAAC;QAC9D,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAClD,OAAO,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QAClD,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;QACpD,SAAS,EAAC,EAAC,IAAI,EAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC;KACtD;IACD,WAAW,EAAC;QACX,UAAU,EAAE;YACV,IAAI,EAAC,QAAQ;YACb,UAAU,EAAE,EAAC,GAAG,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAC,KAAK,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAC,IAAI,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAC;SACzF;KACF;CACF,CAAA"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transaction = void 0;
|
|
4
|
-
const type_1 = require("../type");
|
|
5
|
-
exports.transaction = {
|
|
6
|
-
type: "object",
|
|
7
|
-
"x-simpleapp-config": {
|
|
8
|
-
isolationType: type_1.IsolationType.org,
|
|
9
|
-
requiredRoles: [],
|
|
10
|
-
documentType: '',
|
|
11
|
-
documentName: '',
|
|
12
|
-
pageType: "crud",
|
|
13
|
-
uniqueKey: "documentNo",
|
|
14
|
-
documentTitle: "documentTitle",
|
|
15
|
-
generateDocumentNumber: true,
|
|
16
|
-
documentDate: "documentDate",
|
|
17
|
-
allStatus: [
|
|
18
|
-
{ "status": "D", statusName: "Draft", "readOnly": true, "actions": ["confirm", "void"] },
|
|
19
|
-
{ "status": "CO", statusName: "Confirmed", "readOnly": true, "actions": ["revert", "void"] },
|
|
20
|
-
{ "status": "V", statusName: "Void", "readOnly": true, "actions": ["revert"] },
|
|
21
|
-
],
|
|
22
|
-
additionalApis: [{
|
|
23
|
-
action: "confirm",
|
|
24
|
-
entrypoint: ":id/confirm",
|
|
25
|
-
requiredrole: [],
|
|
26
|
-
method: type_1.RESTMethods.post,
|
|
27
|
-
execute: "setDocumentStatus",
|
|
28
|
-
description: "confirm document and change status to CO"
|
|
29
|
-
}, {
|
|
30
|
-
action: "void",
|
|
31
|
-
entrypoint: ":id/void",
|
|
32
|
-
querypara: ["reason"],
|
|
33
|
-
requiredrole: [],
|
|
34
|
-
method: type_1.RESTMethods.post,
|
|
35
|
-
execute: "setDocumentStatus",
|
|
36
|
-
description: "confirm document and change status to V"
|
|
37
|
-
}, {
|
|
38
|
-
action: "revert",
|
|
39
|
-
entrypoint: ":id/revert",
|
|
40
|
-
requiredrole: [],
|
|
41
|
-
method: type_1.RESTMethods.post,
|
|
42
|
-
execute: "setDocumentStatus",
|
|
43
|
-
description: "revert document and change status to D"
|
|
44
|
-
}],
|
|
45
|
-
// simple => pure model and service(no page,api),
|
|
46
|
-
// default => force masterdata property,
|
|
47
|
-
// transaction => force masterdata property
|
|
48
|
-
schemaType: type_1.SupportedSchemaType.transaction,
|
|
49
|
-
},
|
|
50
|
-
properties: {
|
|
51
|
-
_id: { type: 'string', description: "system field" },
|
|
52
|
-
tenantId: { type: 'integer', default: 1, description: "system field" },
|
|
53
|
-
orgId: { type: 'integer', default: 1, description: "system field" },
|
|
54
|
-
branchId: { type: 'integer', default: 1, description: "system field" },
|
|
55
|
-
created: { type: 'string', description: "system field" },
|
|
56
|
-
updated: { type: 'string', description: "system field" },
|
|
57
|
-
createdby: { type: 'string', description: "system field" },
|
|
58
|
-
updatedby: { type: 'string', description: "system field" },
|
|
59
|
-
docNoFormat: {
|
|
60
|
-
type: "object",
|
|
61
|
-
"x-foreignkey": "docnoformat",
|
|
62
|
-
properties: { _id: { "type": "string" }, label: { "type": "string" } },
|
|
63
|
-
description: "system field"
|
|
64
|
-
},
|
|
65
|
-
docStatus: { type: "string", description: "system field" }
|
|
66
|
-
},
|
|
67
|
-
definitions: {
|
|
68
|
-
foreignkey: {
|
|
69
|
-
type: "object",
|
|
70
|
-
properties: { _id: { "type": "string" }, label: { "type": "string" }, code: { "type": "string" } }
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
};
|
|
74
|
-
//# sourceMappingURL=transaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src/schematype/transaction.ts"],"names":[],"mappings":";;;AAAA,kCAAgF;AACnE,QAAA,WAAW,GAAc;IAClC,IAAI,EAAC,QAAQ;IACb,oBAAoB,EAAC;QACnB,aAAa,EAAC,oBAAa,CAAC,GAAG;QAC/B,aAAa,EAAC,EAAE;QAChB,YAAY,EAAC,EAAE;QACf,YAAY,EAAC,EAAE;QACf,QAAQ,EAAC,MAAM;QACf,SAAS,EAAC,YAAY;QACtB,aAAa,EAAC,eAAe;QAC7B,sBAAsB,EAAC,IAAI;QAC3B,YAAY,EAAC,cAAc;QAC3B,SAAS,EAAC;YACR,EAAC,QAAQ,EAAC,GAAG,EAAC,UAAU,EAAC,OAAO,EAAC,UAAU,EAAC,IAAI,EAAC,SAAS,EAAC,CAAC,SAAS,EAAC,MAAM,CAAC,EAAC;YAC9E,EAAC,QAAQ,EAAC,IAAI,EAAC,UAAU,EAAC,WAAW,EAAC,UAA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