@opencode-ai/schema 0.0.0-dev-18240 → 0.0.0-dev-18244

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.
@@ -1029,10 +1029,12 @@ export interface Ref extends Schema.Schema.Type<typeof Ref> {
1029
1029
  export declare const Ref: Schema.Struct<{
1030
1030
  readonly id: Schema.brand<Schema.String, "Integration.ID">;
1031
1031
  readonly name: Schema.String;
1032
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
1032
1033
  }>;
1033
1034
  export declare const Info: Schema.Struct<{
1034
1035
  readonly id: Schema.brand<Schema.String, "Integration.ID">;
1035
1036
  readonly name: Schema.String;
1037
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
1036
1038
  readonly methods: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1037
1039
  readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
1038
1040
  readonly type: Schema.Literal<"oauth">;
@@ -41,10 +41,12 @@ export const Event = { Updated, Definitions: inventory(Updated) };
41
41
  export const Ref = Schema.Struct({
42
42
  id: ID,
43
43
  name: Schema.String,
44
+ metadata: optional(Schema.Record(Schema.String, Schema.Any)),
44
45
  }).annotate({ identifier: "Integration.Ref" });
45
46
  export const Info = Schema.Struct({
46
47
  id: ID,
47
48
  name: Schema.String,
49
+ metadata: optional(Schema.Record(Schema.String, Schema.Any)),
48
50
  methods: Schema.Array(Method),
49
51
  connections: Schema.Array(Connection.Info),
50
52
  }).annotate({ identifier: "Integration.Info" });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-dev-18240",
4
+ "version": "0.0.0-dev-18244",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {