@elaraai/e3-cloud-types 1.0.97 → 1.1.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.
@@ -101,6 +101,41 @@ export declare const RecordListType: ArrayType<StructType<{
101
101
  }>>;
102
102
  export type RecordListType = typeof RecordListType;
103
103
  export type RecordList = ValueTypeOf<typeof RecordListType>;
104
+ /**
105
+ * What the platform made a commit from, kept beside its audit metadata: a
106
+ * record seeded from a file, or a mutation fed one (Files). The file's
107
+ * key under its source's binding, and the rows the store counted as it took
108
+ * the file in, where it did (a collection); none for a value it held whole.
109
+ * A file pushed from a dataset also names the dataset, its path as
110
+ * e3's CLI names it (`dev.customer_book`), and the hash of the value it was
111
+ * in its repository.
112
+ */
113
+ export declare const RecordAuditFileType: StructType<{
114
+ readonly key: StringType;
115
+ readonly rows: OptionType<IntegerType>;
116
+ readonly dataset: OptionType<StructType<{
117
+ readonly path: StringType;
118
+ readonly hash: StringType;
119
+ }>>;
120
+ }>;
121
+ export type RecordAuditFileType = typeof RecordAuditFileType;
122
+ export type RecordAuditFile = ValueTypeOf<typeof RecordAuditFileType>;
123
+ /**
124
+ * What a commit was made from, where the platform made it from something it
125
+ * can name: `file`, a seed's or a feed's file. Other kinds may follow.
126
+ */
127
+ export declare const RecordAuditDetailType: VariantType<{
128
+ readonly file: StructType<{
129
+ readonly key: StringType;
130
+ readonly rows: OptionType<IntegerType>;
131
+ readonly dataset: OptionType<StructType<{
132
+ readonly path: StringType;
133
+ readonly hash: StringType;
134
+ }>>;
135
+ }>;
136
+ }>;
137
+ export type RecordAuditDetailType = typeof RecordAuditDetailType;
138
+ export type RecordAuditDetail = ValueTypeOf<typeof RecordAuditDetailType>;
104
139
  /**
105
140
  * One committed record operation from the durable audit index.
106
141
  *
@@ -124,6 +159,21 @@ export declare const RecordAuditEntryType: StructType<{
124
159
  readonly source: OptionType<StringType>;
125
160
  /** Whether the state blob is still readable (false once compacted + GC'd). */
126
161
  readonly stateAvailable: BooleanType;
162
+ /**
163
+ * What the platform made the commit from, where it kept that: a record's
164
+ * seed (`$init`, `$seed`) or a mutation's feed from a file (Files).
165
+ * None for a commit made through the API, or indexed from the chain.
166
+ */
167
+ readonly detail: OptionType<VariantType<{
168
+ readonly file: StructType<{
169
+ readonly key: StringType;
170
+ readonly rows: OptionType<IntegerType>;
171
+ readonly dataset: OptionType<StructType<{
172
+ readonly path: StringType;
173
+ readonly hash: StringType;
174
+ }>>;
175
+ }>;
176
+ }>>;
127
177
  }>;
128
178
  export type RecordAuditEntryType = typeof RecordAuditEntryType;
129
179
  export type RecordAuditEntry = ValueTypeOf<typeof RecordAuditEntryType>;
@@ -148,6 +198,21 @@ export declare const RecordAuditPageType: StructType<{
148
198
  readonly source: OptionType<StringType>;
149
199
  /** Whether the state blob is still readable (false once compacted + GC'd). */
150
200
  readonly stateAvailable: BooleanType;
201
+ /**
202
+ * What the platform made the commit from, where it kept that: a record's
203
+ * seed (`$init`, `$seed`) or a mutation's feed from a file (Files).
204
+ * None for a commit made through the API, or indexed from the chain.
205
+ */
206
+ readonly detail: OptionType<VariantType<{
207
+ readonly file: StructType<{
208
+ readonly key: StringType;
209
+ readonly rows: OptionType<IntegerType>;
210
+ readonly dataset: OptionType<StructType<{
211
+ readonly path: StringType;
212
+ readonly hash: StringType;
213
+ }>>;
214
+ }>;
215
+ }>>;
151
216
  }>>;
152
217
  /** Opaque cursor for the next (older) page; none when exhausted. */
153
218
  readonly nextBefore: OptionType<StringType>;
@@ -1 +1 @@
1
- {"version":3,"file":"record-history-types.d.ts","sourceRoot":"","sources":["../../src/record-history-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EAEZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,cAA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E7B,qBAAqB;;IAErB,sEAAsE;;IAEtE,6DAA6D;;GAOI,CAAC;AACpE,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,sDAAsD;AACtD,eAAO,MAAM,6BAA6B;;EAExC,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC;AACjF,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAE1F,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;IACnC,6EAA6E;;EAE7E,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;IACnC,kCAAkC;;IAElC,uCAAuC;;;;;EAKvC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"record-history-types.d.ts","sourceRoot":"","sources":["../../src/record-history-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EAEZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,cAAc;IACzB,iEAAiE;;IAEjE,sCAAsC;;IAEtC,wFAAwF;;IAExF,kDAAkD;;IAElD,qCAAqC;;IAErC,8EAA8E;;EAE9E,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AACn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MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,mDAAmD;AACnD,eAAO,MAAM,oBAAoB;IA3B/B,0DAA0D;;IAE1D,iCAAiC;;IAEjC,6EAA6E;;IAE7E,kCAAkC;;IAElC,yEAAyE;;IAEzE;uBACmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEnB;iCAC6B;;IAE7B,qBAAqB;;IAErB,sEAAsE;;IAEtE,6DAA6D;;GAOI,CAAC;AACpE,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,sDAAsD;AACtD,eAAO,MAAM,6BAA6B;;EAExC,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC;AACjF,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAE1F,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;IACnC,6EAA6E;;EAE7E,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;IACnC,kCAAkC;;IAElC,uCAAuC;;;;;EAKvC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -56,6 +56,27 @@ export const RecordInfoType = StructType({
56
56
  });
57
57
  /** Listing of a workspace's records. */
58
58
  export const RecordListType = ArrayType(RecordInfoType);
59
+ /**
60
+ * What the platform made a commit from, kept beside its audit metadata: a
61
+ * record seeded from a file, or a mutation fed one (Files). The file's
62
+ * key under its source's binding, and the rows the store counted as it took
63
+ * the file in, where it did (a collection); none for a value it held whole.
64
+ * A file pushed from a dataset also names the dataset, its path as
65
+ * e3's CLI names it (`dev.customer_book`), and the hash of the value it was
66
+ * in its repository.
67
+ */
68
+ export const RecordAuditFileType = StructType({
69
+ key: StringType,
70
+ rows: OptionType(IntegerType),
71
+ dataset: OptionType(StructType({ path: StringType, hash: StringType })),
72
+ });
73
+ /**
74
+ * What a commit was made from, where the platform made it from something it
75
+ * can name: `file`, a seed's or a feed's file. Other kinds may follow.
76
+ */
77
+ export const RecordAuditDetailType = VariantType({
78
+ file: RecordAuditFileType,
79
+ });
59
80
  /**
60
81
  * One committed record operation from the durable audit index.
61
82
  *
@@ -79,6 +100,12 @@ export const RecordAuditEntryType = StructType({
79
100
  source: OptionType(StringType),
80
101
  /** Whether the state blob is still readable (false once compacted + GC'd). */
81
102
  stateAvailable: BooleanType,
103
+ /**
104
+ * What the platform made the commit from, where it kept that: a record's
105
+ * seed (`$init`, `$seed`) or a mutation's feed from a file (Files).
106
+ * None for a commit made through the API, or indexed from the chain.
107
+ */
108
+ detail: OptionType(RecordAuditDetailType),
82
109
  });
83
110
  /**
84
111
  * One page of the durable audit index, newest first.
@@ -1 +1 @@
1
- {"version":3,"file":"record-history-types.js","sourceRoot":"","sources":["../../src/record-history-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,GAEZ,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACvC,iEAAiE;IACjE,UAAU,EAAE,UAAU;IACtB,sCAAsC;IACtC,SAAS,EAAE,UAAU;IACrB,wFAAwF;IACxF,QAAQ,EAAE,UAAU;IACpB,kDAAkD;IAClD,KAAK,EAAE,UAAU;I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AAE,UAAU;QACpB,MAAM,EAAE,UAAU;KACnB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"record-history-types.js","sourceRoot":"","sources":["../../src/record-history-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,GAEZ,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACvC,iEAAiE;IACjE,UAAU,EAAE,UAAU;IACtB,sCAAsC;IACtC,SAAS,EAAE,UAAU;IACrB,wFAAwF;IACxF,QAAQ,EAAE,UAAU;IACpB,kDAAkD;IAClD,KAAK,EAAE,UAAU;IACjB,qCAAqC;IACrC,EAAE,EAAE,YAAY;IAChB,8EAA8E;IAC9E,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;CAClC,CAAC,CAAC;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACvC,sDAAsD;IACtD,IAAI,EAAE,UAAU;IAChB,gDAAgD;IAChD,IAAI,EAAE,UAAU;IAChB,uCAAuC;IACvC,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC;IAChC,0DAA0D;IAC1D,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC;IAChC,gFAAgF;IAChF,WAAW,EAAE,WAAW;IACxB,0EAA0E;IAC1E,WAAW,EAAE,WAAW;CACzB,CAAC,CAAC;AAIH,wCAAwC;AACxC,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;AAIxD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC5C,GAAG,EAAE,UAA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D,EAAE,EAAE,UAAU;IACd,iCAAiC;IACjC,SAAS,EAAE,YAAY;IACvB,6EAA6E;IAC7E,KAAK,EAAE,UAAU;IACjB,kCAAkC;IAClC,UAAU,EAAE,UAAU;IACtB,yEAAyE;IACzE,SAAS,EAAE,UAAU;IACrB;uBACmB;IACnB,UAAU,EAAE,YAAY;IACxB;iCAC6B;IAC7B,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;IACjC,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAC5B,sEAAsE;IACtE,IAAI,EAAE,WAAW;IACjB,6DAA6D;IAC7D,eAAe,EAAE,UAAU,CAAC,UAAU,CAAC;CACxC,CAAC,CAAC;AAIH,mDAAmD;AACnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,SAAS,CAAC,oBAAoB,CAAC,CAAC;AAIpE,sDAAsD;AACtD,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC;IACtD,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;CAC7B,CAAC,CAAC;AAIH,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD,6EAA6E;IAC7E,YAAY,EAAE,UAAU,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAIH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD,kCAAkC;IAClC,SAAS,EAAE,UAAU;IACrB,uCAAuC;IACvC,KAAK,EAAE,WAAW,CAAC;QACjB,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,UAAU;KACnB,CAAC;CACH,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * A RepoUser represents an entry in a repository's access control list (ACL).
9
9
  * Each entry maps a user (by their subject ID) to a role on the repository.
10
10
  */
11
- import { StructType, StringType, OptionType, ValueTypeOf } from '@elaraai/east';
11
+ import { DateTimeType, StructType, StringType, OptionType, ValueTypeOf } from '@elaraai/east';
12
12
  /**
13
13
  * A user entry in a repository's ACL.
14
14
  */
@@ -28,8 +28,8 @@ export declare const RepoUserType: StructType<{
28
28
  }>;
29
29
  /** userId of the user who added this entry */
30
30
  readonly addedBy: StringType;
31
- /** ISO 8601 timestamp when user was added */
32
- readonly addedAt: StringType;
31
+ /** When the user was added */
32
+ readonly addedAt: DateTimeType;
33
33
  }>;
34
34
  export type RepoUser = ValueTypeOf<typeof RepoUserType>;
35
35
  //# sourceMappingURL=repo-user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repo-user.d.ts","sourceRoot":"","sources":["../../src/repo-user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGhF;;GAEG;AACH,eAAO,MAAM,YAAY;IACvB,2CAA2C;;IAG3C,qEAAqE;;IAGrE,iEAAiE;;IAGjE,qCAAqC;;;;;;;IAGrC,8CAA8C;;IAG9C,6CAA6C;;EAE7C,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"repo-user.d.ts","sourceRoot":"","sources":["../../src/repo-user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG9F;;GAEG;AACH,eAAO,MAAM,YAAY;IACvB,2CAA2C;;IAG3C,qEAAqE;;IAGrE,iEAAiE;;IAGjE,qCAAqC;;;;;;;IAGrC,8CAA8C;;IAG9C,8BAA8B;;EAE9B,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * A RepoUser represents an entry in a repository's access control list (ACL).
9
9
  * Each entry maps a user (by their subject ID) to a role on the repository.
10
10
  */
11
- import { StructType, StringType, OptionType } from '@elaraai/east';
11
+ import { DateTimeType, StructType, StringType, OptionType } from '@elaraai/east';
12
12
  import { RepoRoleType } from './repo-role.js';
13
13
  /**
14
14
  * A user entry in a repository's ACL.
@@ -24,7 +24,7 @@ export const RepoUserType = StructType({
24
24
  role: RepoRoleType,
25
25
  /** userId of the user who added this entry */
26
26
  addedBy: StringType,
27
- /** ISO 8601 timestamp when user was added */
28
- addedAt: StringType,
27
+ /** When the user was added */
28
+ addedAt: DateTimeType,
29
29
  });
30
30
  //# sourceMappingURL=repo-user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"repo-user.js","sourceRoot":"","sources":["../../src/repo-user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAe,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACrC,2CAA2C;IAC3C,MAAM,EAAE,UAAU;IAElB,qEAAqE;IACrE,KAAK,EAAE,UAAU;IAEjB,iEAAiE;IACjE,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAE5B,qCAAqC;IACrC,IAAI,EAAE,YAAY;IAElB,8CAA8C;IAC9C,OAAO,EAAE,UAAU;IAEnB,6CAA6C;IAC7C,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC"}
1
+ {"version":3,"file":"repo-user.js","sourceRoot":"","sources":["../../src/repo-user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAe,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACrC,2CAA2C;IAC3C,MAAM,EAAE,UAAU;IAElB,qEAAqE;IACrE,KAAK,EAAE,UAAU;IAEjB,iEAAiE;IACjE,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAE5B,qCAAqC;IACrC,IAAI,EAAE,YAAY;IAElB,8CAA8C;IAC9C,OAAO,EAAE,UAAU;IAEnB,8BAA8B;IAC9B,OAAO,EAAE,YAAY;CACtB,CAAC,CAAC"}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * These types define the structure of API payloads for authorization endpoints.
9
9
  */
10
- import { StructType, StringType, BooleanType, OptionType, ValueTypeOf } from '@elaraai/east';
10
+ import { ArrayType, StructType, StringType, BooleanType, OptionType, ValueTypeOf } from '@elaraai/east';
11
11
  /**
12
12
  * Request body for adding a user to a repository.
13
13
  *
@@ -20,7 +20,7 @@ export declare const AddUserRequestType: StructType<{
20
20
  readonly role: import("@elaraai/east").VariantType<{
21
21
  readonly owner: import("@elaraai/east").NullType;
22
22
  readonly user: StructType<{
23
- readonly roles: import("@elaraai/east").ArrayType<StringType>;
23
+ readonly roles: ArrayType<StringType>;
24
24
  }>;
25
25
  }>;
26
26
  }>;
@@ -41,4 +41,19 @@ export declare const WhoamiResponseType: StructType<{
41
41
  readonly isAdmin: BooleanType;
42
42
  }>;
43
43
  export type WhoamiResponse = ValueTypeOf<typeof WhoamiResponseType>;
44
+ /**
45
+ * What a deployment runs (`GET /api/platform`): its e3 cloud release,
46
+ * the e3 its runners run, and each next e3 a bundle is staged for (an app
47
+ * deployed with `--for-platform`) in the repositories the caller manages, so
48
+ * `e3-cloud whoami` can say which releases it is talking to.
49
+ */
50
+ export declare const PlatformVersionsType: StructType<{
51
+ /** e3 cloud's release: its packages' version (e.g. `1.1.1`); none where the deployment was not told it */
52
+ readonly e3Cloud: OptionType<StringType>;
53
+ /** The e3 release the platform and its runners run: the @elaraai lockstep */
54
+ readonly e3: StringType;
55
+ /** The next e3 releases an app's bundle is staged for, in the repositories the caller manages; sorted */
56
+ readonly staged: ArrayType<StringType>;
57
+ }>;
58
+ export type PlatformVersions = ValueTypeOf<typeof PlatformVersionsType>;
44
59
  //# sourceMappingURL=request-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"request-types.d.ts","sourceRoot":"","sources":["../../src/request-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG7F;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC7B,qGAAqG;;IAGrG,qBAAqB;;;;;;;EAErB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC7B,yBAAyB;;IAGzB,mCAAmC;;IAGnC,kCAAkC;;IAGlC,qCAAqC;;EAErC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"request-types.d.ts","sourceRoot":"","sources":["../../src/request-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGxG;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC7B,qGAAqG;;IAGrG,qBAAqB;;;;;;;EAErB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC7B,yBAAyB;;IAGzB,mCAAmC;;IAGnC,kCAAkC;;IAGlC,qCAAqC;;EAErC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;IAC/B,0GAA0G;;IAE1G,6EAA6E;;IAE7E,yGAAyG;;EAEzG,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * These types define the structure of API payloads for authorization endpoints.
9
9
  */
10
- import { StructType, StringType, BooleanType, OptionType } from '@elaraai/east';
10
+ import { ArrayType, StructType, StringType, BooleanType, OptionType } from '@elaraai/east';
11
11
  import { RepoRoleType } from './repo-role.js';
12
12
  /**
13
13
  * Request body for adding a user to a repository.
@@ -35,4 +35,18 @@ export const WhoamiResponseType = StructType({
35
35
  /** Whether user is a server admin */
36
36
  isAdmin: BooleanType,
37
37
  });
38
+ /**
39
+ * What a deployment runs (`GET /api/platform`): its e3 cloud release,
40
+ * the e3 its runners run, and each next e3 a bundle is staged for (an app
41
+ * deployed with `--for-platform`) in the repositories the caller manages, so
42
+ * `e3-cloud whoami` can say which releases it is talking to.
43
+ */
44
+ export const PlatformVersionsType = StructType({
45
+ /** e3 cloud's release: its packages' version (e.g. `1.1.1`); none where the deployment was not told it */
46
+ e3Cloud: OptionType(StringType),
47
+ /** The e3 release the platform and its runners run: the @elaraai lockstep */
48
+ e3: StringType,
49
+ /** The next e3 releases an app's bundle is staged for, in the repositories the caller manages; sorted */
50
+ staged: ArrayType(StringType),
51
+ });
38
52
  //# sourceMappingURL=request-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"request-types.js","sourceRoot":"","sources":["../../src/request-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAe,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;GAIG;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AC;IAC/B,6EAA6E;IAC7E,EAAE,EAAE,UAAU;IACd,yGAAyG;IACzG,MAAM,EAAE,SAAS,CAAC,UAAU,CAAC;CAC9B,CAAC,CAAC"}
@@ -9,7 +9,7 @@
9
9
  * - ScheduleType: A workspace's schedule
10
10
  * - ScheduleRequestType: PUT request body for creating/updating schedules
11
11
  */
12
- import { StructType, StringType, BooleanType, ArrayType, OptionType, type ValueTypeOf } from '@elaraai/east';
12
+ import { StructType, StringType, BooleanType, ArrayType, DateTimeType, OptionType, type ValueTypeOf } from '@elaraai/east';
13
13
  /**
14
14
  * A workspace's schedule: when its dataflow runs, and the tasks each run
15
15
  * forces.
@@ -23,8 +23,8 @@ export declare const ScheduleType: StructType<{
23
23
  readonly enabled: BooleanType;
24
24
  readonly description: OptionType<StringType>;
25
25
  readonly createdBy: StringType;
26
- readonly createdAt: StringType;
27
- readonly updatedAt: StringType;
26
+ readonly createdAt: DateTimeType;
27
+ readonly updatedAt: DateTimeType;
28
28
  readonly schedulerName: StringType;
29
29
  }>;
30
30
  export type Schedule = ValueTypeOf<typeof ScheduleType>;
@@ -1 +1 @@
1
- {"version":3,"file":"schedule-types.d.ts","sourceRoot":"","sources":["../../src/schedule-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;EAYvB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAM9B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"schedule-types.d.ts","sourceRoot":"","sources":["../../src/schedule-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,UAAU,EACV,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;EAYvB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAM9B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -9,7 +9,7 @@
9
9
  * - ScheduleType: A workspace's schedule
10
10
  * - ScheduleRequestType: PUT request body for creating/updating schedules
11
11
  */
12
- import { StructType, StringType, BooleanType, ArrayType, OptionType, } from '@elaraai/east';
12
+ import { StructType, StringType, BooleanType, ArrayType, DateTimeType, OptionType, } from '@elaraai/east';
13
13
  /**
14
14
  * A workspace's schedule: when its dataflow runs, and the tasks each run
15
15
  * forces.
@@ -23,8 +23,8 @@ export const ScheduleType = StructType({
23
23
  enabled: BooleanType,
24
24
  description: OptionType(StringType),
25
25
  createdBy: StringType,
26
- createdAt: StringType,
27
- updatedAt: StringType,
26
+ createdAt: DateTimeType,
27
+ updatedAt: DateTimeType,
28
28
  schedulerName: StringType,
29
29
  });
30
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"schedule-types.js","sourceRoot":"","sources":["../../src/schedule-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,UAAU,GAEX,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACrC,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,UAAU;IACrB,cAAc,EAAE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AAU,CAAC;IAChC,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;IACjC,OAAO,EAAE,WAAW;IACpB,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC;CACpC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@elaraai/e3-cloud-types",
3
- "version": "1.0.97",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "description": "The East types of e3 cloud's API, shared by its clients",
6
6
  "license": "BUSL-1.1",
7
7
  "main": "dist/src/index.js",
8
8
  "types": "dist/src/index.d.ts",
9
9
  "peerDependencies": {
10
- "@elaraai/east": "1.0.97",
11
- "@elaraai/e3-types": "1.0.97"
10
+ "@elaraai/east": "1.0.101",
11
+ "@elaraai/e3-types": "1.0.101"
12
12
  },
13
13
  "files": [
14
14
  "dist/src/**/*",