@squiz/render-runtime-lib 1.79.1 → 1.79.2
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/lib/health-check-service.d.ts +0 -6
- package/lib/test/helpers/fixtures.d.ts +1 -1
- package/lib/test/mock-services/MockedComponentSetService.js +2 -2
- package/lib/webserver/controllers/CoreController.spec.js +0 -5
- package/lib/webserver/controllers/CoreController.spec.js.map +1 -1
- package/lib/webserver/controllers/RenderController.js +7 -10
- package/lib/webserver/controllers/RenderController.js.map +1 -1
- package/lib/webserver/controllers/StaticController.d.ts +1 -1
- package/lib/webserver/routes/routes.js +11 -9
- package/lib/webserver/routes/routes.js.map +1 -1
- package/package.json +13 -23
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
type DbHealth = {
|
|
2
|
-
idle: number;
|
|
3
|
-
max: number;
|
|
4
|
-
waiting: number;
|
|
5
|
-
};
|
|
6
1
|
type HealthyResponse = {
|
|
7
2
|
status: 'healthy';
|
|
8
3
|
version: string;
|
|
@@ -10,7 +5,6 @@ type HealthyResponse = {
|
|
|
10
5
|
buildBranch?: string;
|
|
11
6
|
name: string;
|
|
12
7
|
'number-of-cpus': number;
|
|
13
|
-
db: DbHealth;
|
|
14
8
|
[key: string]: unknown;
|
|
15
9
|
};
|
|
16
10
|
type UnhealthyResponse = {
|
|
@@ -11,7 +11,7 @@ export declare class ComponentFixture {
|
|
|
11
11
|
fixtureDirectory: string;
|
|
12
12
|
componentDirectory: string;
|
|
13
13
|
version: string;
|
|
14
|
-
manifest: import("packages/dx-json-schema-lib/
|
|
14
|
+
manifest: import("packages/dx-json-schema-lib/lib/manifest/v1/v1").ComponentManifest;
|
|
15
15
|
componentName: string;
|
|
16
16
|
}>;
|
|
17
17
|
static new(returnObj: string | object, { raw, environment, set }?: {
|
|
@@ -8,7 +8,7 @@ class MockedComponentSetServiceForProduction extends component_lib_1.ComponentSe
|
|
|
8
8
|
super({
|
|
9
9
|
repositories: {
|
|
10
10
|
componentSet: {
|
|
11
|
-
|
|
11
|
+
getItem: async (query) => {
|
|
12
12
|
const set = await this.getComponentSetWebModel(query.webPath);
|
|
13
13
|
return {
|
|
14
14
|
webPath: set.webPath,
|
|
@@ -30,7 +30,7 @@ class MockedComponentSetServiceForProduction extends component_lib_1.ComponentSe
|
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
32
|
componentSetComponentVersion: {
|
|
33
|
-
|
|
33
|
+
getItem: async (query) => {
|
|
34
34
|
var _a;
|
|
35
35
|
const set = await this.getComponentSetWebModel(query.componentSetWebPath);
|
|
36
36
|
const setMembership = set.components[query.componentName].find((a) => a.version == query.componentVersion);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreController.spec.js","sourceRoot":"","sources":["../../../src/webserver/controllers/CoreController.spec.ts"],"names":[],"mappings":";;AAAA,wDAAiH;AAGjH,qDAAiD;AACjD,qCAAgE;AAEhE,MAAM,iBAAiB;IACrB,KAAK,CAAC,SAAS;QACb,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,SAAS;YACtB,YAAY,EAAE,QAAQ;YACtB,
|
|
1
|
+
{"version":3,"file":"CoreController.spec.js","sourceRoot":"","sources":["../../../src/webserver/controllers/CoreController.spec.ts"],"names":[],"mappings":";;AAAA,wDAAiH;AAGjH,qDAAiD;AACjD,qCAAgE;AAEhE,MAAM,iBAAiB;IACrB,KAAK,CAAC,SAAS;QACb,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,SAAS;YACtB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,qBAAqB;YAC3B,gBAAgB,EAAE,EAAE;YACpB,mBAAmB,EAAE,CAAC;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC;AAElD,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,QAAQ,CAAC,a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AAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.RenderController = void 0;
|
|
17
17
|
const inversify_1 = require("inversify");
|
|
18
18
|
const inversify_binding_decorators_1 = require("inversify-binding-decorators");
|
|
19
|
-
const query_string_1 = require("query-string");
|
|
20
19
|
const tsoa_1 = require("tsoa");
|
|
21
20
|
const component_lib_1 = require("@squiz/component-lib");
|
|
22
21
|
const dx_common_lib_1 = require("@squiz/dx-common-lib");
|
|
@@ -44,16 +43,14 @@ let RenderController = RenderController_1 = class RenderController extends tsoa_
|
|
|
44
43
|
async getGivenFunctionRendering(expressRequest, namespace, componentName, version, functionName, componentSet, previewKey, contentItemId, previewBlockIndex, input) {
|
|
45
44
|
const response = expressRequest.res;
|
|
46
45
|
(0, dx_common_lib_1.assertIsDefined)(response);
|
|
47
|
-
const { path
|
|
46
|
+
const { path } = expressRequest;
|
|
48
47
|
if (UPPERCASE_REGEX.test(path) || (componentSet && UPPERCASE_REGEX.test(componentSet))) {
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
response.redirect(url);
|
|
48
|
+
const originalUrl = new URL(expressRequest.url, `http://${expressRequest.headers.host}`);
|
|
49
|
+
if (componentSet) {
|
|
50
|
+
originalUrl.searchParams.set('_componentSet', componentSet === null || componentSet === void 0 ? void 0 : componentSet.toLowerCase());
|
|
51
|
+
}
|
|
52
|
+
originalUrl.pathname = originalUrl.pathname.toLowerCase();
|
|
53
|
+
response.redirect(originalUrl.toString());
|
|
57
54
|
return;
|
|
58
55
|
}
|
|
59
56
|
//TODO: Update metric export https://squizgroup.atlassian.net/browse/FEAAS-768
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderController.js","sourceRoot":"","sources":["../../../src/webserver/controllers/RenderController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,yCAAmC;AACnC,+EAAuD;AACvD,+
|
|
1
|
+
{"version":3,"file":"RenderController.js","sourceRoot":"","sources":["../../../src/webserver/controllers/RenderController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,yCAAmC;AACnC,+EAAuD;AACvD,+BAAoE;AAEpE,wDAM8B;AAC9B,wDAA2F;AAC3F,iCAA8B;AAG9B,2EAAwE;AACxE,iEAAuF;AACvF,yFAAsF;AACtF,2DAA2D;AAE3D,MAAM,eAAe,GAAG,OAAO,CAAC;AAEhC,oDAAoD;AAI7C,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,iBAAU;IAC9C,YAC2C,mBAAwC,EAC5C,eAAgC,EACvB,wBAAkD,EACpD,sBAA8C,EAClD,kBAAsC,EACtC,kBAA6C,EACxC,uBAAgD;QAE7F,KAAK,EAAE,CAAC;QARiC,wBAAmB,GAAnB,mBAAmB,CAAqB;QAC5C,oBAAe,GAAf,eAAe,CAAiB;QACvB,6BAAwB,GAAxB,wBAAwB,CAA0B;QACpD,2BAAsB,GAAtB,sBAAsB,CAAwB;QAClD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,uBAAkB,GAAlB,kBAAkB,CAA2B;QACxC,4BAAuB,GAAvB,uBAAuB,CAAyB;IAG/F,CAAC;IAGY,AAAN,KAAK,CAAC,2BAA2B,CAC3B,cAA8B,EACjC,SAAiB,EACjB,aAAqB,EACrB,OAAe,EACC,YAAqB,EACvB,UAAmB,EAChB,aAAsB,EAClB,iBAA0B,EACvC,KAAc;QAE9B,MAAM,IAAI,CAAC,yBAAyB,CAClC,cAAc,EACd,SAAS,EACT,aAAa,EACb,OAAO,EACP,EAAE,EACF,YAAY,EACZ,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,KAAK,C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WAAA,IAAA,kBAAM,EAAC,0BAA0B,CAAC,CAAA;IAClC,WAAA,IAAA,kBAAM,EAAC,wBAAwB,CAAC,CAAA;IAChC,WAAA,IAAA,kBAAM,EAAC,oBAAoB,CAAC,CAAA;IAC5B,WAAA,IAAA,kBAAM,EAAC,oBAAoB,CAAC,CAAA;IAC5B,WAAA,IAAA,kBAAM,EAAC,yBAAyB,CAAC,CAAA;qDAJsC,wCAAwB,UAEpC,uCAAkB,UAER,iDAAuB;GARpF,gBAAgB,CAuN5B;AAvNY,4CAAgB"}
|
|
@@ -10,5 +10,5 @@ export declare class StaticController extends Controller {
|
|
|
10
10
|
private setResponseHeaders;
|
|
11
11
|
protected getHeadersForInputType(_componentSet: string | undefined, _previewKey: string | undefined, manifest: Manifest): Promise<Headers>;
|
|
12
12
|
protected getValidatedSet(_componentSet: string, manifest: ManifestV1): Promise<ComponentSet>;
|
|
13
|
-
protected getValidatedPreviewDefinition(_previewKey: string, manifestModel: ManifestModel): Promise<import("packages/dx-json-schema-lib/
|
|
13
|
+
protected getValidatedPreviewDefinition(_previewKey: string, manifestModel: ManifestModel): Promise<import("packages/dx-json-schema-lib/lib/manifest/v1/v1").PreviewDefinition>;
|
|
14
14
|
}
|
|
@@ -18,14 +18,9 @@ const StaticController_1 = require("./../controllers/StaticController");
|
|
|
18
18
|
const ioc_1 = require("./../../ioc");
|
|
19
19
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
20
20
|
const models = {
|
|
21
|
-
"DbHealth": {
|
|
22
|
-
"dataType": "refAlias",
|
|
23
|
-
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "waiting": { "dataType": "double", "required": true }, "max": { "dataType": "double", "required": true }, "idle": { "dataType": "double", "required": true } }, "validators": {} },
|
|
24
|
-
},
|
|
25
|
-
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
26
21
|
"HealthyResponse": {
|
|
27
22
|
"dataType": "refAlias",
|
|
28
|
-
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "
|
|
23
|
+
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "number-of-cpus": { "dataType": "double", "required": true }, "name": { "dataType": "string", "required": true }, "buildBranch": { "dataType": "string" }, "buildVersion": { "dataType": "string" }, "version": { "dataType": "string", "required": true }, "status": { "dataType": "enum", "enums": ["healthy"], "required": true } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
|
|
29
24
|
},
|
|
30
25
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
31
26
|
"UnhealthyResponse": {
|
|
@@ -66,13 +61,20 @@ const models = {
|
|
|
66
61
|
},
|
|
67
62
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
68
63
|
"UiMetadata": {
|
|
69
|
-
"dataType": "
|
|
70
|
-
"
|
|
64
|
+
"dataType": "refObject",
|
|
65
|
+
"properties": {
|
|
66
|
+
"autoReload": { "dataType": "boolean" },
|
|
67
|
+
"inlineEditable": { "dataType": "boolean" },
|
|
68
|
+
"collapsedByDefault": { "dataType": "boolean" },
|
|
69
|
+
"quickOption": { "dataType": "boolean" },
|
|
70
|
+
"enumWidget": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["radio"] }, { "dataType": "enum", "enums": ["dropdown"] }] },
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false,
|
|
71
73
|
},
|
|
72
74
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
73
75
|
"CoreSchemaMetaSchema2": {
|
|
74
76
|
"dataType": "refAlias",
|
|
75
|
-
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "not": { "ref": "CoreSchemaMetaSchema2" }, "oneOf": { "ref": "SchemaArray" }, "anyOf": { "ref": "SchemaArray" }, "allOf": { "ref": "SchemaArray" }, "else": { "ref": "CoreSchemaMetaSchema2" }, "then": { "ref": "CoreSchemaMetaSchema2" }, "if": { "ref": "CoreSchemaMetaSchema2" }, "contentEncoding": { "dataType": "string" }, "contentMediaType": { "dataType": "string" }, "matrixAssetTypes": { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["audioFile"] }, { "dataType": "enum", "enums": ["bodycopyContainer"] }, { "dataType": "enum", "enums": ["bodycopyDiv"] }, { "dataType": "enum", "enums": ["calendarEventsSearchPage"] }, { "dataType": "enum", "enums": ["contentContainerTemplate"] }, { "dataType": "enum", "enums": ["contentTypeMarkdown"] }, { "dataType": "enum", "enums": ["contentTypeNestContent"] }, { "dataType": "enum", "enums": ["contentTypeRawHtml"] }, { "dataType": "enum", "enums": ["contentTypeSnippet"] }, { "dataType": "enum", "enums": ["contentTypeWysiwyg"] }, { "dataType": "enum", "enums": ["cssFileFolder"] }, { "dataType": "enum", "enums": ["cssFile"] }, { "dataType": "enum", "enums": ["customForm"] }, { "dataType": "enum", "enums": ["dataRecord"] }, { "dataType": "enum", "enums": ["designAreaAssetLineage"] }, { "dataType": "enum", "enums": ["designAreaBody"] }, { "dataType": "enum", "enums": ["designAreaMenuNormal"] }, { "dataType": "enum", "enums": ["designAreaNestContent"] }, { "dataType": "enum", "enums": ["designCssCustomisation"] }, { "dataType": "enum", "enums": ["designCss"] }, { "dataType": "enum", "enums": ["designCustomisation"] }, { "dataType": "enum", "enums": ["designScss"] }, { "dataType": "enum", "enums": ["design"] }, { "dataType": "enum", "enums": ["docx"] }, { "dataType": "enum", "enums": ["excelDoc"] }, { "dataType": "enum", "enums": ["file"] }, { "dataType": "enum", "enums": ["folder"] }, { "dataType": "enum", "enums": ["gitBridge"] }, { "dataType": "enum", "enums": ["googleAnalyticsConnector"] }, { "dataType": "enum", "enums": ["googleAnalyticsView"] }, { "dataType": "enum", "enums": ["image"] }, { "dataType": "enum", "enums": ["jsFileFolder"] }, { "dataType": "enum", "enums": ["jsFile"] }, { "dataType": "enum", "enums": ["jsonWebToken"] }, { "dataType": "enum", "enums": ["layoutManager"] }, { "dataType": "enum", "enums": ["layout"] }, { "dataType": "enum", "enums": ["link"] }, { "dataType": "enum", "enums": ["metadataFieldDate"] }, { "dataType": "enum", "enums": ["metadataFieldRelatedAsset"] }, { "dataType": "enum", "enums": ["metadataFieldSelect"] }, { "dataType": "enum", "enums": ["metadataFieldText"] }, { "dataType": "enum", "enums": ["metadataFieldWysiwyg"] }, { "dataType": "enum", "enums": ["metadataSchema"] }, { "dataType": "enum", "enums": ["metadataSection"] }, { "dataType": "enum", "enums": ["newsItem"] }, { "dataType": "enum", "enums": ["oauthAccountManager"] }, { "dataType": "enum", "enums": ["pageAccountManager"] }, { "dataType": "enum", "enums": ["pageAssetListing"] }, { "dataType": "enum", "enums": ["pageCalendarEventsSearch"] }, { "dataType": "enum", "enums": ["pageCalendar"] }, { "dataType": "enum", "enums": ["pagePasswordReset"] }, { "dataType": "enum", "enums": ["pageRemoteContent"] }, { "dataType": "enum", "enums": ["pageRestResourceJs"] }, { "dataType": "enum", "enums": ["pageRestResourceOauthSession"] }, { "dataType": "enum", "enums": ["pageRestResourceOauthTwoLegged"] }, { "dataType": "enum", "enums": ["pageRestResource"] }, { "dataType": "enum", "enums": ["pageSiteMap"] }, { "dataType": "enum", "enums": ["pageStandard"] }, { "dataType": "enum", "enums": ["paintLayoutBodycopy"] }, { "dataType": "enum", "enums": ["paintLayoutPage"] }, { "dataType": "enum", "enums": ["pdfFile"] }, { "dataType": "enum", "enums": ["pdf"] }, { "dataType": "enum", "enums": ["persona"] }, { "dataType": "enum", "enums": ["powerpointDoc"] }, { "dataType": "enum", "enums": ["pptx"] }, { "dataType": "enum", "enums": ["redirectPage"] }, { "dataType": "enum", "enums": ["regex"] }, { "dataType": "enum", "enums": ["regularExpression"] }, { "dataType": "enum", "enums": ["rtfFile"] }, { "dataType": "enum", "enums": ["samlAccountManager"] }, { "dataType": "enum", "enums": ["saml2Acs"] }, { "dataType": "enum", "enums": ["saml2Sls"] }, { "dataType": "enum", "enums": ["searchPage"] }, { "dataType": "enum", "enums": ["site"] }, { "dataType": "enum", "enums": ["textFile"] }, { "dataType": "enum", "enums": ["TriggerTypes?"] }, { "dataType": "enum", "enums": ["userGroup"] }, { "dataType": "enum", "enums": ["wordDoc"] }, { "dataType": "enum", "enums": ["workflowSchema"] }, { "dataType": "enum", "enums": ["workflowStepCondition"] }, { "dataType": "enum", "enums": ["workflowStep"] }, { "dataType": "enum", "enums": ["workflowStream"] }, { "dataType": "enum", "enums": ["xlsx"] }, { "dataType": "enum", "enums": ["xmlFile"] }] } }, "format": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["date-time"] }, { "dataType": "enum", "enums": ["email"] }, { "dataType": "enum", "enums": ["hostname"] }, { "dataType": "enum", "enums": ["ipv4"] }, { "dataType": "enum", "enums": ["ipv6"] }, { "dataType": "enum", "enums": ["json-pointer"] }, { "dataType": "enum", "enums": ["matrix-asset-uri"] }, { "dataType": "enum", "enums": ["multi-line"] }, { "dataType": "enum", "enums": ["password"] }, { "dataType": "enum", "enums": ["phone"] }, { "dataType": "enum", "enums": ["regex"] }, { "dataType": "enum", "enums": ["relative-json-pointer"] }, { "dataType": "enum", "enums": ["uri-reference"] }, { "dataType": "enum", "enums": ["uri-template"] }, { "dataType": "enum", "enums": ["uri"] }, { "dataType": "enum", "enums": ["uuid"] }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["array"] }, { "dataType": "enum", "enums": ["boolean"] }, { "dataType": "enum", "enums": ["integer"] }, { "dataType": "enum", "enums": ["null"] }, { "dataType": "enum", "enums": ["number"] }, { "dataType": "enum", "enums": ["object"] }, { "dataType": "enum", "enums": ["string"] }, { "dataType": "enum", "enums": ["FormattedText"] }, { "dataType": "enum", "enums": ["SquizImage"] }, { "dataType": "enum", "enums": ["SquizLink"] }] }, { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["array"] }, { "dataType": "enum", "enums": ["boolean"] }, { "dataType": "enum", "enums": ["integer"] }, { "dataType": "enum", "enums": ["null"] }, { "dataType": "enum", "enums": ["number"] }, { "dataType": "enum", "enums": ["object"] }, { "dataType": "enum", "enums": ["string"] }, { "dataType": "enum", "enums": ["FormattedText"] }, { "dataType": "enum", "enums": ["SquizImage"] }, { "dataType": "enum", "enums": ["SquizLink"] }] } }] }, "enum": { "dataType": "array", "array": { "dataType": "any" }, "validators": { "minItems": { "value": 1 } } }, "const": { "dataType": "any" }, "propertyNames": { "ref": "CoreSchemaMetaSchema2" }, "dependencies": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "CoreSchemaMetaSchema2" }, { "ref": "StringArray" }] } }, "patternProperties": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "definitions": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" }, "required": { "ref": "StringArray" }, "minProperties": { "dataType": "double" }, "maxProperties": { "dataType": "double" }, "contains": { "ref": "CoreSchemaMetaSchema2" }, "uniqueItems": { "dataType": "boolean" }, "minItems": { "dataType": "double" }, "maxItems": { "dataType": "double" }, "items": { "dataType": "union", "subSchemas": [{ "ref": "CoreSchemaMetaSchema2" }, { "ref": "SchemaArray" }] }, "additionalItems": { "ref": "CoreSchemaMetaSchema2" }, "pattern": { "dataType": "string" }, "minLength": { "dataType": "double" }, "maxLength": { "dataType": "double" }, "exclusiveMinimum": { "dataType": "double" }, "minimum": { "dataType": "double" }, "exclusiveMaximum": { "dataType": "double" }, "maximum": { "dataType": "double" }, "multipleOf": { "dataType": "double" }, "examples": { "dataType": "array", "array": { "dataType": "any" } }, "writeOnly": { "dataType": "boolean" }, "readOnly": { "dataType": "boolean" }, "default": { "dataType": "any" }, "description": { "dataType": "string" }, "title": { "dataType": "string" }, "$comment": { "dataType": "string" }, "$ref": { "dataType": "string" }, "$schema": { "dataType": "string" }, "ui:metadata": { "
|
|
77
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "not": { "ref": "CoreSchemaMetaSchema2" }, "oneOf": { "ref": "SchemaArray" }, "anyOf": { "ref": "SchemaArray" }, "allOf": { "ref": "SchemaArray" }, "else": { "ref": "CoreSchemaMetaSchema2" }, "then": { "ref": "CoreSchemaMetaSchema2" }, "if": { "ref": "CoreSchemaMetaSchema2" }, "contentEncoding": { "dataType": "string" }, "contentMediaType": { "dataType": "string" }, "matrixAssetTypes": { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["audioFile"] }, { "dataType": "enum", "enums": ["bodycopyContainer"] }, { "dataType": "enum", "enums": ["bodycopyDiv"] }, { "dataType": "enum", "enums": ["calendarEventsSearchPage"] }, { "dataType": "enum", "enums": ["contentContainerTemplate"] }, { "dataType": "enum", "enums": ["contentTypeMarkdown"] }, { "dataType": "enum", "enums": ["contentTypeNestContent"] }, { "dataType": "enum", "enums": ["contentTypeRawHtml"] }, { "dataType": "enum", "enums": ["contentTypeSnippet"] }, { "dataType": "enum", "enums": ["contentTypeWysiwyg"] }, { "dataType": "enum", "enums": ["cssFileFolder"] }, { "dataType": "enum", "enums": ["cssFile"] }, { "dataType": "enum", "enums": ["customForm"] }, { "dataType": "enum", "enums": ["dataRecord"] }, { "dataType": "enum", "enums": ["designAreaAssetLineage"] }, { "dataType": "enum", "enums": ["designAreaBody"] }, { "dataType": "enum", "enums": ["designAreaMenuNormal"] }, { "dataType": "enum", "enums": ["designAreaNestContent"] }, { "dataType": "enum", "enums": ["designCssCustomisation"] }, { "dataType": "enum", "enums": ["designCss"] }, { "dataType": "enum", "enums": ["designCustomisation"] }, { "dataType": "enum", "enums": ["designScss"] }, { "dataType": "enum", "enums": ["design"] }, { "dataType": "enum", "enums": ["docx"] }, { "dataType": "enum", "enums": ["excelDoc"] }, { "dataType": "enum", "enums": ["file"] }, { "dataType": "enum", "enums": ["folder"] }, { "dataType": "enum", "enums": ["gitBridge"] }, { "dataType": "enum", "enums": ["googleAnalyticsConnector"] }, { "dataType": "enum", "enums": ["googleAnalyticsView"] }, { "dataType": "enum", "enums": ["image"] }, { "dataType": "enum", "enums": ["jsFileFolder"] }, { "dataType": "enum", "enums": ["jsFile"] }, { "dataType": "enum", "enums": ["jsonWebToken"] }, { "dataType": "enum", "enums": ["layoutManager"] }, { "dataType": "enum", "enums": ["layout"] }, { "dataType": "enum", "enums": ["link"] }, { "dataType": "enum", "enums": ["metadataFieldDate"] }, { "dataType": "enum", "enums": ["metadataFieldRelatedAsset"] }, { "dataType": "enum", "enums": ["metadataFieldSelect"] }, { "dataType": "enum", "enums": ["metadataFieldText"] }, { "dataType": "enum", "enums": ["metadataFieldWysiwyg"] }, { "dataType": "enum", "enums": ["metadataSchema"] }, { "dataType": "enum", "enums": ["metadataSection"] }, { "dataType": "enum", "enums": ["newsItem"] }, { "dataType": "enum", "enums": ["oauthAccountManager"] }, { "dataType": "enum", "enums": ["pageAccountManager"] }, { "dataType": "enum", "enums": ["pageAssetListing"] }, { "dataType": "enum", "enums": ["pageCalendarEventsSearch"] }, { "dataType": "enum", "enums": ["pageCalendar"] }, { "dataType": "enum", "enums": ["pagePasswordReset"] }, { "dataType": "enum", "enums": ["pageRemoteContent"] }, { "dataType": "enum", "enums": ["pageRestResourceJs"] }, { "dataType": "enum", "enums": ["pageRestResourceOauthSession"] }, { "dataType": "enum", "enums": ["pageRestResourceOauthTwoLegged"] }, { "dataType": "enum", "enums": ["pageRestResource"] }, { "dataType": "enum", "enums": ["pageSiteMap"] }, { "dataType": "enum", "enums": ["pageStandard"] }, { "dataType": "enum", "enums": ["paintLayoutBodycopy"] }, { "dataType": "enum", "enums": ["paintLayoutPage"] }, { "dataType": "enum", "enums": ["pdfFile"] }, { "dataType": "enum", "enums": ["pdf"] }, { "dataType": "enum", "enums": ["persona"] }, { "dataType": "enum", "enums": ["powerpointDoc"] }, { "dataType": "enum", "enums": ["pptx"] }, { "dataType": "enum", "enums": ["redirectPage"] }, { "dataType": "enum", "enums": ["regex"] }, { "dataType": "enum", "enums": ["regularExpression"] }, { "dataType": "enum", "enums": ["rtfFile"] }, { "dataType": "enum", "enums": ["samlAccountManager"] }, { "dataType": "enum", "enums": ["saml2Acs"] }, { "dataType": "enum", "enums": ["saml2Sls"] }, { "dataType": "enum", "enums": ["searchPage"] }, { "dataType": "enum", "enums": ["site"] }, { "dataType": "enum", "enums": ["textFile"] }, { "dataType": "enum", "enums": ["TriggerTypes?"] }, { "dataType": "enum", "enums": ["userGroup"] }, { "dataType": "enum", "enums": ["wordDoc"] }, { "dataType": "enum", "enums": ["workflowSchema"] }, { "dataType": "enum", "enums": ["workflowStepCondition"] }, { "dataType": "enum", "enums": ["workflowStep"] }, { "dataType": "enum", "enums": ["workflowStream"] }, { "dataType": "enum", "enums": ["xlsx"] }, { "dataType": "enum", "enums": ["xmlFile"] }] } }, "format": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["date-time"] }, { "dataType": "enum", "enums": ["email"] }, { "dataType": "enum", "enums": ["hostname"] }, { "dataType": "enum", "enums": ["ipv4"] }, { "dataType": "enum", "enums": ["ipv6"] }, { "dataType": "enum", "enums": ["json-pointer"] }, { "dataType": "enum", "enums": ["matrix-asset-uri"] }, { "dataType": "enum", "enums": ["multi-line"] }, { "dataType": "enum", "enums": ["password"] }, { "dataType": "enum", "enums": ["phone"] }, { "dataType": "enum", "enums": ["regex"] }, { "dataType": "enum", "enums": ["relative-json-pointer"] }, { "dataType": "enum", "enums": ["uri-reference"] }, { "dataType": "enum", "enums": ["uri-template"] }, { "dataType": "enum", "enums": ["uri"] }, { "dataType": "enum", "enums": ["uuid"] }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["array"] }, { "dataType": "enum", "enums": ["boolean"] }, { "dataType": "enum", "enums": ["integer"] }, { "dataType": "enum", "enums": ["null"] }, { "dataType": "enum", "enums": ["number"] }, { "dataType": "enum", "enums": ["object"] }, { "dataType": "enum", "enums": ["string"] }, { "dataType": "enum", "enums": ["FormattedText"] }, { "dataType": "enum", "enums": ["SquizImage"] }, { "dataType": "enum", "enums": ["SquizLink"] }] }, { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["array"] }, { "dataType": "enum", "enums": ["boolean"] }, { "dataType": "enum", "enums": ["integer"] }, { "dataType": "enum", "enums": ["null"] }, { "dataType": "enum", "enums": ["number"] }, { "dataType": "enum", "enums": ["object"] }, { "dataType": "enum", "enums": ["string"] }, { "dataType": "enum", "enums": ["FormattedText"] }, { "dataType": "enum", "enums": ["SquizImage"] }, { "dataType": "enum", "enums": ["SquizLink"] }] } }] }, "enum": { "dataType": "array", "array": { "dataType": "any" }, "validators": { "minItems": { "value": 1 } } }, "const": { "dataType": "any" }, "propertyNames": { "ref": "CoreSchemaMetaSchema2" }, "dependencies": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "CoreSchemaMetaSchema2" }, { "ref": "StringArray" }] } }, "patternProperties": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "definitions": { "dataType": "nestedObjectLiteral", "nestedProperties": {}, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" } }, "additionalProperties": { "ref": "CoreSchemaMetaSchema2" }, "required": { "ref": "StringArray" }, "minProperties": { "dataType": "double" }, "maxProperties": { "dataType": "double" }, "contains": { "ref": "CoreSchemaMetaSchema2" }, "uniqueItems": { "dataType": "boolean" }, "minItems": { "dataType": "double" }, "maxItems": { "dataType": "double" }, "items": { "dataType": "union", "subSchemas": [{ "ref": "CoreSchemaMetaSchema2" }, { "ref": "SchemaArray" }] }, "additionalItems": { "ref": "CoreSchemaMetaSchema2" }, "pattern": { "dataType": "string" }, "minLength": { "dataType": "double" }, "maxLength": { "dataType": "double" }, "exclusiveMinimum": { "dataType": "double" }, "minimum": { "dataType": "double" }, "exclusiveMaximum": { "dataType": "double" }, "maximum": { "dataType": "double" }, "multipleOf": { "dataType": "double" }, "examples": { "dataType": "array", "array": { "dataType": "any" } }, "writeOnly": { "dataType": "boolean" }, "readOnly": { "dataType": "boolean" }, "default": { "dataType": "any" }, "description": { "dataType": "string" }, "title": { "dataType": "string" }, "$comment": { "dataType": "string" }, "$ref": { "dataType": "string" }, "$schema": { "dataType": "string" }, "ui:metadata": { "ref": "UiMetadata" }, "$id": { "dataType": "string" } } }, { "dataType": "boolean" }], "validators": {} },
|
|
76
78
|
},
|
|
77
79
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
|
78
80
|
"SchemaArray": {
|