@opencode/protocol 0.0.0-dev-1017 → 0.0.0-dev-1019
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/groups/event.d.ts +28 -5
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -140,12 +140,22 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
140
140
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
141
141
|
}>, never, never>;
|
|
142
142
|
}>>, never, never>;
|
|
143
|
-
readonly data: Schema.Struct<{
|
|
143
|
+
readonly data: Schema.Struct<{
|
|
144
|
+
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
145
|
+
readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
146
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
147
|
+
};
|
|
148
|
+
}>;
|
|
144
149
|
}> & {
|
|
145
150
|
type: "credential.updated";
|
|
146
151
|
durability: "ephemeral";
|
|
147
152
|
durable: undefined;
|
|
148
|
-
data: Schema.Struct<{
|
|
153
|
+
data: Schema.Struct<{
|
|
154
|
+
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
155
|
+
readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
156
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
149
159
|
}, Schema.Struct<{
|
|
150
160
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
151
161
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7816,7 +7826,10 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7816
7826
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7817
7827
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7818
7828
|
} | undefined;
|
|
7819
|
-
readonly data: {
|
|
7829
|
+
readonly data: {
|
|
7830
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
7831
|
+
readonly credentialID: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
7832
|
+
};
|
|
7820
7833
|
} | {
|
|
7821
7834
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7822
7835
|
readonly created: number;
|
|
@@ -8891,12 +8904,22 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
8891
8904
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
8892
8905
|
}>, never, never>;
|
|
8893
8906
|
}>>, never, never>;
|
|
8894
|
-
readonly data: Schema.Struct<{
|
|
8907
|
+
readonly data: Schema.Struct<{
|
|
8908
|
+
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
8909
|
+
readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
8910
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
8911
|
+
};
|
|
8912
|
+
}>;
|
|
8895
8913
|
}> & {
|
|
8896
8914
|
type: "credential.updated";
|
|
8897
8915
|
durability: "ephemeral";
|
|
8898
8916
|
durable: undefined;
|
|
8899
|
-
data: Schema.Struct<{
|
|
8917
|
+
data: Schema.Struct<{
|
|
8918
|
+
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
8919
|
+
readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
8920
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
8921
|
+
};
|
|
8922
|
+
}>;
|
|
8900
8923
|
}, Schema.Struct<{
|
|
8901
8924
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
8902
8925
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/protocol",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-1019",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typecheck:tsc": "tsc --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@opencode/schema": "0.0.0-dev-
|
|
38
|
+
"@opencode/schema": "0.0.0-dev-1019",
|
|
39
39
|
"effect": "4.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|