@maiaos/protocol 0.1.0-canary.44938d4.manual.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.
- package/README.md +239 -0
- package/dist/aggregate/revision-effect-schema.d.ts +3 -0
- package/dist/aggregate/revision-effect-schema.d.ts.map +1 -0
- package/dist/aggregate/revision-effect-schema.js +4 -0
- package/dist/aggregate/revision-effect-schema.js.map +1 -0
- package/dist/capability.d.ts +12 -0
- package/dist/capability.d.ts.map +1 -0
- package/dist/capability.js +27 -0
- package/dist/capability.js.map +1 -0
- package/dist/command-receipt/contract.d.ts +85 -0
- package/dist/command-receipt/contract.d.ts.map +1 -0
- package/dist/command-receipt/contract.js +12 -0
- package/dist/command-receipt/contract.js.map +1 -0
- package/dist/command-receipt/effect-schema.d.ts +78 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -0
- package/dist/command-receipt/effect-schema.js +72 -0
- package/dist/command-receipt/effect-schema.js.map +1 -0
- package/dist/command-receipt/policy.d.ts +16 -0
- package/dist/command-receipt/policy.d.ts.map +1 -0
- package/dist/command-receipt/policy.js +76 -0
- package/dist/command-receipt/policy.js.map +1 -0
- package/dist/command-receipt/version.d.ts +2 -0
- package/dist/command-receipt/version.d.ts.map +1 -0
- package/dist/command-receipt/version.js +2 -0
- package/dist/command-receipt/version.js.map +1 -0
- package/dist/configuration.d.ts +63 -0
- package/dist/configuration.d.ts.map +1 -0
- package/dist/configuration.js +93 -0
- package/dist/configuration.js.map +1 -0
- package/dist/envelope-effect-schema.d.ts +49 -0
- package/dist/envelope-effect-schema.d.ts.map +1 -0
- package/dist/envelope-effect-schema.js +50 -0
- package/dist/envelope-effect-schema.js.map +1 -0
- package/dist/envelope-policy.d.ts +4 -0
- package/dist/envelope-policy.d.ts.map +1 -0
- package/dist/envelope-policy.js +4 -0
- package/dist/envelope-policy.js.map +1 -0
- package/dist/envelope.d.ts +52 -0
- package/dist/envelope.d.ts.map +1 -0
- package/dist/envelope.js +41 -0
- package/dist/envelope.js.map +1 -0
- package/dist/execution/contract.d.ts +230 -0
- package/dist/execution/contract.d.ts.map +1 -0
- package/dist/execution/contract.js +16 -0
- package/dist/execution/contract.js.map +1 -0
- package/dist/execution/effect-schema.d.ts +370 -0
- package/dist/execution/effect-schema.d.ts.map +1 -0
- package/dist/execution/effect-schema.js +148 -0
- package/dist/execution/effect-schema.js.map +1 -0
- package/dist/execution/version.d.ts +5 -0
- package/dist/execution/version.d.ts.map +1 -0
- package/dist/execution/version.js +5 -0
- package/dist/execution/version.js.map +1 -0
- package/dist/harness/installed/contract.d.ts +144 -0
- package/dist/harness/installed/contract.d.ts.map +1 -0
- package/dist/harness/installed/contract.js +6 -0
- package/dist/harness/installed/contract.js.map +1 -0
- package/dist/harness/installed/effect-schema.d.ts +261 -0
- package/dist/harness/installed/effect-schema.d.ts.map +1 -0
- package/dist/harness/installed/effect-schema.js +63 -0
- package/dist/harness/installed/effect-schema.js.map +1 -0
- package/dist/harness/installed/version.d.ts +2 -0
- package/dist/harness/installed/version.d.ts.map +1 -0
- package/dist/harness/installed/version.js +2 -0
- package/dist/harness/installed/version.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/integration-authorization/contract.d.ts +3495 -0
- package/dist/integration-authorization/contract.d.ts.map +1 -0
- package/dist/integration-authorization/contract.js +25 -0
- package/dist/integration-authorization/contract.js.map +1 -0
- package/dist/integration-authorization/effect-schema.d.ts +4495 -0
- package/dist/integration-authorization/effect-schema.d.ts.map +1 -0
- package/dist/integration-authorization/effect-schema.js +293 -0
- package/dist/integration-authorization/effect-schema.js.map +1 -0
- package/dist/integration-authorization/policy.d.ts +5 -0
- package/dist/integration-authorization/policy.d.ts.map +1 -0
- package/dist/integration-authorization/policy.js +5 -0
- package/dist/integration-authorization/policy.js.map +1 -0
- package/dist/integration-authorization/version.d.ts +2 -0
- package/dist/integration-authorization/version.d.ts.map +1 -0
- package/dist/integration-authorization/version.js +2 -0
- package/dist/integration-authorization/version.js.map +1 -0
- package/dist/invocation-context/contract.d.ts +38 -0
- package/dist/invocation-context/contract.d.ts.map +1 -0
- package/dist/invocation-context/contract.js +7 -0
- package/dist/invocation-context/contract.js.map +1 -0
- package/dist/invocation-context/effect-schema.d.ts +63 -0
- package/dist/invocation-context/effect-schema.d.ts.map +1 -0
- package/dist/invocation-context/effect-schema.js +52 -0
- package/dist/invocation-context/effect-schema.js.map +1 -0
- package/dist/invocation-context/policy.d.ts +8 -0
- package/dist/invocation-context/policy.d.ts.map +1 -0
- package/dist/invocation-context/policy.js +8 -0
- package/dist/invocation-context/policy.js.map +1 -0
- package/dist/invocation-context/version.d.ts +2 -0
- package/dist/invocation-context/version.d.ts.map +1 -0
- package/dist/invocation-context/version.js +2 -0
- package/dist/invocation-context/version.js.map +1 -0
- package/dist/local-node/contract.d.ts +233 -0
- package/dist/local-node/contract.d.ts.map +1 -0
- package/dist/local-node/contract.js +43 -0
- package/dist/local-node/contract.js.map +1 -0
- package/dist/local-node/effect-schema.d.ts +58786 -0
- package/dist/local-node/effect-schema.d.ts.map +1 -0
- package/dist/local-node/effect-schema.js +279 -0
- package/dist/local-node/effect-schema.js.map +1 -0
- package/dist/local-node/methods.d.ts +4 -0
- package/dist/local-node/methods.d.ts.map +1 -0
- package/dist/local-node/methods.js +73 -0
- package/dist/local-node/methods.js.map +1 -0
- package/dist/local-node/policy.d.ts +11 -0
- package/dist/local-node/policy.d.ts.map +1 -0
- package/dist/local-node/policy.js +11 -0
- package/dist/local-node/policy.js.map +1 -0
- package/dist/local-node.d.ts +2 -0
- package/dist/local-node.d.ts.map +1 -0
- package/dist/local-node.js +2 -0
- package/dist/local-node.js.map +1 -0
- package/dist/orchestration/canonical.d.ts +12 -0
- package/dist/orchestration/canonical.d.ts.map +1 -0
- package/dist/orchestration/canonical.js +50 -0
- package/dist/orchestration/canonical.js.map +1 -0
- package/dist/orchestration/contract.d.ts +2867 -0
- package/dist/orchestration/contract.d.ts.map +1 -0
- package/dist/orchestration/contract.js +45 -0
- package/dist/orchestration/contract.js.map +1 -0
- package/dist/orchestration/effect-schema.d.ts +4933 -0
- package/dist/orchestration/effect-schema.d.ts.map +1 -0
- package/dist/orchestration/effect-schema.js +610 -0
- package/dist/orchestration/effect-schema.js.map +1 -0
- package/dist/orchestration/policy.d.ts +28 -0
- package/dist/orchestration/policy.d.ts.map +1 -0
- package/dist/orchestration/policy.js +28 -0
- package/dist/orchestration/policy.js.map +1 -0
- package/dist/orchestration/topology.d.ts +13 -0
- package/dist/orchestration/topology.d.ts.map +1 -0
- package/dist/orchestration/topology.js +109 -0
- package/dist/orchestration/topology.js.map +1 -0
- package/dist/orchestration/version.d.ts +3 -0
- package/dist/orchestration/version.d.ts.map +1 -0
- package/dist/orchestration/version.js +3 -0
- package/dist/orchestration/version.js.map +1 -0
- package/dist/project-workspace/contract.d.ts +346 -0
- package/dist/project-workspace/contract.d.ts.map +1 -0
- package/dist/project-workspace/contract.js +20 -0
- package/dist/project-workspace/contract.js.map +1 -0
- package/dist/project-workspace/effect-schema.d.ts +602 -0
- package/dist/project-workspace/effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/effect-schema.js +185 -0
- package/dist/project-workspace/effect-schema.js.map +1 -0
- package/dist/project-workspace/version.d.ts +5 -0
- package/dist/project-workspace/version.d.ts.map +1 -0
- package/dist/project-workspace/version.js +5 -0
- package/dist/project-workspace/version.js.map +1 -0
- package/dist/runtime/contract.d.ts +172 -0
- package/dist/runtime/contract.d.ts.map +1 -0
- package/dist/runtime/contract.js +6 -0
- package/dist/runtime/contract.js.map +1 -0
- package/dist/runtime/effect-schema.d.ts +211 -0
- package/dist/runtime/effect-schema.d.ts.map +1 -0
- package/dist/runtime/effect-schema.js +137 -0
- package/dist/runtime/effect-schema.js.map +1 -0
- package/dist/runtime/version.d.ts +2 -0
- package/dist/runtime/version.d.ts.map +1 -0
- package/dist/runtime/version.js +2 -0
- package/dist/runtime/version.js.map +1 -0
- package/dist/runtime-schema-effect.d.ts +4 -0
- package/dist/runtime-schema-effect.d.ts.map +1 -0
- package/dist/runtime-schema-effect.js +25 -0
- package/dist/runtime-schema-effect.js.map +1 -0
- package/dist/runtime-schema.d.ts +23 -0
- package/dist/runtime-schema.d.ts.map +1 -0
- package/dist/runtime-schema.js +12 -0
- package/dist/runtime-schema.js.map +1 -0
- package/dist/session/contract.d.ts +666 -0
- package/dist/session/contract.d.ts.map +1 -0
- package/dist/session/contract.js +16 -0
- package/dist/session/contract.js.map +1 -0
- package/dist/session/effect-schema.d.ts +1176 -0
- package/dist/session/effect-schema.d.ts.map +1 -0
- package/dist/session/effect-schema.js +195 -0
- package/dist/session/effect-schema.js.map +1 -0
- package/dist/session/version.d.ts +4 -0
- package/dist/session/version.d.ts.map +1 -0
- package/dist/session/version.js +4 -0
- package/dist/session/version.js.map +1 -0
- package/dist/temporal/recorded-at.d.ts +3 -0
- package/dist/temporal/recorded-at.d.ts.map +1 -0
- package/dist/temporal/recorded-at.js +13 -0
- package/dist/temporal/recorded-at.js.map +1 -0
- package/dist/terminal/contract.d.ts +3502 -0
- package/dist/terminal/contract.d.ts.map +1 -0
- package/dist/terminal/contract.js +31 -0
- package/dist/terminal/contract.js.map +1 -0
- package/dist/terminal/effect-schema.d.ts +15745 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -0
- package/dist/terminal/effect-schema.js +193 -0
- package/dist/terminal/effect-schema.js.map +1 -0
- package/dist/terminal/live-contract.d.ts +87 -0
- package/dist/terminal/live-contract.d.ts.map +1 -0
- package/dist/terminal/live-contract.js +52 -0
- package/dist/terminal/live-contract.js.map +1 -0
- package/dist/terminal/live-effect-schema.d.ts +24770 -0
- package/dist/terminal/live-effect-schema.d.ts.map +1 -0
- package/dist/terminal/live-effect-schema.js +987 -0
- package/dist/terminal/live-effect-schema.js.map +1 -0
- package/dist/terminal/live-policy.d.ts +79 -0
- package/dist/terminal/live-policy.d.ts.map +1 -0
- package/dist/terminal/live-policy.js +91 -0
- package/dist/terminal/live-policy.js.map +1 -0
- package/dist/terminal/live-types.d.ts +584 -0
- package/dist/terminal/live-types.d.ts.map +1 -0
- package/dist/terminal/live-types.js +2 -0
- package/dist/terminal/live-types.js.map +1 -0
- package/dist/terminal/live-version.d.ts +4 -0
- package/dist/terminal/live-version.d.ts.map +1 -0
- package/dist/terminal/live-version.js +4 -0
- package/dist/terminal/live-version.js.map +1 -0
- package/dist/terminal/policy.d.ts +5 -0
- package/dist/terminal/policy.d.ts.map +1 -0
- package/dist/terminal/policy.js +5 -0
- package/dist/terminal/policy.js.map +1 -0
- package/dist/terminal/version.d.ts +4 -0
- package/dist/terminal/version.d.ts.map +1 -0
- package/dist/terminal/version.js +4 -0
- package/dist/terminal/version.js.map +1 -0
- package/dist/turn/contract.d.ts +493 -0
- package/dist/turn/contract.d.ts.map +1 -0
- package/dist/turn/contract.js +14 -0
- package/dist/turn/contract.js.map +1 -0
- package/dist/turn/effect-schema.d.ts +1063 -0
- package/dist/turn/effect-schema.d.ts.map +1 -0
- package/dist/turn/effect-schema.js +215 -0
- package/dist/turn/effect-schema.js.map +1 -0
- package/dist/turn/policy.d.ts +3 -0
- package/dist/turn/policy.d.ts.map +1 -0
- package/dist/turn/policy.js +3 -0
- package/dist/turn/policy.js.map +1 -0
- package/dist/turn/version.d.ts +2 -0
- package/dist/turn/version.d.ts.map +1 -0
- package/dist/turn/version.js +2 -0
- package/dist/turn/version.js.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { makeEffectRuntimeSchema } from "../runtime-schema-effect.js";
|
|
2
|
+
import { projectEffectSchema, projectListParametersEffectSchema, projectListResultEffectSchema, projectRegisterParametersEffectSchema, projectRegisterResultEffectSchema, projectShowParametersEffectSchema, projectShowResultEffectSchema, repositoryEffectSchema, workspaceCheckoutEffectSchema, workspaceEffectSchema, workspaceListParametersEffectSchema, workspaceListResultEffectSchema, workspaceRepositoryAttachParametersEffectSchema, workspaceRepositoryAttachResultEffectSchema, workspaceShowParametersEffectSchema, workspaceShowResultEffectSchema, } from "./effect-schema.js";
|
|
3
|
+
export const projectSchema = makeEffectRuntimeSchema(projectEffectSchema);
|
|
4
|
+
export const repositorySchema = makeEffectRuntimeSchema(repositoryEffectSchema);
|
|
5
|
+
export const workspaceSchema = makeEffectRuntimeSchema(workspaceEffectSchema);
|
|
6
|
+
export const workspaceCheckoutSchema = makeEffectRuntimeSchema(workspaceCheckoutEffectSchema);
|
|
7
|
+
export const projectRegisterParametersSchema = makeEffectRuntimeSchema(projectRegisterParametersEffectSchema);
|
|
8
|
+
export const projectListParametersSchema = makeEffectRuntimeSchema(projectListParametersEffectSchema);
|
|
9
|
+
export const projectShowParametersSchema = makeEffectRuntimeSchema(projectShowParametersEffectSchema);
|
|
10
|
+
export const workspaceListParametersSchema = makeEffectRuntimeSchema(workspaceListParametersEffectSchema);
|
|
11
|
+
export const workspaceShowParametersSchema = makeEffectRuntimeSchema(workspaceShowParametersEffectSchema);
|
|
12
|
+
export const workspaceRepositoryAttachParametersSchema = makeEffectRuntimeSchema(workspaceRepositoryAttachParametersEffectSchema);
|
|
13
|
+
export const projectRegisterResultSchema = makeEffectRuntimeSchema(projectRegisterResultEffectSchema);
|
|
14
|
+
export const projectListResultSchema = makeEffectRuntimeSchema(projectListResultEffectSchema);
|
|
15
|
+
export const projectShowResultSchema = makeEffectRuntimeSchema(projectShowResultEffectSchema);
|
|
16
|
+
export const workspaceListResultSchema = makeEffectRuntimeSchema(workspaceListResultEffectSchema);
|
|
17
|
+
export const workspaceShowResultSchema = makeEffectRuntimeSchema(workspaceShowResultEffectSchema);
|
|
18
|
+
export const workspaceRepositoryAttachResultSchema = makeEffectRuntimeSchema(workspaceRepositoryAttachResultEffectSchema);
|
|
19
|
+
export { PROJECT_SCHEMA_VERSION, REPOSITORY_SCHEMA_VERSION, WORKSPACE_CHECKOUT_SCHEMA_VERSION, WORKSPACE_SCHEMA_VERSION, } from "./version.js";
|
|
20
|
+
//# sourceMappingURL=contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../src/project-workspace/contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EACL,mBAAmB,EACnB,iCAAiC,EACjC,6BAA6B,EAC7B,qCAAqC,EACrC,iCAAiC,EACjC,iCAAiC,EACjC,6BAA6B,EAC7B,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,mCAAmC,EACnC,+BAA+B,EAC/B,+CAA+C,EAC/C,2CAA2C,EAC3C,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,aAAa,GAAG,uBAAuB,CAAC,mBAAmB,CAAC,CAAC;AAG1E,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,sBAAsB,CAAC,CAAC;AAGhF,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC,qBAAqB,CAAC,CAAC;AAG9E,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAC5D,6BAA6B,CAC9B,CAAC;AAKF,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CACpE,qCAAqC,CACtC,CAAC;AAKF,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,iCAAiC,CAClC,CAAC;AAKF,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,iCAAiC,CAClC,CAAC;AAKF,MAAM,CAAC,MAAM,6BAA6B,GAAG,uBAAuB,CAClE,mCAAmC,CACpC,CAAC;AAKF,MAAM,CAAC,MAAM,6BAA6B,GAAG,uBAAuB,CAClE,mCAAmC,CACpC,CAAC;AAKF,MAAM,CAAC,MAAM,yCAAyC,GACpD,uBAAuB,CAAC,+CAA+C,CAAC,CAAC;AAK3E,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,iCAAiC,CAClC,CAAC;AAKF,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAC5D,6BAA6B,CAC9B,CAAC;AAKF,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAC5D,6BAA6B,CAC9B,CAAC;AAKF,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAC9D,+BAA+B,CAChC,CAAC;AAKF,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAC9D,+BAA+B,CAChC,CAAC;AAKF,MAAM,CAAC,MAAM,qCAAqC,GAAG,uBAAuB,CAC1E,2CAA2C,CAC5C,CAAC;AAcF,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,wBAAwB,GACzB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const projectEffectSchema: Schema.Struct<{
|
|
3
|
+
readonly createdAt: Schema.String;
|
|
4
|
+
readonly id: Schema.String;
|
|
5
|
+
readonly name: Schema.Trim;
|
|
6
|
+
readonly revision: Schema.String;
|
|
7
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
8
|
+
readonly updatedAt: Schema.String;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const repositoryEffectSchema: Schema.Struct<{
|
|
11
|
+
readonly createdAt: Schema.String;
|
|
12
|
+
readonly id: Schema.String;
|
|
13
|
+
readonly locationId: Schema.String;
|
|
14
|
+
readonly name: Schema.Trim;
|
|
15
|
+
readonly projectId: Schema.String;
|
|
16
|
+
readonly revision: Schema.String;
|
|
17
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
18
|
+
readonly updatedAt: Schema.String;
|
|
19
|
+
readonly vcs: Schema.Literal<"git">;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const workspaceEffectSchema: Schema.Struct<{
|
|
22
|
+
readonly createdAt: Schema.String;
|
|
23
|
+
readonly id: Schema.String;
|
|
24
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
25
|
+
readonly name: Schema.Trim;
|
|
26
|
+
readonly projectId: Schema.String;
|
|
27
|
+
readonly revision: Schema.String;
|
|
28
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
29
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
30
|
+
readonly updatedAt: Schema.String;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const workspaceCheckoutEffectSchema: Schema.Struct<{
|
|
33
|
+
readonly baseRevision: Schema.String;
|
|
34
|
+
readonly branch: Schema.String;
|
|
35
|
+
readonly createdAt: Schema.String;
|
|
36
|
+
readonly dirty: Schema.Boolean;
|
|
37
|
+
readonly headRevision: Schema.String;
|
|
38
|
+
readonly id: Schema.String;
|
|
39
|
+
readonly locationId: Schema.String;
|
|
40
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
41
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
42
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
43
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
44
|
+
}>, Schema.Struct<{
|
|
45
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
46
|
+
readonly kind: Schema.Literal<"imported">;
|
|
47
|
+
}>, Schema.Struct<{
|
|
48
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
49
|
+
readonly creationReceiptId: Schema.String;
|
|
50
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
51
|
+
}>]>;
|
|
52
|
+
readonly repositoryId: Schema.String;
|
|
53
|
+
readonly revision: Schema.String;
|
|
54
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
55
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
56
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
57
|
+
readonly updatedAt: Schema.String;
|
|
58
|
+
readonly workspaceId: Schema.String;
|
|
59
|
+
}>;
|
|
60
|
+
export declare const projectRegisterParametersEffectSchema: Schema.Struct<{
|
|
61
|
+
readonly commandId: Schema.String;
|
|
62
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
63
|
+
readonly name: Schema.Trim;
|
|
64
|
+
readonly rootPath: Schema.String;
|
|
65
|
+
}>;
|
|
66
|
+
export declare const projectListParametersEffectSchema: Schema.Struct<{
|
|
67
|
+
readonly afterCursor: Schema.String;
|
|
68
|
+
readonly limit: Schema.Int;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const projectShowParametersEffectSchema: Schema.Struct<{
|
|
71
|
+
readonly projectId: Schema.String;
|
|
72
|
+
}>;
|
|
73
|
+
export declare const workspaceListParametersEffectSchema: Schema.Struct<{
|
|
74
|
+
readonly projectId: Schema.String;
|
|
75
|
+
readonly afterCursor: Schema.String;
|
|
76
|
+
readonly limit: Schema.Int;
|
|
77
|
+
}>;
|
|
78
|
+
export declare const workspaceShowParametersEffectSchema: Schema.Struct<{
|
|
79
|
+
readonly workspaceId: Schema.String;
|
|
80
|
+
}>;
|
|
81
|
+
export declare const workspaceRepositoryAttachParametersEffectSchema: Schema.Struct<{
|
|
82
|
+
readonly commandId: Schema.String;
|
|
83
|
+
readonly expectedRevision: Schema.String;
|
|
84
|
+
readonly name: Schema.Trim;
|
|
85
|
+
readonly rootPath: Schema.String;
|
|
86
|
+
readonly workspaceId: Schema.String;
|
|
87
|
+
}>;
|
|
88
|
+
export declare const projectRegisterResultEffectSchema: Schema.Struct<{
|
|
89
|
+
readonly checkout: Schema.Struct<{
|
|
90
|
+
readonly baseRevision: Schema.String;
|
|
91
|
+
readonly branch: Schema.String;
|
|
92
|
+
readonly createdAt: Schema.String;
|
|
93
|
+
readonly dirty: Schema.Boolean;
|
|
94
|
+
readonly headRevision: Schema.String;
|
|
95
|
+
readonly id: Schema.String;
|
|
96
|
+
readonly locationId: Schema.String;
|
|
97
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
98
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
99
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
100
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
101
|
+
}>, Schema.Struct<{
|
|
102
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
103
|
+
readonly kind: Schema.Literal<"imported">;
|
|
104
|
+
}>, Schema.Struct<{
|
|
105
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
106
|
+
readonly creationReceiptId: Schema.String;
|
|
107
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
108
|
+
}>]>;
|
|
109
|
+
readonly repositoryId: Schema.String;
|
|
110
|
+
readonly revision: Schema.String;
|
|
111
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
112
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
113
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
114
|
+
readonly updatedAt: Schema.String;
|
|
115
|
+
readonly workspaceId: Schema.String;
|
|
116
|
+
}>;
|
|
117
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
118
|
+
readonly method: Schema.Literal<"project.register">;
|
|
119
|
+
readonly project: Schema.Struct<{
|
|
120
|
+
readonly createdAt: Schema.String;
|
|
121
|
+
readonly id: Schema.String;
|
|
122
|
+
readonly name: Schema.Trim;
|
|
123
|
+
readonly revision: Schema.String;
|
|
124
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
125
|
+
readonly updatedAt: Schema.String;
|
|
126
|
+
}>;
|
|
127
|
+
readonly receipt: Schema.Struct<{
|
|
128
|
+
readonly actorId: Schema.String;
|
|
129
|
+
readonly aggregateRevision: Schema.String;
|
|
130
|
+
readonly commandId: Schema.String;
|
|
131
|
+
readonly createdAt: Schema.String;
|
|
132
|
+
readonly eventCursor: Schema.String;
|
|
133
|
+
readonly method: Schema.String;
|
|
134
|
+
readonly receiptId: Schema.String;
|
|
135
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
136
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
137
|
+
readonly target: Schema.Struct<{
|
|
138
|
+
readonly id: Schema.String;
|
|
139
|
+
readonly type: Schema.String;
|
|
140
|
+
}>;
|
|
141
|
+
readonly updatedAt: Schema.String;
|
|
142
|
+
}>;
|
|
143
|
+
readonly repository: Schema.Struct<{
|
|
144
|
+
readonly createdAt: Schema.String;
|
|
145
|
+
readonly id: Schema.String;
|
|
146
|
+
readonly locationId: Schema.String;
|
|
147
|
+
readonly name: Schema.Trim;
|
|
148
|
+
readonly projectId: Schema.String;
|
|
149
|
+
readonly revision: Schema.String;
|
|
150
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
151
|
+
readonly updatedAt: Schema.String;
|
|
152
|
+
readonly vcs: Schema.Literal<"git">;
|
|
153
|
+
}>;
|
|
154
|
+
readonly workspace: Schema.Struct<{
|
|
155
|
+
readonly createdAt: Schema.String;
|
|
156
|
+
readonly id: Schema.String;
|
|
157
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
158
|
+
readonly name: Schema.Trim;
|
|
159
|
+
readonly projectId: Schema.String;
|
|
160
|
+
readonly revision: Schema.String;
|
|
161
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
162
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
163
|
+
readonly updatedAt: Schema.String;
|
|
164
|
+
}>;
|
|
165
|
+
}>;
|
|
166
|
+
export declare const projectListResultEffectSchema: Schema.Struct<{
|
|
167
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
168
|
+
readonly createdAt: Schema.String;
|
|
169
|
+
readonly id: Schema.String;
|
|
170
|
+
readonly name: Schema.Trim;
|
|
171
|
+
readonly revision: Schema.String;
|
|
172
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
173
|
+
readonly updatedAt: Schema.String;
|
|
174
|
+
}>>;
|
|
175
|
+
readonly method: Schema.Literal<"project.list">;
|
|
176
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
177
|
+
}>;
|
|
178
|
+
export declare const projectShowResultEffectSchema: Schema.Struct<{
|
|
179
|
+
readonly method: Schema.Literal<"project.show">;
|
|
180
|
+
readonly project: Schema.Struct<{
|
|
181
|
+
readonly createdAt: Schema.String;
|
|
182
|
+
readonly id: Schema.String;
|
|
183
|
+
readonly name: Schema.Trim;
|
|
184
|
+
readonly revision: Schema.String;
|
|
185
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
186
|
+
readonly updatedAt: Schema.String;
|
|
187
|
+
}>;
|
|
188
|
+
readonly repositories: Schema.$Array<Schema.Struct<{
|
|
189
|
+
readonly createdAt: Schema.String;
|
|
190
|
+
readonly id: Schema.String;
|
|
191
|
+
readonly locationId: Schema.String;
|
|
192
|
+
readonly name: Schema.Trim;
|
|
193
|
+
readonly projectId: Schema.String;
|
|
194
|
+
readonly revision: Schema.String;
|
|
195
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
196
|
+
readonly updatedAt: Schema.String;
|
|
197
|
+
readonly vcs: Schema.Literal<"git">;
|
|
198
|
+
}>>;
|
|
199
|
+
}>;
|
|
200
|
+
export declare const workspaceListResultEffectSchema: Schema.Struct<{
|
|
201
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
202
|
+
readonly createdAt: Schema.String;
|
|
203
|
+
readonly id: Schema.String;
|
|
204
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
205
|
+
readonly name: Schema.Trim;
|
|
206
|
+
readonly projectId: Schema.String;
|
|
207
|
+
readonly revision: Schema.String;
|
|
208
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
209
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
210
|
+
readonly updatedAt: Schema.String;
|
|
211
|
+
}>>;
|
|
212
|
+
readonly method: Schema.Literal<"workspace.list">;
|
|
213
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
214
|
+
}>;
|
|
215
|
+
export declare const workspaceShowResultEffectSchema: Schema.Struct<{
|
|
216
|
+
readonly checkouts: Schema.$Array<Schema.Struct<{
|
|
217
|
+
readonly baseRevision: Schema.String;
|
|
218
|
+
readonly branch: Schema.String;
|
|
219
|
+
readonly createdAt: Schema.String;
|
|
220
|
+
readonly dirty: Schema.Boolean;
|
|
221
|
+
readonly headRevision: Schema.String;
|
|
222
|
+
readonly id: Schema.String;
|
|
223
|
+
readonly locationId: Schema.String;
|
|
224
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
225
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
226
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
227
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
228
|
+
}>, Schema.Struct<{
|
|
229
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
230
|
+
readonly kind: Schema.Literal<"imported">;
|
|
231
|
+
}>, Schema.Struct<{
|
|
232
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
233
|
+
readonly creationReceiptId: Schema.String;
|
|
234
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
235
|
+
}>]>;
|
|
236
|
+
readonly repositoryId: Schema.String;
|
|
237
|
+
readonly revision: Schema.String;
|
|
238
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
239
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
240
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
241
|
+
readonly updatedAt: Schema.String;
|
|
242
|
+
readonly workspaceId: Schema.String;
|
|
243
|
+
}>>;
|
|
244
|
+
readonly method: Schema.Literal<"workspace.show">;
|
|
245
|
+
readonly workspace: Schema.Struct<{
|
|
246
|
+
readonly createdAt: Schema.String;
|
|
247
|
+
readonly id: Schema.String;
|
|
248
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
249
|
+
readonly name: Schema.Trim;
|
|
250
|
+
readonly projectId: Schema.String;
|
|
251
|
+
readonly revision: Schema.String;
|
|
252
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
253
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
254
|
+
readonly updatedAt: Schema.String;
|
|
255
|
+
}>;
|
|
256
|
+
}>;
|
|
257
|
+
export declare const workspaceRepositoryAttachResultEffectSchema: Schema.Struct<{
|
|
258
|
+
readonly checkout: Schema.Struct<{
|
|
259
|
+
readonly baseRevision: Schema.String;
|
|
260
|
+
readonly branch: Schema.String;
|
|
261
|
+
readonly createdAt: Schema.String;
|
|
262
|
+
readonly dirty: Schema.Boolean;
|
|
263
|
+
readonly headRevision: Schema.String;
|
|
264
|
+
readonly id: Schema.String;
|
|
265
|
+
readonly locationId: Schema.String;
|
|
266
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
267
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
268
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
269
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
270
|
+
}>, Schema.Struct<{
|
|
271
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
272
|
+
readonly kind: Schema.Literal<"imported">;
|
|
273
|
+
}>, Schema.Struct<{
|
|
274
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
275
|
+
readonly creationReceiptId: Schema.String;
|
|
276
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
277
|
+
}>]>;
|
|
278
|
+
readonly repositoryId: Schema.String;
|
|
279
|
+
readonly revision: Schema.String;
|
|
280
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
281
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
282
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
283
|
+
readonly updatedAt: Schema.String;
|
|
284
|
+
readonly workspaceId: Schema.String;
|
|
285
|
+
}>;
|
|
286
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
287
|
+
readonly method: Schema.Literal<"workspace.repository.attach">;
|
|
288
|
+
readonly receipt: Schema.Struct<{
|
|
289
|
+
readonly actorId: Schema.String;
|
|
290
|
+
readonly aggregateRevision: Schema.String;
|
|
291
|
+
readonly commandId: Schema.String;
|
|
292
|
+
readonly createdAt: Schema.String;
|
|
293
|
+
readonly eventCursor: Schema.String;
|
|
294
|
+
readonly method: Schema.String;
|
|
295
|
+
readonly receiptId: Schema.String;
|
|
296
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
297
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
298
|
+
readonly target: Schema.Struct<{
|
|
299
|
+
readonly id: Schema.String;
|
|
300
|
+
readonly type: Schema.String;
|
|
301
|
+
}>;
|
|
302
|
+
readonly updatedAt: Schema.String;
|
|
303
|
+
}>;
|
|
304
|
+
readonly repository: Schema.Struct<{
|
|
305
|
+
readonly createdAt: Schema.String;
|
|
306
|
+
readonly id: Schema.String;
|
|
307
|
+
readonly locationId: Schema.String;
|
|
308
|
+
readonly name: Schema.Trim;
|
|
309
|
+
readonly projectId: Schema.String;
|
|
310
|
+
readonly revision: Schema.String;
|
|
311
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
312
|
+
readonly updatedAt: Schema.String;
|
|
313
|
+
readonly vcs: Schema.Literal<"git">;
|
|
314
|
+
}>;
|
|
315
|
+
readonly workspace: Schema.Struct<{
|
|
316
|
+
readonly createdAt: Schema.String;
|
|
317
|
+
readonly id: Schema.String;
|
|
318
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
319
|
+
readonly name: Schema.Trim;
|
|
320
|
+
readonly projectId: Schema.String;
|
|
321
|
+
readonly revision: Schema.String;
|
|
322
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
323
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
324
|
+
readonly updatedAt: Schema.String;
|
|
325
|
+
}>;
|
|
326
|
+
}>;
|
|
327
|
+
export declare const projectWorkspaceRequestPayloadEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
328
|
+
readonly method: Schema.Literal<"project.register">;
|
|
329
|
+
readonly parameters: Schema.Struct<{
|
|
330
|
+
readonly commandId: Schema.String;
|
|
331
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
332
|
+
readonly name: Schema.Trim;
|
|
333
|
+
readonly rootPath: Schema.String;
|
|
334
|
+
}>;
|
|
335
|
+
}>, Schema.Struct<{
|
|
336
|
+
readonly method: Schema.Literal<"project.list">;
|
|
337
|
+
readonly parameters: Schema.Struct<{
|
|
338
|
+
readonly afterCursor: Schema.String;
|
|
339
|
+
readonly limit: Schema.Int;
|
|
340
|
+
}>;
|
|
341
|
+
}>, Schema.Struct<{
|
|
342
|
+
readonly method: Schema.Literal<"project.show">;
|
|
343
|
+
readonly parameters: Schema.Struct<{
|
|
344
|
+
readonly projectId: Schema.String;
|
|
345
|
+
}>;
|
|
346
|
+
}>, Schema.Struct<{
|
|
347
|
+
readonly method: Schema.Literal<"workspace.list">;
|
|
348
|
+
readonly parameters: Schema.Struct<{
|
|
349
|
+
readonly projectId: Schema.String;
|
|
350
|
+
readonly afterCursor: Schema.String;
|
|
351
|
+
readonly limit: Schema.Int;
|
|
352
|
+
}>;
|
|
353
|
+
}>, Schema.Struct<{
|
|
354
|
+
readonly method: Schema.Literal<"workspace.show">;
|
|
355
|
+
readonly parameters: Schema.Struct<{
|
|
356
|
+
readonly workspaceId: Schema.String;
|
|
357
|
+
}>;
|
|
358
|
+
}>, Schema.Struct<{
|
|
359
|
+
readonly method: Schema.Literal<"workspace.repository.attach">;
|
|
360
|
+
readonly parameters: Schema.Struct<{
|
|
361
|
+
readonly commandId: Schema.String;
|
|
362
|
+
readonly expectedRevision: Schema.String;
|
|
363
|
+
readonly name: Schema.Trim;
|
|
364
|
+
readonly rootPath: Schema.String;
|
|
365
|
+
readonly workspaceId: Schema.String;
|
|
366
|
+
}>;
|
|
367
|
+
}>]>;
|
|
368
|
+
export declare const projectWorkspaceSuccessResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
369
|
+
readonly checkout: Schema.Struct<{
|
|
370
|
+
readonly baseRevision: Schema.String;
|
|
371
|
+
readonly branch: Schema.String;
|
|
372
|
+
readonly createdAt: Schema.String;
|
|
373
|
+
readonly dirty: Schema.Boolean;
|
|
374
|
+
readonly headRevision: Schema.String;
|
|
375
|
+
readonly id: Schema.String;
|
|
376
|
+
readonly locationId: Schema.String;
|
|
377
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
378
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
379
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
380
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
381
|
+
}>, Schema.Struct<{
|
|
382
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
383
|
+
readonly kind: Schema.Literal<"imported">;
|
|
384
|
+
}>, Schema.Struct<{
|
|
385
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
386
|
+
readonly creationReceiptId: Schema.String;
|
|
387
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
388
|
+
}>]>;
|
|
389
|
+
readonly repositoryId: Schema.String;
|
|
390
|
+
readonly revision: Schema.String;
|
|
391
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
392
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
393
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
394
|
+
readonly updatedAt: Schema.String;
|
|
395
|
+
readonly workspaceId: Schema.String;
|
|
396
|
+
}>;
|
|
397
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
398
|
+
readonly method: Schema.Literal<"project.register">;
|
|
399
|
+
readonly project: Schema.Struct<{
|
|
400
|
+
readonly createdAt: Schema.String;
|
|
401
|
+
readonly id: Schema.String;
|
|
402
|
+
readonly name: Schema.Trim;
|
|
403
|
+
readonly revision: Schema.String;
|
|
404
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
405
|
+
readonly updatedAt: Schema.String;
|
|
406
|
+
}>;
|
|
407
|
+
readonly receipt: Schema.Struct<{
|
|
408
|
+
readonly actorId: Schema.String;
|
|
409
|
+
readonly aggregateRevision: Schema.String;
|
|
410
|
+
readonly commandId: Schema.String;
|
|
411
|
+
readonly createdAt: Schema.String;
|
|
412
|
+
readonly eventCursor: Schema.String;
|
|
413
|
+
readonly method: Schema.String;
|
|
414
|
+
readonly receiptId: Schema.String;
|
|
415
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
416
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
417
|
+
readonly target: Schema.Struct<{
|
|
418
|
+
readonly id: Schema.String;
|
|
419
|
+
readonly type: Schema.String;
|
|
420
|
+
}>;
|
|
421
|
+
readonly updatedAt: Schema.String;
|
|
422
|
+
}>;
|
|
423
|
+
readonly repository: Schema.Struct<{
|
|
424
|
+
readonly createdAt: Schema.String;
|
|
425
|
+
readonly id: Schema.String;
|
|
426
|
+
readonly locationId: Schema.String;
|
|
427
|
+
readonly name: Schema.Trim;
|
|
428
|
+
readonly projectId: Schema.String;
|
|
429
|
+
readonly revision: Schema.String;
|
|
430
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
431
|
+
readonly updatedAt: Schema.String;
|
|
432
|
+
readonly vcs: Schema.Literal<"git">;
|
|
433
|
+
}>;
|
|
434
|
+
readonly workspace: Schema.Struct<{
|
|
435
|
+
readonly createdAt: Schema.String;
|
|
436
|
+
readonly id: Schema.String;
|
|
437
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
438
|
+
readonly name: Schema.Trim;
|
|
439
|
+
readonly projectId: Schema.String;
|
|
440
|
+
readonly revision: Schema.String;
|
|
441
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
442
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
443
|
+
readonly updatedAt: Schema.String;
|
|
444
|
+
}>;
|
|
445
|
+
}>, Schema.Struct<{
|
|
446
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
447
|
+
readonly createdAt: Schema.String;
|
|
448
|
+
readonly id: Schema.String;
|
|
449
|
+
readonly name: Schema.Trim;
|
|
450
|
+
readonly revision: Schema.String;
|
|
451
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
452
|
+
readonly updatedAt: Schema.String;
|
|
453
|
+
}>>;
|
|
454
|
+
readonly method: Schema.Literal<"project.list">;
|
|
455
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
456
|
+
}>, Schema.Struct<{
|
|
457
|
+
readonly method: Schema.Literal<"project.show">;
|
|
458
|
+
readonly project: Schema.Struct<{
|
|
459
|
+
readonly createdAt: Schema.String;
|
|
460
|
+
readonly id: Schema.String;
|
|
461
|
+
readonly name: Schema.Trim;
|
|
462
|
+
readonly revision: Schema.String;
|
|
463
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
464
|
+
readonly updatedAt: Schema.String;
|
|
465
|
+
}>;
|
|
466
|
+
readonly repositories: Schema.$Array<Schema.Struct<{
|
|
467
|
+
readonly createdAt: Schema.String;
|
|
468
|
+
readonly id: Schema.String;
|
|
469
|
+
readonly locationId: Schema.String;
|
|
470
|
+
readonly name: Schema.Trim;
|
|
471
|
+
readonly projectId: Schema.String;
|
|
472
|
+
readonly revision: Schema.String;
|
|
473
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
474
|
+
readonly updatedAt: Schema.String;
|
|
475
|
+
readonly vcs: Schema.Literal<"git">;
|
|
476
|
+
}>>;
|
|
477
|
+
}>, Schema.Struct<{
|
|
478
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
479
|
+
readonly createdAt: Schema.String;
|
|
480
|
+
readonly id: Schema.String;
|
|
481
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
482
|
+
readonly name: Schema.Trim;
|
|
483
|
+
readonly projectId: Schema.String;
|
|
484
|
+
readonly revision: Schema.String;
|
|
485
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
486
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
487
|
+
readonly updatedAt: Schema.String;
|
|
488
|
+
}>>;
|
|
489
|
+
readonly method: Schema.Literal<"workspace.list">;
|
|
490
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
491
|
+
}>, Schema.Struct<{
|
|
492
|
+
readonly checkouts: Schema.$Array<Schema.Struct<{
|
|
493
|
+
readonly baseRevision: Schema.String;
|
|
494
|
+
readonly branch: Schema.String;
|
|
495
|
+
readonly createdAt: Schema.String;
|
|
496
|
+
readonly dirty: Schema.Boolean;
|
|
497
|
+
readonly headRevision: Schema.String;
|
|
498
|
+
readonly id: Schema.String;
|
|
499
|
+
readonly locationId: Schema.String;
|
|
500
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
501
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
502
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
503
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
504
|
+
}>, Schema.Struct<{
|
|
505
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
506
|
+
readonly kind: Schema.Literal<"imported">;
|
|
507
|
+
}>, Schema.Struct<{
|
|
508
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
509
|
+
readonly creationReceiptId: Schema.String;
|
|
510
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
511
|
+
}>]>;
|
|
512
|
+
readonly repositoryId: Schema.String;
|
|
513
|
+
readonly revision: Schema.String;
|
|
514
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
515
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
516
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
517
|
+
readonly updatedAt: Schema.String;
|
|
518
|
+
readonly workspaceId: Schema.String;
|
|
519
|
+
}>>;
|
|
520
|
+
readonly method: Schema.Literal<"workspace.show">;
|
|
521
|
+
readonly workspace: Schema.Struct<{
|
|
522
|
+
readonly createdAt: Schema.String;
|
|
523
|
+
readonly id: Schema.String;
|
|
524
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
525
|
+
readonly name: Schema.Trim;
|
|
526
|
+
readonly projectId: Schema.String;
|
|
527
|
+
readonly revision: Schema.String;
|
|
528
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
529
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
530
|
+
readonly updatedAt: Schema.String;
|
|
531
|
+
}>;
|
|
532
|
+
}>, Schema.Struct<{
|
|
533
|
+
readonly checkout: Schema.Struct<{
|
|
534
|
+
readonly baseRevision: Schema.String;
|
|
535
|
+
readonly branch: Schema.String;
|
|
536
|
+
readonly createdAt: Schema.String;
|
|
537
|
+
readonly dirty: Schema.Boolean;
|
|
538
|
+
readonly headRevision: Schema.String;
|
|
539
|
+
readonly id: Schema.String;
|
|
540
|
+
readonly locationId: Schema.String;
|
|
541
|
+
readonly mode: Schema.Literals<readonly ["canonical", "git-worktree"]>;
|
|
542
|
+
readonly ownership: Schema.Union<readonly [Schema.Struct<{
|
|
543
|
+
readonly cleanup: Schema.Literal<"never">;
|
|
544
|
+
readonly kind: Schema.Literal<"canonical">;
|
|
545
|
+
}>, Schema.Struct<{
|
|
546
|
+
readonly cleanup: Schema.Literal<"unregister-only">;
|
|
547
|
+
readonly kind: Schema.Literal<"imported">;
|
|
548
|
+
}>, Schema.Struct<{
|
|
549
|
+
readonly cleanup: Schema.Literal<"plan-required">;
|
|
550
|
+
readonly creationReceiptId: Schema.String;
|
|
551
|
+
readonly kind: Schema.Literal<"maia-created">;
|
|
552
|
+
}>]>;
|
|
553
|
+
readonly repositoryId: Schema.String;
|
|
554
|
+
readonly revision: Schema.String;
|
|
555
|
+
readonly role: Schema.Literals<readonly ["primary", "attached"]>;
|
|
556
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
557
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
558
|
+
readonly updatedAt: Schema.String;
|
|
559
|
+
readonly workspaceId: Schema.String;
|
|
560
|
+
}>;
|
|
561
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
562
|
+
readonly method: Schema.Literal<"workspace.repository.attach">;
|
|
563
|
+
readonly receipt: Schema.Struct<{
|
|
564
|
+
readonly actorId: Schema.String;
|
|
565
|
+
readonly aggregateRevision: Schema.String;
|
|
566
|
+
readonly commandId: Schema.String;
|
|
567
|
+
readonly createdAt: Schema.String;
|
|
568
|
+
readonly eventCursor: Schema.String;
|
|
569
|
+
readonly method: Schema.String;
|
|
570
|
+
readonly receiptId: Schema.String;
|
|
571
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
572
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
573
|
+
readonly target: Schema.Struct<{
|
|
574
|
+
readonly id: Schema.String;
|
|
575
|
+
readonly type: Schema.String;
|
|
576
|
+
}>;
|
|
577
|
+
readonly updatedAt: Schema.String;
|
|
578
|
+
}>;
|
|
579
|
+
readonly repository: Schema.Struct<{
|
|
580
|
+
readonly createdAt: Schema.String;
|
|
581
|
+
readonly id: Schema.String;
|
|
582
|
+
readonly locationId: Schema.String;
|
|
583
|
+
readonly name: Schema.Trim;
|
|
584
|
+
readonly projectId: Schema.String;
|
|
585
|
+
readonly revision: Schema.String;
|
|
586
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
587
|
+
readonly updatedAt: Schema.String;
|
|
588
|
+
readonly vcs: Schema.Literal<"git">;
|
|
589
|
+
}>;
|
|
590
|
+
readonly workspace: Schema.Struct<{
|
|
591
|
+
readonly createdAt: Schema.String;
|
|
592
|
+
readonly id: Schema.String;
|
|
593
|
+
readonly kind: Schema.Literals<readonly ["local-main", "git-worktree"]>;
|
|
594
|
+
readonly name: Schema.Trim;
|
|
595
|
+
readonly projectId: Schema.String;
|
|
596
|
+
readonly revision: Schema.String;
|
|
597
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
598
|
+
readonly state: Schema.Literals<readonly ["provisioning", "ready", "removing", "failed"]>;
|
|
599
|
+
readonly updatedAt: Schema.String;
|
|
600
|
+
}>;
|
|
601
|
+
}>]>;
|
|
602
|
+
//# sourceMappingURL=effect-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/project-workspace/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAgDxC,eAAO,MAAM,mBAAmB;;;;;;;EAO9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;EAUjC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;EAUhC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BxC,CAAC;AAUH,eAAO,MAAM,qCAAqC;;;;;EAKhD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;EAA6B,CAAC;AAE5E,eAAO,MAAM,iCAAiC;;EAE5C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;EAG9C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;EAE9C,CAAC;AAEH,eAAO,MAAM,+CAA+C;;;;;;EAM1D,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;EAMxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;EAMxC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;EAM1C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1C,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOtD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyBrD,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOpD,CAAC"}
|