@opencode/protocol 0.0.0-dev-20283 → 0.0.0-dev-20285
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/integration.d.ts +36 -0
- package/package.json +2 -2
|
@@ -511,9 +511,27 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
|
|
|
511
511
|
};
|
|
512
512
|
readonly label: Schema.String;
|
|
513
513
|
readonly method: Schema.Literals<readonly ["key", "oauth"]>;
|
|
514
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
515
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
516
|
+
readonly message: Schema.String;
|
|
517
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
518
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
519
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
520
|
+
readonly message: Schema.String;
|
|
521
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
522
|
+
}>>, never, never>;
|
|
514
523
|
}>, Schema.Struct<{
|
|
515
524
|
readonly type: Schema.Literal<"env">;
|
|
516
525
|
readonly name: Schema.String;
|
|
526
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
527
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
528
|
+
readonly message: Schema.String;
|
|
529
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
530
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
531
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
532
|
+
readonly message: Schema.String;
|
|
533
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
534
|
+
}>>, never, never>;
|
|
517
535
|
}>]>>;
|
|
518
536
|
}>>;
|
|
519
537
|
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"integration.get", "GET", "/api/integration/:integrationID", Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1027,9 +1045,27 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
|
|
|
1027
1045
|
};
|
|
1028
1046
|
readonly label: Schema.String;
|
|
1029
1047
|
readonly method: Schema.Literals<readonly ["key", "oauth"]>;
|
|
1048
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1049
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1050
|
+
readonly message: Schema.String;
|
|
1051
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1052
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1053
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1054
|
+
readonly message: Schema.String;
|
|
1055
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1056
|
+
}>>, never, never>;
|
|
1030
1057
|
}>, Schema.Struct<{
|
|
1031
1058
|
readonly type: Schema.Literal<"env">;
|
|
1032
1059
|
readonly name: Schema.String;
|
|
1060
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1061
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1062
|
+
readonly message: Schema.String;
|
|
1063
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1064
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1065
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1066
|
+
readonly message: Schema.String;
|
|
1067
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1068
|
+
}>>, never, never>;
|
|
1033
1069
|
}>]>>;
|
|
1034
1070
|
}>;
|
|
1035
1071
|
}>>, Schema.toCodecJson<typeof IntegrationNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"integration.wellknown.add", "POST", "/api/experimental/integration/wellknown", never, Schema.toCodecStringTree<Schema.Struct<{
|
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-20285",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "tsgo --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@opencode/schema": "0.0.0-dev-
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-20285",
|
|
36
36
|
"effect": "4.0.0-rc.112"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|