@mondaydotcomorg/z2h-shared-utils 0.8.0 → 0.9.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.
@@ -0,0 +1,21 @@
1
+ export interface AppVersionSummary {
2
+ version: number;
3
+ /** Null when published before history was recorded. */
4
+ gitSha: string | null;
5
+ deployedBy: string;
6
+ createdAt: string;
7
+ }
8
+ export interface AppVersionsResponse {
9
+ appName: string;
10
+ liveVersion: number;
11
+ versions: AppVersionSummary[];
12
+ /** True when older versions exist past this page. */
13
+ hasMore: boolean;
14
+ }
15
+ export interface DeployVersion {
16
+ version: number;
17
+ id: number | null;
18
+ /** Null for an unpublished app, or a live version published before history was recorded. */
19
+ liveGitSha: string | null;
20
+ }
21
+ //# sourceMappingURL=appVersions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appVersions.d.ts","sourceRoot":"","sources":["../src/appVersions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,qDAAqD;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,4FAA4F;IAC5F,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,21 @@
1
+ export interface AppVersionSummary {
2
+ version: number;
3
+ /** Null when published before history was recorded. */
4
+ gitSha: string | null;
5
+ deployedBy: string;
6
+ createdAt: string;
7
+ }
8
+ export interface AppVersionsResponse {
9
+ appName: string;
10
+ liveVersion: number;
11
+ versions: AppVersionSummary[];
12
+ /** True when older versions exist past this page. */
13
+ hasMore: boolean;
14
+ }
15
+ export interface DeployVersion {
16
+ version: number;
17
+ id: number | null;
18
+ /** Null for an unpublished app, or a live version published before history was recorded. */
19
+ liveGitSha: string | null;
20
+ }
21
+ //# sourceMappingURL=appVersions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appVersions.d.ts","sourceRoot":"","sources":["../../src/appVersions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,qDAAqD;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,4FAA4F;IAC5F,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
@@ -0,0 +1 @@
1
+
@@ -1,3 +1,4 @@
1
1
  export * from './constants';
2
2
  export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type DeclaredIntegration, } from './integrations';
3
+ export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './constants';
2
2
  export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type DeclaredIntegration, } from './integrations';
3
+ export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/z2h-shared-utils",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -0,0 +1,22 @@
1
+ export interface AppVersionSummary {
2
+ version: number;
3
+ /** Null when published before history was recorded. */
4
+ gitSha: string | null;
5
+ deployedBy: string;
6
+ createdAt: string;
7
+ }
8
+
9
+ export interface AppVersionsResponse {
10
+ appName: string;
11
+ liveVersion: number;
12
+ versions: AppVersionSummary[];
13
+ /** True when older versions exist past this page. */
14
+ hasMore: boolean;
15
+ }
16
+
17
+ export interface DeployVersion {
18
+ version: number;
19
+ id: number | null;
20
+ /** Null for an unpublished app, or a live version published before history was recorded. */
21
+ liveGitSha: string | null;
22
+ }
package/src/index.ts CHANGED
@@ -5,3 +5,4 @@ export {
5
5
  type AlwaysOnChannel,
6
6
  type DeclaredIntegration,
7
7
  } from './integrations';
8
+ export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';