@uptime.app/contracts 1.0.52 → 1.0.54-upm6374.0

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.
@@ -12,5 +12,9 @@ export interface B2BOrganisation {
12
12
  urlPrefix?: string;
13
13
  brandId?: string;
14
14
  providesPremium?: boolean;
15
+ /** Introduced to allow simple creation of demo orgs for sales team. Is used in production but only for demo purposes */
16
+ isDemo?: boolean;
17
+ /** Is used in production but only for demo purposes */
18
+ demoLogoUrl?: string;
15
19
  }
16
20
  //# sourceMappingURL=b2b-organisation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B"}
1
+ {"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wHAAwH;IACxH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -12,5 +12,9 @@ export interface B2BOrganisation {
12
12
  urlPrefix?: string;
13
13
  brandId?: string;
14
14
  providesPremium?: boolean;
15
+ /** Introduced to allow simple creation of demo orgs for sales team. Is used in production but only for demo purposes */
16
+ isDemo?: boolean;
17
+ /** Is used in production but only for demo purposes */
18
+ demoLogoUrl?: string;
15
19
  }
16
20
  //# sourceMappingURL=b2b-organisation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B"}
1
+ {"version":3,"file":"b2b-organisation.d.ts","sourceRoot":"","sources":["../../../src/b2b-organisation/b2b-organisation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wHAAwH;IACxH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uptime.app/contracts",
3
- "version": "1.0.52",
3
+ "version": "1.0.54-upm6374.0",
4
4
  "license": "MIT",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "main": "./dist/cjs/index.js",
@@ -13,5 +13,5 @@
13
13
  "devDependencies": {
14
14
  "typescript": "^5.4.3"
15
15
  },
16
- "gitHead": "fe28133931f61345f2303a4e2face722178019f5"
16
+ "gitHead": "01ea4169c5dd23b323bd7fa2a9bc7237413ad6dc"
17
17
  }
@@ -12,4 +12,8 @@ export interface B2BOrganisation {
12
12
  urlPrefix?: string; // the prefix to use for the url of the organisation
13
13
  brandId?: string;
14
14
  providesPremium?: boolean; // if the organisation provides premium we should issue the entitlements
15
+ /** Introduced to allow simple creation of demo orgs for sales team. Is used in production but only for demo purposes */
16
+ isDemo?: boolean;
17
+ /** Is used in production but only for demo purposes */
18
+ demoLogoUrl?: string;
15
19
  }
@@ -0,0 +1,50 @@
1
+ import { EnrichedHackSubjects } from '../enriched-hack/enriched-hack';
2
+ import { HackContributor, HackTopic, HackType } from '../hack/hack';
3
+
4
+ export interface CmsSearchableHack {
5
+ /** id of the hack, even if the hack is currently in draft state */
6
+ id: string;
7
+ title: string;
8
+ draftHackId: string;
9
+ hackId: string;
10
+ baseLocaleHackId: string;
11
+ locale: string;
12
+ language: string;
13
+ /** when the draft was created */
14
+ createdAt: string;
15
+ /** when the draft was last update. todo not sure what this should be */
16
+ updatedAt: string;
17
+ publishedAt?: string;
18
+ owner: string;
19
+ // will be empty on draft
20
+ acl: string[];
21
+
22
+ description: string
23
+
24
+ sourceId?: string;
25
+ themeId?: string;
26
+ coverUrl?: string;
27
+
28
+ editorialTags: string[];
29
+
30
+ copyrightFreeCoverUrl?: string;
31
+
32
+ contributors: HackContributor[];
33
+ type?: HackType;
34
+
35
+ topics: HackTopic[];
36
+ keywords: string[];
37
+ // will be empty on draft
38
+ topicsExtracted: string[];
39
+ // will be empty on draft
40
+ keywordsExtracted: string[];
41
+ // will be empty on draft
42
+ hackSubjects: EnrichedHackSubjects;
43
+
44
+ // status of the latest publish. Note, 'failed' is not current supported
45
+ workflowStatus: 'unpublished' | 'failed' | 'published' | 'publishing';
46
+ isPublished: boolean;
47
+ hasUnpublishedChanges: boolean;
48
+ // todo - do we need this in the index?
49
+ isHidden: boolean;
50
+ }