@rikalabs/akter-cli 0.0.0-stage → 0.1.0-alpha.4
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/CHANGELOG.md +27 -0
- package/LICENSE +202 -0
- package/NOTICE +8 -0
- package/README.md +16 -2
- package/dist/cloud-api/auth.d.ts +79 -0
- package/dist/cloud-api/billing.d.ts +312 -0
- package/dist/cloud-api/contract.d.ts +1556 -0
- package/dist/cloud-api/deployments.d.ts +161 -0
- package/dist/cloud-api/errors.d.ts +75 -0
- package/dist/cloud-api/groups/account.d.ts +370 -0
- package/dist/cloud-api/groups/billing.d.ts +170 -0
- package/dist/cloud-api/groups/deployments.d.ts +304 -0
- package/dist/cloud-api/groups/projects.d.ts +284 -0
- package/dist/cloud-api/groups/runtime.d.ts +482 -0
- package/dist/cloud-api/identity.d.ts +313 -0
- package/dist/cloud-api/index.d.ts +15 -0
- package/dist/cloud-api/index.js +1637 -0
- package/dist/cloud-api/logs.d.ts +44 -0
- package/dist/cloud-api/primitives.d.ts +82 -0
- package/dist/cloud-api/projects.d.ts +189 -0
- package/dist/cloud-api/runtime.d.ts +595 -0
- package/dist/inspector-client.js +14 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +3280 -0
- package/package.json +1 -6
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const PlanId: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
3
|
+
export type PlanId = typeof PlanId.Type;
|
|
4
|
+
/** An organization with no billing account; the edge refuses every metered request it makes. */
|
|
5
|
+
export declare const UnboundPlan: Schema.TaggedStruct<"unbound", {}>;
|
|
6
|
+
export type UnboundPlan = typeof UnboundPlan.Type;
|
|
7
|
+
/** A plan the pricing configuration defines. */
|
|
8
|
+
export declare const KnownPlan: Schema.TaggedStruct<"known", {
|
|
9
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
10
|
+
}>;
|
|
11
|
+
export type KnownPlan = typeof KnownPlan.Type;
|
|
12
|
+
/**
|
|
13
|
+
* A stored plan id the pricing configuration does not define, kept as the
|
|
14
|
+
* stored string.
|
|
15
|
+
*/
|
|
16
|
+
export declare const UnknownPlan: Schema.TaggedStruct<"unknown", {
|
|
17
|
+
readonly id: Schema.String;
|
|
18
|
+
}>;
|
|
19
|
+
export type UnknownPlan = typeof UnknownPlan.Type;
|
|
20
|
+
/**
|
|
21
|
+
* The plan an organization is on. `unbound` means it has no billing account,
|
|
22
|
+
* so it has no plan at all and is never reported as Free. `known` carries a
|
|
23
|
+
* plan the pricing configuration defines. `unknown` carries a stored plan id
|
|
24
|
+
* the pricing configuration does not define, kept as the stored string so
|
|
25
|
+
* org context still loads while billing and usage answer `Unavailable` with
|
|
26
|
+
* reason `unknownPlan`.
|
|
27
|
+
*/
|
|
28
|
+
export declare const OrganizationPlan: Schema.Union<readonly [Schema.TaggedStruct<"unbound", {}>, Schema.TaggedStruct<"known", {
|
|
29
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
30
|
+
}>, Schema.TaggedStruct<"unknown", {
|
|
31
|
+
readonly id: Schema.String;
|
|
32
|
+
}>]>;
|
|
33
|
+
export type OrganizationPlan = typeof OrganizationPlan.Type;
|
|
34
|
+
export declare const User: Schema.Struct<{
|
|
35
|
+
readonly id: Schema.brand<Schema.String, "UserId">;
|
|
36
|
+
readonly name: Schema.String;
|
|
37
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
38
|
+
readonly emailVerified: Schema.Boolean;
|
|
39
|
+
readonly image: Schema.NullOr<Schema.String>;
|
|
40
|
+
}>;
|
|
41
|
+
export type User = typeof User.Type;
|
|
42
|
+
export declare const Organization: Schema.Struct<{
|
|
43
|
+
readonly id: Schema.brand<Schema.String, "OrganizationId">;
|
|
44
|
+
readonly name: Schema.String;
|
|
45
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
46
|
+
readonly plan: Schema.Union<readonly [Schema.TaggedStruct<"unbound", {}>, Schema.TaggedStruct<"known", {
|
|
47
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
48
|
+
}>, Schema.TaggedStruct<"unknown", {
|
|
49
|
+
readonly id: Schema.String;
|
|
50
|
+
}>]>;
|
|
51
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
52
|
+
}>;
|
|
53
|
+
export type Organization = typeof Organization.Type;
|
|
54
|
+
export declare const OrganizationMembership: Schema.Struct<{
|
|
55
|
+
readonly organization: Schema.Struct<{
|
|
56
|
+
readonly id: Schema.brand<Schema.String, "OrganizationId">;
|
|
57
|
+
readonly name: Schema.String;
|
|
58
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
59
|
+
readonly plan: Schema.Union<readonly [Schema.TaggedStruct<"unbound", {}>, Schema.TaggedStruct<"known", {
|
|
60
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
61
|
+
}>, Schema.TaggedStruct<"unknown", {
|
|
62
|
+
readonly id: Schema.String;
|
|
63
|
+
}>]>;
|
|
64
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
65
|
+
}>;
|
|
66
|
+
readonly role: Schema.Literals<readonly ["owner", "admin", "member", "viewer"]>;
|
|
67
|
+
}>;
|
|
68
|
+
export type OrganizationMembership = typeof OrganizationMembership.Type;
|
|
69
|
+
/**
|
|
70
|
+
* The caller as the app shell needs it. `user` is null when an API key
|
|
71
|
+
* called: a key is an organization's actor, not a person.
|
|
72
|
+
*/
|
|
73
|
+
export declare const Me: Schema.Struct<{
|
|
74
|
+
readonly user: Schema.NullOr<Schema.Struct<{
|
|
75
|
+
readonly id: Schema.brand<Schema.String, "UserId">;
|
|
76
|
+
readonly name: Schema.String;
|
|
77
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
78
|
+
readonly emailVerified: Schema.Boolean;
|
|
79
|
+
readonly image: Schema.NullOr<Schema.String>;
|
|
80
|
+
}>>;
|
|
81
|
+
readonly identityKind: Schema.Literals<readonly ["session", "api-key"]>;
|
|
82
|
+
readonly activeOrganizationId: Schema.NullOr<Schema.brand<Schema.String, "OrganizationId">>;
|
|
83
|
+
readonly organizations: Schema.$Array<Schema.Struct<{
|
|
84
|
+
readonly organization: Schema.Struct<{
|
|
85
|
+
readonly id: Schema.brand<Schema.String, "OrganizationId">;
|
|
86
|
+
readonly name: Schema.String;
|
|
87
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
88
|
+
readonly plan: Schema.Union<readonly [Schema.TaggedStruct<"unbound", {}>, Schema.TaggedStruct<"known", {
|
|
89
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
90
|
+
}>, Schema.TaggedStruct<"unknown", {
|
|
91
|
+
readonly id: Schema.String;
|
|
92
|
+
}>]>;
|
|
93
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
94
|
+
}>;
|
|
95
|
+
readonly role: Schema.Literals<readonly ["owner", "admin", "member", "viewer"]>;
|
|
96
|
+
}>>;
|
|
97
|
+
}>;
|
|
98
|
+
export type Me = typeof Me.Type;
|
|
99
|
+
export declare const UpdateProfile: Schema.Struct<{
|
|
100
|
+
readonly name: Schema.optional<Schema.brand<Schema.String, "Name">>;
|
|
101
|
+
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
102
|
+
}>;
|
|
103
|
+
export type UpdateProfile = typeof UpdateProfile.Type;
|
|
104
|
+
/** Exact email confirmation for removing the authenticated person's account. */
|
|
105
|
+
export declare const DeleteAccount: Schema.Struct<{
|
|
106
|
+
readonly confirmation: Schema.brand<Schema.String, "Email">;
|
|
107
|
+
}>;
|
|
108
|
+
export type DeleteAccount = typeof DeleteAccount.Type;
|
|
109
|
+
/**
|
|
110
|
+
* The authenticated person's data, grouped by durable table. Credentials, session tokens and
|
|
111
|
+
* verification values are excluded; sessions and provider accounts contain metadata only.
|
|
112
|
+
* No user selector is accepted: the verified session determines whose data is returned.
|
|
113
|
+
*/
|
|
114
|
+
export declare const PersonalDataExport: Schema.Struct<{
|
|
115
|
+
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
116
|
+
readonly exportedAt: Schema.DateTimeUtc;
|
|
117
|
+
readonly tables: Schema.$Record<Schema.String, Schema.$Array<Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
118
|
+
}>;
|
|
119
|
+
export type PersonalDataExport = typeof PersonalDataExport.Type;
|
|
120
|
+
/**
|
|
121
|
+
* Progress of an accepted organization deletion. Acceptance is not completion: billing,
|
|
122
|
+
* runner retirement and database deprovisioning must finish before organization records disappear.
|
|
123
|
+
* A blocked step remains durable and can be retried by repeating the deletion request.
|
|
124
|
+
*/
|
|
125
|
+
export declare const OrganizationDeletion: Schema.Struct<{
|
|
126
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
127
|
+
readonly phase: Schema.Literals<readonly ["billing", "runners", "databases", "records", "completed"]>;
|
|
128
|
+
readonly blocked: Schema.Boolean;
|
|
129
|
+
}>;
|
|
130
|
+
export type OrganizationDeletion = typeof OrganizationDeletion.Type;
|
|
131
|
+
export declare const SetActiveOrganization: Schema.Struct<{
|
|
132
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
133
|
+
}>;
|
|
134
|
+
export type SetActiveOrganization = typeof SetActiveOrganization.Type;
|
|
135
|
+
export declare const CreateOrganization: Schema.Struct<{
|
|
136
|
+
readonly name: Schema.brand<Schema.String, "Name">;
|
|
137
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
138
|
+
}>;
|
|
139
|
+
export type CreateOrganization = typeof CreateOrganization.Type;
|
|
140
|
+
export declare const UpdateOrganization: Schema.Struct<{
|
|
141
|
+
readonly name: Schema.optional<Schema.brand<Schema.String, "Name">>;
|
|
142
|
+
readonly slug: Schema.optional<Schema.brand<Schema.String, "Slug">>;
|
|
143
|
+
}>;
|
|
144
|
+
export type UpdateOrganization = typeof UpdateOrganization.Type;
|
|
145
|
+
export declare const MemberUser: Schema.Struct<{
|
|
146
|
+
readonly id: Schema.brand<Schema.String, "UserId">;
|
|
147
|
+
readonly name: Schema.String;
|
|
148
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
149
|
+
readonly image: Schema.NullOr<Schema.String>;
|
|
150
|
+
}>;
|
|
151
|
+
export type MemberUser = typeof MemberUser.Type;
|
|
152
|
+
export declare const Member: Schema.Struct<{
|
|
153
|
+
readonly id: Schema.brand<Schema.String, "MemberId">;
|
|
154
|
+
readonly user: Schema.Struct<{
|
|
155
|
+
readonly id: Schema.brand<Schema.String, "UserId">;
|
|
156
|
+
readonly name: Schema.String;
|
|
157
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
158
|
+
readonly image: Schema.NullOr<Schema.String>;
|
|
159
|
+
}>;
|
|
160
|
+
readonly role: Schema.Literals<readonly ["owner", "admin", "member", "viewer"]>;
|
|
161
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
162
|
+
readonly lastActiveAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
163
|
+
}>;
|
|
164
|
+
export type Member = typeof Member.Type;
|
|
165
|
+
export declare const UpdateMemberRole: Schema.Struct<{
|
|
166
|
+
readonly role: Schema.Literals<readonly ["owner", "admin", "member", "viewer"]>;
|
|
167
|
+
}>;
|
|
168
|
+
export type UpdateMemberRole = typeof UpdateMemberRole.Type;
|
|
169
|
+
export declare const InvitationStatus: Schema.Literals<readonly ["pending", "accepted", "declined", "canceled", "expired"]>;
|
|
170
|
+
export type InvitationStatus = typeof InvitationStatus.Type;
|
|
171
|
+
export declare const Invitation: Schema.Struct<{
|
|
172
|
+
readonly id: Schema.brand<Schema.String, "InvitationId">;
|
|
173
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
174
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
175
|
+
readonly role: Schema.Literals<readonly ["admin", "member", "viewer"]>;
|
|
176
|
+
readonly status: Schema.Literals<readonly ["pending", "accepted", "declined", "canceled", "expired"]>;
|
|
177
|
+
readonly invitedBy: Schema.Struct<{
|
|
178
|
+
readonly id: Schema.brand<Schema.String, "UserId">;
|
|
179
|
+
readonly name: Schema.String;
|
|
180
|
+
}>;
|
|
181
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
182
|
+
readonly expiresAt: Schema.DateTimeUtc;
|
|
183
|
+
}>;
|
|
184
|
+
export type Invitation = typeof Invitation.Type;
|
|
185
|
+
export declare const CreateInvitation: Schema.Struct<{
|
|
186
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
187
|
+
readonly role: Schema.Literals<readonly ["admin", "member", "viewer"]>;
|
|
188
|
+
}>;
|
|
189
|
+
export type CreateInvitation = typeof CreateInvitation.Type;
|
|
190
|
+
/** What the accept-invitation screen shows the invitee. */
|
|
191
|
+
export declare const InvitationPreview: Schema.Struct<{
|
|
192
|
+
readonly id: Schema.brand<Schema.String, "InvitationId">;
|
|
193
|
+
readonly email: Schema.brand<Schema.String, "Email">;
|
|
194
|
+
readonly role: Schema.Literals<readonly ["admin", "member", "viewer"]>;
|
|
195
|
+
readonly status: Schema.Literals<readonly ["pending", "accepted", "declined", "canceled", "expired"]>;
|
|
196
|
+
readonly expiresAt: Schema.DateTimeUtc;
|
|
197
|
+
readonly inviterName: Schema.String;
|
|
198
|
+
readonly organization: Schema.Struct<{
|
|
199
|
+
readonly id: Schema.brand<Schema.String, "OrganizationId">;
|
|
200
|
+
readonly name: Schema.String;
|
|
201
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
202
|
+
readonly plan: Schema.Union<readonly [Schema.TaggedStruct<"unbound", {}>, Schema.TaggedStruct<"known", {
|
|
203
|
+
readonly id: Schema.Literals<readonly ["free", "pro", "team", "enterprise"]>;
|
|
204
|
+
}>, Schema.TaggedStruct<"unknown", {
|
|
205
|
+
readonly id: Schema.String;
|
|
206
|
+
}>]>;
|
|
207
|
+
readonly memberCount: Schema.Int;
|
|
208
|
+
}>;
|
|
209
|
+
}>;
|
|
210
|
+
export type InvitationPreview = typeof InvitationPreview.Type;
|
|
211
|
+
export declare const ApiKeyPermission: Schema.Literals<readonly ["read", "write", "admin"]>;
|
|
212
|
+
export type ApiKeyPermission = typeof ApiKeyPermission.Type;
|
|
213
|
+
/** An organization-owned key. Only a prefix and the last four characters are ever readable. */
|
|
214
|
+
export declare const ApiKey: Schema.Struct<{
|
|
215
|
+
readonly id: Schema.brand<Schema.String, "ApiKeyId">;
|
|
216
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
217
|
+
readonly name: Schema.String;
|
|
218
|
+
readonly prefix: Schema.String;
|
|
219
|
+
readonly lastFour: Schema.String;
|
|
220
|
+
readonly permission: Schema.Literals<readonly ["read", "write", "admin"]>;
|
|
221
|
+
readonly projectId: Schema.NullOr<Schema.brand<Schema.String, "ProjectId">>;
|
|
222
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
223
|
+
readonly createdBy: Schema.Struct<{
|
|
224
|
+
readonly kind: Schema.Literals<readonly ["user", "api-key"]>;
|
|
225
|
+
readonly id: Schema.String;
|
|
226
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
227
|
+
}>;
|
|
228
|
+
readonly lastUsedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
229
|
+
readonly expiresAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
230
|
+
readonly revokedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
231
|
+
}>;
|
|
232
|
+
export type ApiKey = typeof ApiKey.Type;
|
|
233
|
+
export declare const CreateApiKey: Schema.Struct<{
|
|
234
|
+
readonly name: Schema.brand<Schema.String, "Name">;
|
|
235
|
+
readonly permission: Schema.Literals<readonly ["read", "write", "admin"]>;
|
|
236
|
+
readonly projectId: Schema.optional<Schema.brand<Schema.String, "ProjectId">>;
|
|
237
|
+
readonly expiresAt: Schema.optional<Schema.DateTimeUtc>;
|
|
238
|
+
}>;
|
|
239
|
+
export type CreateApiKey = typeof CreateApiKey.Type;
|
|
240
|
+
/** The one response that carries a key's secret; it is never readable again. */
|
|
241
|
+
export declare const CreatedApiKey: Schema.Struct<{
|
|
242
|
+
readonly key: Schema.Struct<{
|
|
243
|
+
readonly id: Schema.brand<Schema.String, "ApiKeyId">;
|
|
244
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
245
|
+
readonly name: Schema.String;
|
|
246
|
+
readonly prefix: Schema.String;
|
|
247
|
+
readonly lastFour: Schema.String;
|
|
248
|
+
readonly permission: Schema.Literals<readonly ["read", "write", "admin"]>;
|
|
249
|
+
readonly projectId: Schema.NullOr<Schema.brand<Schema.String, "ProjectId">>;
|
|
250
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
251
|
+
readonly createdBy: Schema.Struct<{
|
|
252
|
+
readonly kind: Schema.Literals<readonly ["user", "api-key"]>;
|
|
253
|
+
readonly id: Schema.String;
|
|
254
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
255
|
+
}>;
|
|
256
|
+
readonly lastUsedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
257
|
+
readonly expiresAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
258
|
+
readonly revokedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
259
|
+
}>;
|
|
260
|
+
readonly secret: Schema.String;
|
|
261
|
+
}>;
|
|
262
|
+
export type CreatedApiKey = typeof CreatedApiKey.Type;
|
|
263
|
+
export declare const Theme: Schema.Literals<readonly ["light", "dark", "system"]>;
|
|
264
|
+
export type Theme = typeof Theme.Type;
|
|
265
|
+
export declare const Preferences: Schema.Struct<{
|
|
266
|
+
readonly defaultEnvironment: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
267
|
+
readonly openActorLinksInNewTab: Schema.Boolean;
|
|
268
|
+
readonly timeZone: Schema.String;
|
|
269
|
+
readonly pauseLiveTailOnScroll: Schema.Boolean;
|
|
270
|
+
readonly showReplayedCommands: Schema.Boolean;
|
|
271
|
+
readonly theme: Schema.Literals<readonly ["light", "dark", "system"]>;
|
|
272
|
+
}>;
|
|
273
|
+
export type Preferences = typeof Preferences.Type;
|
|
274
|
+
export declare const UpdatePreferences: Schema.Struct<{
|
|
275
|
+
readonly defaultEnvironment: Schema.optional<Schema.Literals<readonly ["production", "staging", "dev"]>>;
|
|
276
|
+
readonly openActorLinksInNewTab: Schema.optional<Schema.Boolean>;
|
|
277
|
+
readonly timeZone: Schema.optional<Schema.String>;
|
|
278
|
+
readonly pauseLiveTailOnScroll: Schema.optional<Schema.Boolean>;
|
|
279
|
+
readonly showReplayedCommands: Schema.optional<Schema.Boolean>;
|
|
280
|
+
readonly theme: Schema.optional<Schema.Literals<readonly ["light", "dark", "system"]>>;
|
|
281
|
+
}>;
|
|
282
|
+
export type UpdatePreferences = typeof UpdatePreferences.Type;
|
|
283
|
+
export declare const NotificationEvent: Schema.Literals<readonly ["deploy_failed", "dead_letter", "spend_threshold"]>;
|
|
284
|
+
export type NotificationEvent = typeof NotificationEvent.Type;
|
|
285
|
+
export declare const NotificationPreference: Schema.Struct<{
|
|
286
|
+
readonly event: Schema.Literals<readonly ["deploy_failed", "dead_letter", "spend_threshold"]>;
|
|
287
|
+
readonly email: Schema.Boolean;
|
|
288
|
+
readonly slack: Schema.Boolean;
|
|
289
|
+
}>;
|
|
290
|
+
export type NotificationPreference = typeof NotificationPreference.Type;
|
|
291
|
+
export declare const NotificationSettings: Schema.Struct<{
|
|
292
|
+
readonly preferences: Schema.$Array<Schema.Struct<{
|
|
293
|
+
readonly event: Schema.Literals<readonly ["deploy_failed", "dead_letter", "spend_threshold"]>;
|
|
294
|
+
readonly email: Schema.Boolean;
|
|
295
|
+
readonly slack: Schema.Boolean;
|
|
296
|
+
}>>;
|
|
297
|
+
}>;
|
|
298
|
+
export type NotificationSettings = typeof NotificationSettings.Type;
|
|
299
|
+
/** A pinned actor with the live status the sidebar shows; `unknown` when no deployment is running. */
|
|
300
|
+
export declare const PinnedActor: Schema.Struct<{
|
|
301
|
+
readonly projectId: Schema.brand<Schema.String, "ProjectId">;
|
|
302
|
+
readonly environment: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
303
|
+
readonly address: Schema.String;
|
|
304
|
+
readonly status: Schema.Literals<readonly ["awake", "idle", "unknown"]>;
|
|
305
|
+
readonly lastActivityAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
306
|
+
}>;
|
|
307
|
+
export type PinnedActor = typeof PinnedActor.Type;
|
|
308
|
+
export declare const PinActor: Schema.Struct<{
|
|
309
|
+
readonly projectId: Schema.brand<Schema.String, "ProjectId">;
|
|
310
|
+
readonly environment: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
311
|
+
readonly address: Schema.String;
|
|
312
|
+
}>;
|
|
313
|
+
export type PinActor = typeof PinActor.Type;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { Conflict, Forbidden, NotFound, NotFoundResource, NotImplemented, PayloadTooLarge, Unavailable, UnavailableReason, ReadErrors, SelfErrors, Unauthorized, WriteErrors, } from "./errors.ts";
|
|
2
|
+
export { ApiKeyIdentity, Authentication, CurrentIdentity, Identity, SessionIdentity, apiKeyHeaderName, secureSessionCookieName, sessionCookieName, } from "./auth.ts";
|
|
3
|
+
export { ActorAddress, ActorReference, ApiKeyId, BillingPeriod, CalendarDay, CommitSha, DeadLetterId, DeploymentId, DomainId, Email, EnvironmentName, InvitationId, InviteRole, EnvironmentId, InvoiceId, MemberId, Name, NonNegative, NonNegativeInt, OrganizationId, Page, ProjectId, RegionId, Role, SeriesPoint, Slug, Timestamp, UserId, pageQuery, } from "./primitives.ts";
|
|
4
|
+
export { ApiKey, ApiKeyPermission, CreateApiKey, CreateInvitation, CreateOrganization, CreatedApiKey, DeleteAccount, Invitation, InvitationPreview, KnownPlan, InvitationStatus, Me, Member, MemberUser, NotificationEvent, NotificationPreference, NotificationSettings, Organization, OrganizationDeletion, OrganizationMembership, OrganizationPlan, PinActor, PersonalDataExport, PinnedActor, PlanId, Preferences, SetActiveOrganization, Theme, UpdateMemberRole, UpdateOrganization, UpdatePreferences, UnboundPlan, UnknownPlan, UpdateProfile, User, } from "./identity.ts";
|
|
5
|
+
export { AddDomain, AddRegion, ConnectIntegration, CreateEnvironment, CreateProject, DnsRecord, Domain, DomainStatus, EnvVariable, EnvVariableName, Environment, Hostname, ImportEnvVariables, ImportEnvVariablesResult, Integration, IntegrationConnection, IntegrationKind, OwnedTable, Project, ProjectEndpoints, ProjectRegion, ProjectStatus, Region, SetEnvVariable, SetHomeRegion, UpdateProject, } from "./projects.ts";
|
|
6
|
+
export { BuildLog, BuildLogLine, CreateDeployment, DeploymentAuthor, DeploymentDetail, DeploymentRunner, DeploymentSource, DeploymentStatus, DeploymentSummary, ImageDigest, MAX_SOURCE_BYTES, RecordBuild, FailBuild, RolloutStep, RolloutStepName, SOURCE_ENTRY, SourceArchive, SourceDigest, } from "./deployments.ts";
|
|
7
|
+
export { ActorEvent, ActorInspector, ActorInstance, ActorJob, ActorTimelineEntry, ActorTypeActivity, ActorTypeSummary, CommandCaller, CommandFailed, CommandRefused, CommandExpired, RunnerDefect, CommandStreamGap, CommandLogEntry, QuotaErrors, QuotaExceeded, QuotaUnbound, CommandOutcome, CommandSent, CommandVolume, ConnectionsSummary, DeadLetter, JobStatus, JobTypeStats, JobsSummary, LatencyBucket, Overview, OwnedTableRows, Receipt, Schedule, SearchResult, SendCommand, SeriesWindow, SidebarCounts, TimersSummary, TurnLatency, Workflow, } from "./runtime.ts";
|
|
8
|
+
export { AuditEntry, BillingSummary, CapState, CardPaymentMethod, CatalogPlan, ComputeSize, ComputeUsage, PlanCatalog, PlanFeature, HostedSession, Invoice, LinkPaymentMethod, PaymentMethod, Plan, SetSpendLimit, SpendLimit, StartCheckout, PlanChange, Usage, UsageMeter, UsageMeterName, UsagePricing, } from "./billing.ts";
|
|
9
|
+
export { CloudApi } from "./contract.ts";
|
|
10
|
+
export { LogCursor, LogLimit, LogWait, MAX_LOG_LINES, MAX_LOG_TEXT_BYTES, MAX_LOG_WAIT_SECONDS, MAX_LOG_WINDOW_SECONDS, RunnerLogLine, RunnerLogPage, logQuery, } from "./logs.ts";
|
|
11
|
+
export { AccountGroup, ApiKeysGroup, InvitationsGroup, MembersGroup, OrganizationsGroup, } from "./groups/account.ts";
|
|
12
|
+
export { DomainsGroup, EnvironmentVariablesGroup, IntegrationsGroup, ProjectsGroup, RegionsGroup, } from "./groups/projects.ts";
|
|
13
|
+
export { DeploymentsGroup } from "./groups/deployments.ts";
|
|
14
|
+
export { AuditGroup, BillingGroup, UsageGroup } from "./groups/billing.ts";
|
|
15
|
+
export { RuntimeGroup } from "./groups/runtime.ts";
|