@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.
@@ -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
- then: { format: "uri" },
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,GAAyB,gCACzD,mBAAmB,KACtB,UAAU,kCACL,mBAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,EACD,oBAAoB,EAAE;YACpB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF,MAGoB,CAAC"}
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
- then: { format: "uri" },
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,GAAyB,gCAC/C,mBAAmB,KACtB,UAAU,kCACL,mBAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,MAEoB,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
- then: { format: "uri" },
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,GAAyB,gCACzD,yCAAmB,KACtB,UAAU,kCACL,yCAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,EACD,oBAAoB,EAAE;YACpB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF,MAGoB,CAAC"}
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
- then: { format: "uri" },
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,GAAyB,gCAC/C,yCAAmB,KACtB,UAAU,kCACL,yCAAmB,CAAC,UAAU,KACjC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;YACpB,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACxB,MAEoB,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/hub-common",
3
- "version": "14.109.0",
3
+ "version": "14.109.1",
4
4
  "description": "Common TypeScript types and utility functions for @esri/hub.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "module": "dist/esm/index.js",