@esri/hub-common 14.109.0 → 14.109.1
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/esm/initiative-templates/_internal/InitiativeTemplateSchema.js +3 -1
- package/dist/esm/initiative-templates/_internal/InitiativeTemplateSchema.js.map +1 -1
- package/dist/esm/templates/_internal/TemplateSchema.js +3 -1
- package/dist/esm/templates/_internal/TemplateSchema.js.map +1 -1
- package/dist/node/initiative-templates/_internal/InitiativeTemplateSchema.js +3 -1
- package/dist/node/initiative-templates/_internal/InitiativeTemplateSchema.js.map +1 -1
- package/dist/node/templates/_internal/TemplateSchema.js +3 -1
- package/dist/node/templates/_internal/TemplateSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,9 @@ export const InitiativeTemplateEditorTypes = [
|
|
|
5
5
|
export const InitiativeTemplateSchema = Object.assign(Object.assign({}, HubItemEntitySchema), { properties: Object.assign(Object.assign({}, HubItemEntitySchema.properties), { previewUrl: {
|
|
6
6
|
type: "string",
|
|
7
7
|
if: { minLength: 1 },
|
|
8
|
-
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
then: { format: "url" },
|
|
9
11
|
}, recommendedTemplates: {
|
|
10
12
|
type: "array",
|
|
11
13
|
items: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitiativeTemplateSchema.js","sourceRoot":"","sources":["../../../../src/initiative-templates/_internal/InitiativeTemplateSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAKpF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,6BAA6B;CACrB,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"InitiativeTemplateSchema.js","sourceRoot":"","sources":["../../../../src/initiative-templates/_internal/InitiativeTemplateSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAKpF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,6BAA6B;CACrB,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,mCAChC,mBAAmB,KACtB,UAAU,kCACL,mBAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,6DAA6D;YAC7D,aAAa;YACb,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,EACD,oBAAoB,EAAE;YACpB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF,MAEJ,CAAC"}
|
|
@@ -3,6 +3,8 @@ export const TemplateEditorTypes = ["hub:template:edit"];
|
|
|
3
3
|
export const TemplateSchema = Object.assign(Object.assign({}, HubItemEntitySchema), { properties: Object.assign(Object.assign({}, HubItemEntitySchema.properties), { previewUrl: {
|
|
4
4
|
type: "string",
|
|
5
5
|
if: { minLength: 1 },
|
|
6
|
-
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
then: { format: "url" },
|
|
7
9
|
} }) });
|
|
8
10
|
//# sourceMappingURL=TemplateSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateSchema.js","sourceRoot":"","sources":["../../../../src/templates/_internal/TemplateSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAIpF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,mBAAmB,CAAU,CAAC;AAElE,MAAM,CAAC,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"TemplateSchema.js","sourceRoot":"","sources":["../../../../src/templates/_internal/TemplateSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAIpF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,mBAAmB,CAAU,CAAC;AAElE,MAAM,CAAC,MAAM,cAAc,mCACtB,mBAAmB,KACtB,UAAU,kCACL,mBAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,6DAA6D;YAC7D,aAAa;YACb,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,MAEJ,CAAC"}
|
|
@@ -8,7 +8,9 @@ exports.InitiativeTemplateEditorTypes = [
|
|
|
8
8
|
exports.InitiativeTemplateSchema = Object.assign(Object.assign({}, HubItemEntitySchema_1.HubItemEntitySchema), { properties: Object.assign(Object.assign({}, HubItemEntitySchema_1.HubItemEntitySchema.properties), { previewUrl: {
|
|
9
9
|
type: "string",
|
|
10
10
|
if: { minLength: 1 },
|
|
11
|
-
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
then: { format: "url" },
|
|
12
14
|
}, recommendedTemplates: {
|
|
13
15
|
type: "array",
|
|
14
16
|
items: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitiativeTemplateSchema.js","sourceRoot":"","sources":["../../../../src/initiative-templates/_internal/InitiativeTemplateSchema.ts"],"names":[],"mappings":";;;AACA,uFAAoF;AAKvE,QAAA,6BAA6B,GAAG;IAC3C,6BAA6B;CACrB,CAAC;AAEE,QAAA,wBAAwB,
|
|
1
|
+
{"version":3,"file":"InitiativeTemplateSchema.js","sourceRoot":"","sources":["../../../../src/initiative-templates/_internal/InitiativeTemplateSchema.ts"],"names":[],"mappings":";;;AACA,uFAAoF;AAKvE,QAAA,6BAA6B,GAAG;IAC3C,6BAA6B;CACrB,CAAC;AAEE,QAAA,wBAAwB,mCAChC,yCAAmB,KACtB,UAAU,kCACL,yCAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,6DAA6D;YAC7D,aAAa;YACb,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,EACD,oBAAoB,EAAE;YACpB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF,OAEH"}
|
|
@@ -6,6 +6,8 @@ exports.TemplateEditorTypes = ["hub:template:edit"];
|
|
|
6
6
|
exports.TemplateSchema = Object.assign(Object.assign({}, HubItemEntitySchema_1.HubItemEntitySchema), { properties: Object.assign(Object.assign({}, HubItemEntitySchema_1.HubItemEntitySchema.properties), { previewUrl: {
|
|
7
7
|
type: "string",
|
|
8
8
|
if: { minLength: 1 },
|
|
9
|
-
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
then: { format: "url" },
|
|
10
12
|
} }) });
|
|
11
13
|
//# sourceMappingURL=TemplateSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateSchema.js","sourceRoot":"","sources":["../../../../src/templates/_internal/TemplateSchema.ts"],"names":[],"mappings":";;;AACA,uFAAoF;AAIvE,QAAA,mBAAmB,GAAG,CAAC,mBAAmB,CAAU,CAAC;AAErD,QAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"TemplateSchema.js","sourceRoot":"","sources":["../../../../src/templates/_internal/TemplateSchema.ts"],"names":[],"mappings":";;;AACA,uFAAoF;AAIvE,QAAA,mBAAmB,GAAG,CAAC,mBAAmB,CAAU,CAAC;AAErD,QAAA,cAAc,mCACtB,yCAAmB,KACtB,UAAU,kCACL,yCAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,6DAA6D;YAC7D,aAAa;YACb,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,OAEH"}
|