@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,44 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
/** Limits apply to both recent reads and each resumed long poll. */
|
|
3
|
+
export declare const MAX_LOG_LINES = 200;
|
|
4
|
+
export declare const MAX_LOG_TEXT_BYTES = 4096;
|
|
5
|
+
export declare const MAX_LOG_WINDOW_SECONDS = 3600;
|
|
6
|
+
export declare const MAX_LOG_WAIT_SECONDS = 20;
|
|
7
|
+
/** An opaque position, bound to the authorized resource, never a provider app selector. */
|
|
8
|
+
export declare const LogCursor: Schema.String;
|
|
9
|
+
export declare const LogLimit: Schema.Int;
|
|
10
|
+
export declare const LogWait: Schema.Int;
|
|
11
|
+
export declare const logQuery: {
|
|
12
|
+
since: Schema.optional<Schema.DateTimeUtc>;
|
|
13
|
+
limit: Schema.optional<Schema.Int>;
|
|
14
|
+
cursor: Schema.optional<Schema.String>;
|
|
15
|
+
wait: Schema.optional<Schema.Int>;
|
|
16
|
+
};
|
|
17
|
+
/** Customer runner output only; build output and control-plane logs use different surfaces. */
|
|
18
|
+
export declare const RunnerLogLine: Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly deploymentId: Schema.brand<Schema.String, "DeploymentId">;
|
|
21
|
+
readonly runnerId: Schema.String;
|
|
22
|
+
readonly at: Schema.DateTimeUtc;
|
|
23
|
+
/** Fly merges output streams; unknown preserves that limitation instead of inventing a stream. */
|
|
24
|
+
readonly stream: Schema.Literals<readonly ["stdout", "stderr", "unknown"]>;
|
|
25
|
+
readonly text: Schema.String;
|
|
26
|
+
readonly clipped: Schema.Boolean;
|
|
27
|
+
}>;
|
|
28
|
+
export type RunnerLogLine = typeof RunnerLogLine.Type;
|
|
29
|
+
/** More means another page can be read immediately; clipping is reported independently on each line. */
|
|
30
|
+
export declare const RunnerLogPage: Schema.Struct<{
|
|
31
|
+
readonly lines: Schema.$Array<Schema.Struct<{
|
|
32
|
+
readonly id: Schema.String;
|
|
33
|
+
readonly deploymentId: Schema.brand<Schema.String, "DeploymentId">;
|
|
34
|
+
readonly runnerId: Schema.String;
|
|
35
|
+
readonly at: Schema.DateTimeUtc;
|
|
36
|
+
/** Fly merges output streams; unknown preserves that limitation instead of inventing a stream. */
|
|
37
|
+
readonly stream: Schema.Literals<readonly ["stdout", "stderr", "unknown"]>;
|
|
38
|
+
readonly text: Schema.String;
|
|
39
|
+
readonly clipped: Schema.Boolean;
|
|
40
|
+
}>>;
|
|
41
|
+
readonly cursor: Schema.String;
|
|
42
|
+
readonly more: Schema.Boolean;
|
|
43
|
+
}>;
|
|
44
|
+
export type RunnerLogPage = typeof RunnerLogPage.Type;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const UserId: Schema.brand<Schema.String, "UserId">;
|
|
3
|
+
export type UserId = typeof UserId.Type;
|
|
4
|
+
export declare const OrganizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
5
|
+
export type OrganizationId = typeof OrganizationId.Type;
|
|
6
|
+
export declare const MemberId: Schema.brand<Schema.String, "MemberId">;
|
|
7
|
+
export type MemberId = typeof MemberId.Type;
|
|
8
|
+
export declare const InvitationId: Schema.brand<Schema.String, "InvitationId">;
|
|
9
|
+
export type InvitationId = typeof InvitationId.Type;
|
|
10
|
+
export declare const ApiKeyId: Schema.brand<Schema.String, "ApiKeyId">;
|
|
11
|
+
export type ApiKeyId = typeof ApiKeyId.Type;
|
|
12
|
+
export declare const ProjectId: Schema.brand<Schema.String, "ProjectId">;
|
|
13
|
+
export type ProjectId = typeof ProjectId.Type;
|
|
14
|
+
export declare const DeploymentId: Schema.brand<Schema.String, "DeploymentId">;
|
|
15
|
+
export type DeploymentId = typeof DeploymentId.Type;
|
|
16
|
+
export declare const DomainId: Schema.brand<Schema.String, "DomainId">;
|
|
17
|
+
export type DomainId = typeof DomainId.Type;
|
|
18
|
+
export declare const DeadLetterId: Schema.brand<Schema.String, "DeadLetterId">;
|
|
19
|
+
export type DeadLetterId = typeof DeadLetterId.Type;
|
|
20
|
+
export declare const InvoiceId: Schema.brand<Schema.String, "InvoiceId">;
|
|
21
|
+
export type InvoiceId = typeof InvoiceId.Type;
|
|
22
|
+
/** An opaque environment identifier assigned by the control plane. */
|
|
23
|
+
export declare const EnvironmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
24
|
+
export type EnvironmentId = typeof EnvironmentId.Type;
|
|
25
|
+
/** Lowercase letters, digits and inner hyphens, 1 to 40 characters. */
|
|
26
|
+
export declare const Slug: Schema.brand<Schema.String, "Slug">;
|
|
27
|
+
export type Slug = typeof Slug.Type;
|
|
28
|
+
/** A display name: 1 to 100 characters with no leading or trailing blanks. */
|
|
29
|
+
export declare const Name: Schema.brand<Schema.String, "Name">;
|
|
30
|
+
export type Name = typeof Name.Type;
|
|
31
|
+
export declare const Email: Schema.brand<Schema.String, "Email">;
|
|
32
|
+
export type Email = typeof Email.Type;
|
|
33
|
+
export declare const NonNegativeInt: Schema.Int;
|
|
34
|
+
export type NonNegativeInt = typeof NonNegativeInt.Type;
|
|
35
|
+
export declare const NonNegative: Schema.Finite;
|
|
36
|
+
export type NonNegative = typeof NonNegative.Type;
|
|
37
|
+
/** A UTC instant; the JSON codec reads and writes ISO 8601 strings. */
|
|
38
|
+
export declare const Timestamp: Schema.DateTimeUtc;
|
|
39
|
+
/** A UTC calendar day written `YYYY-MM-DD`. */
|
|
40
|
+
export declare const CalendarDay: Schema.String;
|
|
41
|
+
export type CalendarDay = typeof CalendarDay.Type;
|
|
42
|
+
/** A billing period written `YYYY-MM`. */
|
|
43
|
+
export declare const BillingPeriod: Schema.String;
|
|
44
|
+
export type BillingPeriod = typeof BillingPeriod.Type;
|
|
45
|
+
export declare const Role: Schema.Literals<readonly ["owner", "admin", "member", "viewer"]>;
|
|
46
|
+
export type Role = typeof Role.Type;
|
|
47
|
+
/** The roles an invitation may grant; ownership is never granted by invitation. */
|
|
48
|
+
export declare const InviteRole: Schema.Literals<readonly ["admin", "member", "viewer"]>;
|
|
49
|
+
export type InviteRole = typeof InviteRole.Type;
|
|
50
|
+
export declare const EnvironmentName: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
51
|
+
export type EnvironmentName = typeof EnvironmentName.Type;
|
|
52
|
+
/** The launch regions; a new region is a contract change. */
|
|
53
|
+
export declare const RegionId: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
54
|
+
export type RegionId = typeof RegionId.Type;
|
|
55
|
+
/** A commit SHA, abbreviated or full. */
|
|
56
|
+
export declare const CommitSha: Schema.String;
|
|
57
|
+
export type CommitSha = typeof CommitSha.Type;
|
|
58
|
+
/** An actor address written `Type/key`. */
|
|
59
|
+
export declare const ActorAddress: Schema.String;
|
|
60
|
+
export type ActorAddress = typeof ActorAddress.Type;
|
|
61
|
+
/** Who performed an action: a person or an organization API key. */
|
|
62
|
+
export declare const ActorReference: Schema.Struct<{
|
|
63
|
+
readonly kind: Schema.Literals<readonly ["user", "api-key"]>;
|
|
64
|
+
readonly id: Schema.String;
|
|
65
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
66
|
+
}>;
|
|
67
|
+
export type ActorReference = typeof ActorReference.Type;
|
|
68
|
+
export declare const SeriesPoint: Schema.Struct<{
|
|
69
|
+
readonly at: Schema.DateTimeUtc;
|
|
70
|
+
readonly value: Schema.Finite;
|
|
71
|
+
}>;
|
|
72
|
+
export type SeriesPoint = typeof SeriesPoint.Type;
|
|
73
|
+
/** Query fields shared by every paged list; spread them into an endpoint's `query`. */
|
|
74
|
+
export declare const pageQuery: {
|
|
75
|
+
limit: Schema.optional<Schema.Int>;
|
|
76
|
+
cursor: Schema.optional<Schema.String>;
|
|
77
|
+
};
|
|
78
|
+
/** A page of `item`; `nextCursor` is null on the last page. */
|
|
79
|
+
export declare const Page: <const Item extends Schema.Top>(item: Item) => Schema.Struct<{
|
|
80
|
+
readonly items: Schema.$Array<Item>;
|
|
81
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
82
|
+
}>;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const ProjectStatus: Schema.Literals<readonly ["empty", "live", "deploying", "failed"]>;
|
|
3
|
+
export type ProjectStatus = typeof ProjectStatus.Type;
|
|
4
|
+
export declare const Region: Schema.Struct<{
|
|
5
|
+
readonly id: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
6
|
+
readonly city: Schema.String;
|
|
7
|
+
}>;
|
|
8
|
+
export type Region = typeof Region.Type;
|
|
9
|
+
export declare const Project: Schema.Struct<{
|
|
10
|
+
readonly id: Schema.brand<Schema.String, "ProjectId">;
|
|
11
|
+
readonly organizationId: Schema.brand<Schema.String, "OrganizationId">;
|
|
12
|
+
readonly name: Schema.String;
|
|
13
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
14
|
+
readonly status: Schema.Literals<readonly ["empty", "live", "deploying", "failed"]>;
|
|
15
|
+
readonly homeRegion: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
16
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
17
|
+
}>;
|
|
18
|
+
export type Project = typeof Project.Type;
|
|
19
|
+
export declare const CreateProject: Schema.Struct<{
|
|
20
|
+
readonly name: Schema.brand<Schema.String, "Name">;
|
|
21
|
+
readonly slug: Schema.brand<Schema.String, "Slug">;
|
|
22
|
+
readonly homeRegion: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
23
|
+
}>;
|
|
24
|
+
export type CreateProject = typeof CreateProject.Type;
|
|
25
|
+
export declare const UpdateProject: Schema.Struct<{
|
|
26
|
+
readonly name: Schema.optional<Schema.brand<Schema.String, "Name">>;
|
|
27
|
+
readonly slug: Schema.optional<Schema.brand<Schema.String, "Slug">>;
|
|
28
|
+
}>;
|
|
29
|
+
export type UpdateProject = typeof UpdateProject.Type;
|
|
30
|
+
/**
|
|
31
|
+
* Every environment uses the customer's Postgres through `DATABASE_URL`.
|
|
32
|
+
* `latency` is the deploy probe's p50 in milliseconds from the runner region,
|
|
33
|
+
* null when unmeasured. Above 5 ms, `latencyWarning` warns without refusing.
|
|
34
|
+
* `runnerCap` is floor((max_connections - in_use - 10) / 9), null when unknown;
|
|
35
|
+
* a non-positive cap means no runner fits the available connection budget.
|
|
36
|
+
* The status carries no URL or URL-derived field.
|
|
37
|
+
*/
|
|
38
|
+
export declare const Environment: Schema.Struct<{
|
|
39
|
+
readonly name: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
40
|
+
readonly projectId: Schema.brand<Schema.String, "ProjectId">;
|
|
41
|
+
readonly currentDeploymentId: Schema.NullOr<Schema.brand<Schema.String, "DeploymentId">>;
|
|
42
|
+
readonly database: Schema.optionalKey<Schema.Struct<{
|
|
43
|
+
readonly source: Schema.Literal<"customer">;
|
|
44
|
+
readonly state: Schema.Literals<readonly ["missing", "reachable", "unreachable"]>;
|
|
45
|
+
readonly latency: Schema.NullOr<Schema.Finite>;
|
|
46
|
+
readonly latencyWarning: Schema.Boolean;
|
|
47
|
+
readonly runnerCap: Schema.NullOr<Schema.Int>;
|
|
48
|
+
}>>;
|
|
49
|
+
}>;
|
|
50
|
+
export type Environment = typeof Environment.Type;
|
|
51
|
+
export declare const CreateEnvironment: Schema.Struct<{
|
|
52
|
+
readonly name: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
53
|
+
}>;
|
|
54
|
+
export type CreateEnvironment = typeof CreateEnvironment.Type;
|
|
55
|
+
/** An environment variable as readable: its name and provenance, never its value or any part of it. */
|
|
56
|
+
export declare const EnvVariable: Schema.Struct<{
|
|
57
|
+
readonly name: Schema.String;
|
|
58
|
+
readonly usedBy: Schema.$Array<Schema.String>;
|
|
59
|
+
readonly updatedAt: Schema.DateTimeUtc;
|
|
60
|
+
readonly updatedBy: Schema.NullOr<Schema.Struct<{
|
|
61
|
+
readonly kind: Schema.Literals<readonly ["user", "api-key"]>;
|
|
62
|
+
readonly id: Schema.String;
|
|
63
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
64
|
+
}>>;
|
|
65
|
+
}>;
|
|
66
|
+
export type EnvVariable = typeof EnvVariable.Type;
|
|
67
|
+
export declare const EnvVariableName: Schema.String;
|
|
68
|
+
export type EnvVariableName = typeof EnvVariableName.Type;
|
|
69
|
+
/** The write-only value of a variable, at most 64 KiB. */
|
|
70
|
+
export declare const SetEnvVariable: Schema.Struct<{
|
|
71
|
+
readonly value: Schema.String;
|
|
72
|
+
}>;
|
|
73
|
+
export type SetEnvVariable = typeof SetEnvVariable.Type;
|
|
74
|
+
/** The text of a `.env` file, at most 1 MiB. */
|
|
75
|
+
export declare const ImportEnvVariables: Schema.Struct<{
|
|
76
|
+
readonly content: Schema.String;
|
|
77
|
+
}>;
|
|
78
|
+
export type ImportEnvVariables = typeof ImportEnvVariables.Type;
|
|
79
|
+
export declare const ImportEnvVariablesResult: Schema.Struct<{
|
|
80
|
+
readonly created: Schema.$Array<Schema.String>;
|
|
81
|
+
readonly updated: Schema.$Array<Schema.String>;
|
|
82
|
+
}>;
|
|
83
|
+
export type ImportEnvVariablesResult = typeof ImportEnvVariablesResult.Type;
|
|
84
|
+
export declare const DomainStatus: Schema.Literals<readonly ["pending", "verifying", "active"]>;
|
|
85
|
+
export type DomainStatus = typeof DomainStatus.Type;
|
|
86
|
+
export declare const DnsRecord: Schema.Struct<{
|
|
87
|
+
readonly type: Schema.Literals<readonly ["A", "AAAA", "CNAME", "TXT"]>;
|
|
88
|
+
readonly name: Schema.String;
|
|
89
|
+
readonly value: Schema.String;
|
|
90
|
+
}>;
|
|
91
|
+
export type DnsRecord = typeof DnsRecord.Type;
|
|
92
|
+
export declare const Hostname: Schema.String;
|
|
93
|
+
export type Hostname = typeof Hostname.Type;
|
|
94
|
+
export declare const Domain: Schema.Struct<{
|
|
95
|
+
readonly id: Schema.brand<Schema.String, "DomainId">;
|
|
96
|
+
readonly hostname: Schema.String;
|
|
97
|
+
readonly environment: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
98
|
+
readonly status: Schema.Literals<readonly ["pending", "verifying", "active"]>;
|
|
99
|
+
readonly dnsRecords: Schema.$Array<Schema.Struct<{
|
|
100
|
+
readonly type: Schema.Literals<readonly ["A", "AAAA", "CNAME", "TXT"]>;
|
|
101
|
+
readonly name: Schema.String;
|
|
102
|
+
readonly value: Schema.String;
|
|
103
|
+
}>>;
|
|
104
|
+
readonly createdAt: Schema.DateTimeUtc;
|
|
105
|
+
}>;
|
|
106
|
+
export type Domain = typeof Domain.Type;
|
|
107
|
+
export declare const AddDomain: Schema.Struct<{
|
|
108
|
+
readonly hostname: Schema.String;
|
|
109
|
+
readonly environment: Schema.Literals<readonly ["production", "staging", "dev"]>;
|
|
110
|
+
}>;
|
|
111
|
+
export type AddDomain = typeof AddDomain.Type;
|
|
112
|
+
export declare const OwnedTable: Schema.Struct<{
|
|
113
|
+
readonly name: Schema.String;
|
|
114
|
+
readonly actor: Schema.String;
|
|
115
|
+
readonly rows: Schema.Int;
|
|
116
|
+
readonly sizeBytes: Schema.Int;
|
|
117
|
+
readonly region: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
118
|
+
}>;
|
|
119
|
+
export type OwnedTable = typeof OwnedTable.Type;
|
|
120
|
+
/** One region of an environment: its database, load and largest owned tables. */
|
|
121
|
+
export declare const ProjectRegion: Schema.Struct<{
|
|
122
|
+
readonly region: Schema.Struct<{
|
|
123
|
+
readonly id: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
124
|
+
readonly city: Schema.String;
|
|
125
|
+
}>;
|
|
126
|
+
readonly home: Schema.Boolean;
|
|
127
|
+
readonly tenantCount: Schema.Int;
|
|
128
|
+
readonly database: Schema.Struct<{
|
|
129
|
+
readonly version: Schema.String;
|
|
130
|
+
readonly sizeBytes: Schema.Int;
|
|
131
|
+
}>;
|
|
132
|
+
readonly storage: Schema.Struct<{
|
|
133
|
+
readonly usedBytes: Schema.Int;
|
|
134
|
+
readonly limitBytes: Schema.Int;
|
|
135
|
+
}>;
|
|
136
|
+
readonly cpuPercent: Schema.Finite;
|
|
137
|
+
readonly connections: Schema.Struct<{
|
|
138
|
+
readonly used: Schema.Int;
|
|
139
|
+
readonly limit: Schema.Int;
|
|
140
|
+
}>;
|
|
141
|
+
readonly runners: Schema.Int;
|
|
142
|
+
readonly largestTables: Schema.$Array<Schema.Struct<{
|
|
143
|
+
readonly name: Schema.String;
|
|
144
|
+
readonly actor: Schema.String;
|
|
145
|
+
readonly rows: Schema.Int;
|
|
146
|
+
readonly sizeBytes: Schema.Int;
|
|
147
|
+
readonly region: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
148
|
+
}>>;
|
|
149
|
+
}>;
|
|
150
|
+
export type ProjectRegion = typeof ProjectRegion.Type;
|
|
151
|
+
export declare const AddRegion: Schema.Struct<{
|
|
152
|
+
readonly region: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
153
|
+
}>;
|
|
154
|
+
export type AddRegion = typeof AddRegion.Type;
|
|
155
|
+
export declare const SetHomeRegion: Schema.Struct<{
|
|
156
|
+
readonly region: Schema.Literals<readonly ["us-east-1", "us-west-2"]>;
|
|
157
|
+
}>;
|
|
158
|
+
export type SetHomeRegion = typeof SetHomeRegion.Type;
|
|
159
|
+
export declare const ProjectEndpoints: Schema.Struct<{
|
|
160
|
+
readonly httpBaseUrl: Schema.String;
|
|
161
|
+
readonly webSocketUrl: Schema.String;
|
|
162
|
+
readonly openApiPath: Schema.String;
|
|
163
|
+
readonly mcpPath: Schema.String;
|
|
164
|
+
}>;
|
|
165
|
+
export type ProjectEndpoints = typeof ProjectEndpoints.Type;
|
|
166
|
+
export declare const IntegrationKind: Schema.Literals<readonly ["github", "slack", "datadog", "opentelemetry", "pagerduty"]>;
|
|
167
|
+
export type IntegrationKind = typeof IntegrationKind.Type;
|
|
168
|
+
export declare const Integration: Schema.Struct<{
|
|
169
|
+
readonly kind: Schema.Literals<readonly ["github", "slack", "datadog", "opentelemetry", "pagerduty"]>;
|
|
170
|
+
readonly status: Schema.Literals<readonly ["connected", "disconnected", "error"]>;
|
|
171
|
+
readonly label: Schema.NullOr<Schema.String>;
|
|
172
|
+
readonly connectedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
173
|
+
}>;
|
|
174
|
+
export type Integration = typeof Integration.Type;
|
|
175
|
+
/** Write-only settings for key-based integrations; OAuth integrations send none and follow the returned URL. */
|
|
176
|
+
export declare const ConnectIntegration: Schema.Struct<{
|
|
177
|
+
readonly settings: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
178
|
+
}>;
|
|
179
|
+
export type ConnectIntegration = typeof ConnectIntegration.Type;
|
|
180
|
+
export declare const IntegrationConnection: Schema.Struct<{
|
|
181
|
+
readonly redirectUrl: Schema.NullOr<Schema.String>;
|
|
182
|
+
readonly integration: Schema.Struct<{
|
|
183
|
+
readonly kind: Schema.Literals<readonly ["github", "slack", "datadog", "opentelemetry", "pagerduty"]>;
|
|
184
|
+
readonly status: Schema.Literals<readonly ["connected", "disconnected", "error"]>;
|
|
185
|
+
readonly label: Schema.NullOr<Schema.String>;
|
|
186
|
+
readonly connectedAt: Schema.NullOr<Schema.DateTimeUtc>;
|
|
187
|
+
}>;
|
|
188
|
+
}>;
|
|
189
|
+
export type IntegrationConnection = typeof IntegrationConnection.Type;
|