@opencode-ai/schema 0.0.0-next-14659
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/dist/agent.d.ts +175 -0
- package/dist/agent.js +43 -0
- package/dist/catalog.d.ts +89 -0
- package/dist/catalog.js +4 -0
- package/dist/command.d.ts +44 -0
- package/dist/command.js +12 -0
- package/dist/connection.d.ts +28 -0
- package/dist/connection.js +15 -0
- package/dist/credential.d.ts +36 -0
- package/dist/credential.js +23 -0
- package/dist/durable-event-manifest.d.ts +10626 -0
- package/dist/durable-event-manifest.js +12 -0
- package/dist/event-manifest.d.ts +15309 -0
- package/dist/event-manifest.js +43 -0
- package/dist/event.d.ts +82 -0
- package/dist/event.js +73 -0
- package/dist/file-diff.d.ts +11 -0
- package/dist/file-diff.js +10 -0
- package/dist/filesystem-watcher.d.ts +102 -0
- package/dist/filesystem-watcher.js +11 -0
- package/dist/filesystem.d.ts +134 -0
- package/dist/filesystem.js +32 -0
- package/dist/ide-event.d.ts +96 -0
- package/dist/ide-event.js +10 -0
- package/dist/identifier.d.ts +3 -0
- package/dist/identifier.js +24 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +29 -0
- package/dist/installation-event.d.ts +189 -0
- package/dist/installation-event.js +16 -0
- package/dist/integration-id.d.ts +5 -0
- package/dist/integration-id.js +3 -0
- package/dist/integration.d.ts +572 -0
- package/dist/integration.js +93 -0
- package/dist/legacy-event.d.ts +1 -0
- package/dist/legacy-event.js +1 -0
- package/dist/llm.d.ts +28 -0
- package/dist/llm.js +19 -0
- package/dist/location.d.ts +36 -0
- package/dist/location.js +21 -0
- package/dist/lsp-event.d.ts +87 -0
- package/dist/lsp-event.js +4 -0
- package/dist/mcp-event.d.ts +286 -0
- package/dist/mcp-event.js +25 -0
- package/dist/mcp.d.ts +39 -0
- package/dist/mcp.js +38 -0
- package/dist/model.d.ts +205 -0
- package/dist/model.js +86 -0
- package/dist/models-dev.d.ts +89 -0
- package/dist/models-dev.js +7 -0
- package/dist/permission-saved.d.ts +18 -0
- package/dist/permission-saved.js +12 -0
- package/dist/permission-v1.d.ts +1 -0
- package/dist/permission-v1.js +1 -0
- package/dist/permission.d.ts +346 -0
- package/dist/permission.js +45 -0
- package/dist/plugin.d.ts +105 -0
- package/dist/plugin.js +12 -0
- package/dist/project-copy.d.ts +29 -0
- package/dist/project-copy.js +21 -0
- package/dist/project-directories.d.ts +105 -0
- package/dist/project-directories.js +8 -0
- package/dist/project-id.d.ts +5 -0
- package/dist/project-id.js +3 -0
- package/dist/project.d.ts +278 -0
- package/dist/project.js +44 -0
- package/dist/prompt-input.d.ts +106 -0
- package/dist/prompt-input.js +19 -0
- package/dist/prompt.d.ts +177 -0
- package/dist/prompt.js +43 -0
- package/dist/provider.d.ts +111 -0
- package/dist/provider.js +53 -0
- package/dist/pty-ticket.d.ts +8 -0
- package/dist/pty-ticket.js +7 -0
- package/dist/pty.d.ts +542 -0
- package/dist/pty.js +43 -0
- package/dist/question-v1.d.ts +1 -0
- package/dist/question-v1.js +1 -0
- package/dist/question.d.ts +516 -0
- package/dist/question.js +64 -0
- package/dist/reference.d.ts +140 -0
- package/dist/reference.js +31 -0
- package/dist/revert.d.ts +34 -0
- package/dist/revert.js +19 -0
- package/dist/schema.d.ts +10 -0
- package/dist/schema.js +14 -0
- package/dist/server-event.d.ts +172 -0
- package/dist/server-event.js +5 -0
- package/dist/session-compaction-event.d.ts +107 -0
- package/dist/session-compaction-event.js +10 -0
- package/dist/session-delivery.d.ts +4 -0
- package/dist/session-delivery.js +3 -0
- package/dist/session-event.d.ts +14225 -0
- package/dist/session-event.js +421 -0
- package/dist/session-id.d.ts +6 -0
- package/dist/session-id.js +10 -0
- package/dist/session-input.d.ts +145 -0
- package/dist/session-input.js +18 -0
- package/dist/session-message.d.ts +1318 -0
- package/dist/session-message.js +171 -0
- package/dist/session-status-event.d.ts +339 -0
- package/dist/session-status-event.js +43 -0
- package/dist/session-todo.d.ts +137 -0
- package/dist/session-todo.js +21 -0
- package/dist/session-v1.d.ts +1 -0
- package/dist/session-v1.js +1 -0
- package/dist/session.d.ts +140 -0
- package/dist/session.js +43 -0
- package/dist/shell.d.ts +441 -0
- package/dist/shell.js +58 -0
- package/dist/skill.d.ts +146 -0
- package/dist/skill.js +45 -0
- package/dist/tui-event.d.ts +387 -0
- package/dist/tui-event.js +53 -0
- package/dist/v1/legacy-event.d.ts +128 -0
- package/dist/v1/legacy-event.js +15 -0
- package/dist/v1/permission.d.ts +356 -0
- package/dist/v1/permission.js +41 -0
- package/dist/v1/question.d.ts +504 -0
- package/dist/v1/question.js +57 -0
- package/dist/v1/session.d.ts +7775 -0
- package/dist/v1/session.js +535 -0
- package/dist/vcs-event.d.ts +96 -0
- package/dist/vcs-event.js +11 -0
- package/dist/workspace-event.d.ts +307 -0
- package/dist/workspace-event.js +25 -0
- package/dist/workspace-id.d.ts +6 -0
- package/dist/workspace-id.js +16 -0
- package/dist/workspace.d.ts +9 -0
- package/dist/workspace.js +5 -0
- package/dist/worktree-event.d.ts +193 -0
- package/dist/worktree-event.js +18 -0
- package/package.json +41 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { Agent } from "./agent.js";
|
|
2
|
+
export { Command } from "./command.js";
|
|
3
|
+
export { Connection } from "./connection.js";
|
|
4
|
+
export { Credential } from "./credential.js";
|
|
5
|
+
export { Event } from "./event.js";
|
|
6
|
+
export { FileSystem } from "./filesystem.js";
|
|
7
|
+
export { Integration } from "./integration.js";
|
|
8
|
+
export { LLM } from "./llm.js";
|
|
9
|
+
export { Location } from "./location.js";
|
|
10
|
+
export { Model } from "./model.js";
|
|
11
|
+
export { Permission } from "./permission.js";
|
|
12
|
+
export { PermissionSaved } from "./permission-saved.js";
|
|
13
|
+
export { Project } from "./project.js";
|
|
14
|
+
export { ProjectCopy } from "./project-copy.js";
|
|
15
|
+
export { Provider } from "./provider.js";
|
|
16
|
+
export { Reference } from "./reference.js";
|
|
17
|
+
export { Revert } from "./revert.js";
|
|
18
|
+
export { Session } from "./session.js";
|
|
19
|
+
export { SessionInput } from "./session-input.js";
|
|
20
|
+
export { SessionMessage } from "./session-message.js";
|
|
21
|
+
export { Shell } from "./shell.js";
|
|
22
|
+
export { Skill } from "./skill.js";
|
|
23
|
+
export { Pty } from "./pty.js";
|
|
24
|
+
export { PtyTicket } from "./pty-ticket.js";
|
|
25
|
+
export { Question } from "./question.js";
|
|
26
|
+
export { Workspace } from "./workspace.js";
|
|
27
|
+
export { Prompt, Source, FileAttachment, AgentAttachment } from "./prompt.js";
|
|
28
|
+
export { PromptInput } from "./prompt-input.js";
|
|
29
|
+
export * from "./schema.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { Agent } from "./agent.js";
|
|
2
|
+
export { Command } from "./command.js";
|
|
3
|
+
export { Connection } from "./connection.js";
|
|
4
|
+
export { Credential } from "./credential.js";
|
|
5
|
+
export { Event } from "./event.js";
|
|
6
|
+
export { FileSystem } from "./filesystem.js";
|
|
7
|
+
export { Integration } from "./integration.js";
|
|
8
|
+
export { LLM } from "./llm.js";
|
|
9
|
+
export { Location } from "./location.js";
|
|
10
|
+
export { Model } from "./model.js";
|
|
11
|
+
export { Permission } from "./permission.js";
|
|
12
|
+
export { PermissionSaved } from "./permission-saved.js";
|
|
13
|
+
export { Project } from "./project.js";
|
|
14
|
+
export { ProjectCopy } from "./project-copy.js";
|
|
15
|
+
export { Provider } from "./provider.js";
|
|
16
|
+
export { Reference } from "./reference.js";
|
|
17
|
+
export { Revert } from "./revert.js";
|
|
18
|
+
export { Session } from "./session.js";
|
|
19
|
+
export { SessionInput } from "./session-input.js";
|
|
20
|
+
export { SessionMessage } from "./session-message.js";
|
|
21
|
+
export { Shell } from "./shell.js";
|
|
22
|
+
export { Skill } from "./skill.js";
|
|
23
|
+
export { Pty } from "./pty.js";
|
|
24
|
+
export { PtyTicket } from "./pty-ticket.js";
|
|
25
|
+
export { Question } from "./question.js";
|
|
26
|
+
export { Workspace } from "./workspace.js";
|
|
27
|
+
export { Prompt, Source, FileAttachment, AgentAttachment } from "./prompt.js";
|
|
28
|
+
export { PromptInput } from "./prompt-input.js";
|
|
29
|
+
export * from "./schema.js";
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export * as InstallationEvent from "./installation-event.js";
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
export declare const Updated: Schema.Struct<{
|
|
4
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
6
|
+
};
|
|
7
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
8
|
+
readonly type: Schema.Literal<"installation.updated">;
|
|
9
|
+
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10
|
+
readonly aggregateID: Schema.String;
|
|
11
|
+
readonly seq: Schema.Int;
|
|
12
|
+
readonly version: Schema.Int;
|
|
13
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
14
|
+
readonly aggregateID: Schema.String;
|
|
15
|
+
readonly seq: Schema.Int;
|
|
16
|
+
readonly version: Schema.Int;
|
|
17
|
+
}>>, never, never>;
|
|
18
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
19
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
20
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
21
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
22
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
23
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
24
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
25
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
26
|
+
}>, never, never>;
|
|
27
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
28
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
29
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
30
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
31
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
32
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
33
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
34
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
35
|
+
}>, never, never>;
|
|
36
|
+
}>>, never, never>;
|
|
37
|
+
readonly data: Schema.Struct<{
|
|
38
|
+
readonly version: Schema.String;
|
|
39
|
+
}>;
|
|
40
|
+
}> & {
|
|
41
|
+
data: Schema.Struct<{
|
|
42
|
+
readonly version: Schema.String;
|
|
43
|
+
}>;
|
|
44
|
+
durable?: {
|
|
45
|
+
readonly version: number;
|
|
46
|
+
readonly aggregate: string;
|
|
47
|
+
} | undefined;
|
|
48
|
+
type: "installation.updated";
|
|
49
|
+
};
|
|
50
|
+
export declare const UpdateAvailable: Schema.Struct<{
|
|
51
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
52
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
53
|
+
};
|
|
54
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
55
|
+
readonly type: Schema.Literal<"installation.update-available">;
|
|
56
|
+
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
57
|
+
readonly aggregateID: Schema.String;
|
|
58
|
+
readonly seq: Schema.Int;
|
|
59
|
+
readonly version: Schema.Int;
|
|
60
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
61
|
+
readonly aggregateID: Schema.String;
|
|
62
|
+
readonly seq: Schema.Int;
|
|
63
|
+
readonly version: Schema.Int;
|
|
64
|
+
}>>, never, never>;
|
|
65
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
66
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
67
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
68
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
69
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
70
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
71
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
72
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
73
|
+
}>, never, never>;
|
|
74
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
75
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
76
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
77
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
78
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
79
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
80
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
81
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
82
|
+
}>, never, never>;
|
|
83
|
+
}>>, never, never>;
|
|
84
|
+
readonly data: Schema.Struct<{
|
|
85
|
+
readonly version: Schema.String;
|
|
86
|
+
}>;
|
|
87
|
+
}> & {
|
|
88
|
+
data: Schema.Struct<{
|
|
89
|
+
readonly version: Schema.String;
|
|
90
|
+
}>;
|
|
91
|
+
durable?: {
|
|
92
|
+
readonly version: number;
|
|
93
|
+
readonly aggregate: string;
|
|
94
|
+
} | undefined;
|
|
95
|
+
type: "installation.update-available";
|
|
96
|
+
};
|
|
97
|
+
export declare const Definitions: readonly [Schema.Struct<{
|
|
98
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
99
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
100
|
+
};
|
|
101
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
102
|
+
readonly type: Schema.Literal<"installation.updated">;
|
|
103
|
+
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
104
|
+
readonly aggregateID: Schema.String;
|
|
105
|
+
readonly seq: Schema.Int;
|
|
106
|
+
readonly version: Schema.Int;
|
|
107
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
108
|
+
readonly aggregateID: Schema.String;
|
|
109
|
+
readonly seq: Schema.Int;
|
|
110
|
+
readonly version: Schema.Int;
|
|
111
|
+
}>>, never, never>;
|
|
112
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
113
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
114
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
115
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
116
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
117
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
118
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
119
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
120
|
+
}>, never, never>;
|
|
121
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
122
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
123
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
124
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
125
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
126
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
127
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
128
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
129
|
+
}>, never, never>;
|
|
130
|
+
}>>, never, never>;
|
|
131
|
+
readonly data: Schema.Struct<{
|
|
132
|
+
readonly version: Schema.String;
|
|
133
|
+
}>;
|
|
134
|
+
}> & {
|
|
135
|
+
data: Schema.Struct<{
|
|
136
|
+
readonly version: Schema.String;
|
|
137
|
+
}>;
|
|
138
|
+
durable?: {
|
|
139
|
+
readonly version: number;
|
|
140
|
+
readonly aggregate: string;
|
|
141
|
+
} | undefined;
|
|
142
|
+
type: "installation.updated";
|
|
143
|
+
}, Schema.Struct<{
|
|
144
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
145
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
146
|
+
};
|
|
147
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
148
|
+
readonly type: Schema.Literal<"installation.update-available">;
|
|
149
|
+
readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
150
|
+
readonly aggregateID: Schema.String;
|
|
151
|
+
readonly seq: Schema.Int;
|
|
152
|
+
readonly version: Schema.Int;
|
|
153
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
154
|
+
readonly aggregateID: Schema.String;
|
|
155
|
+
readonly seq: Schema.Int;
|
|
156
|
+
readonly version: Schema.Int;
|
|
157
|
+
}>>, never, never>;
|
|
158
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
159
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
160
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
161
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
162
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
163
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
164
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
165
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
166
|
+
}>, never, never>;
|
|
167
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
168
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
169
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
170
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
171
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
172
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
173
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
174
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
175
|
+
}>, never, never>;
|
|
176
|
+
}>>, never, never>;
|
|
177
|
+
readonly data: Schema.Struct<{
|
|
178
|
+
readonly version: Schema.String;
|
|
179
|
+
}>;
|
|
180
|
+
}> & {
|
|
181
|
+
data: Schema.Struct<{
|
|
182
|
+
readonly version: Schema.String;
|
|
183
|
+
}>;
|
|
184
|
+
durable?: {
|
|
185
|
+
readonly version: number;
|
|
186
|
+
readonly aggregate: string;
|
|
187
|
+
} | undefined;
|
|
188
|
+
type: "installation.update-available";
|
|
189
|
+
}];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * as InstallationEvent from "./installation-event.js";
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
import { Event } from "./event.js";
|
|
4
|
+
export const Updated = Event.define({
|
|
5
|
+
type: "installation.updated",
|
|
6
|
+
schema: {
|
|
7
|
+
version: Schema.String,
|
|
8
|
+
},
|
|
9
|
+
});
|
|
10
|
+
export const UpdateAvailable = Event.define({
|
|
11
|
+
type: "installation.update-available",
|
|
12
|
+
schema: {
|
|
13
|
+
version: Schema.String,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
export const Definitions = Event.inventory(Updated, UpdateAvailable);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const IntegrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
3
|
+
export type IntegrationID = typeof IntegrationID.Type;
|
|
4
|
+
export declare const IntegrationMethodID: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
5
|
+
export type IntegrationMethodID = typeof IntegrationMethodID.Type;
|