@opencode-ai/sdk 0.0.0-next-14769 → 0.0.0-next-14771
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/v2/gen/types.gen.d.ts +67 -19
- package/package.json +1 -1
|
@@ -2695,7 +2695,7 @@ export type FormMetadata = {
|
|
|
2695
2695
|
export type FormWhen = {
|
|
2696
2696
|
key: string;
|
|
2697
2697
|
op: "eq" | "neq";
|
|
2698
|
-
value: string;
|
|
2698
|
+
value: string | number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
2699
2699
|
};
|
|
2700
2700
|
export type FormOption = {
|
|
2701
2701
|
value: string;
|
|
@@ -2707,7 +2707,7 @@ export type FormStringField = {
|
|
|
2707
2707
|
title?: string;
|
|
2708
2708
|
description?: string;
|
|
2709
2709
|
required?: boolean;
|
|
2710
|
-
when?: FormWhen
|
|
2710
|
+
when?: Array<FormWhen>;
|
|
2711
2711
|
type: "string";
|
|
2712
2712
|
format?: "email" | "uri" | "date" | "date-time";
|
|
2713
2713
|
minLength?: number;
|
|
@@ -2723,7 +2723,7 @@ export type FormNumberField = {
|
|
|
2723
2723
|
title?: string;
|
|
2724
2724
|
description?: string;
|
|
2725
2725
|
required?: boolean;
|
|
2726
|
-
when?: FormWhen
|
|
2726
|
+
when?: Array<FormWhen>;
|
|
2727
2727
|
type: "number";
|
|
2728
2728
|
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2729
2729
|
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -2734,7 +2734,7 @@ export type FormIntegerField = {
|
|
|
2734
2734
|
title?: string;
|
|
2735
2735
|
description?: string;
|
|
2736
2736
|
required?: boolean;
|
|
2737
|
-
when?: FormWhen
|
|
2737
|
+
when?: Array<FormWhen>;
|
|
2738
2738
|
type: "integer";
|
|
2739
2739
|
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2740
2740
|
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -2745,7 +2745,7 @@ export type FormBooleanField = {
|
|
|
2745
2745
|
title?: string;
|
|
2746
2746
|
description?: string;
|
|
2747
2747
|
required?: boolean;
|
|
2748
|
-
when?: FormWhen
|
|
2748
|
+
when?: Array<FormWhen>;
|
|
2749
2749
|
type: "boolean";
|
|
2750
2750
|
default?: boolean;
|
|
2751
2751
|
};
|
|
@@ -2754,7 +2754,7 @@ export type FormMultiselectField = {
|
|
|
2754
2754
|
title?: string;
|
|
2755
2755
|
description?: string;
|
|
2756
2756
|
required?: boolean;
|
|
2757
|
-
when?: FormWhen
|
|
2757
|
+
when?: Array<FormWhen>;
|
|
2758
2758
|
type: "multiselect";
|
|
2759
2759
|
options: Array<FormOption>;
|
|
2760
2760
|
minItems?: number;
|
|
@@ -5404,12 +5404,17 @@ export type QuestionV2Rejected = {
|
|
|
5404
5404
|
requestID: string;
|
|
5405
5405
|
};
|
|
5406
5406
|
};
|
|
5407
|
+
export type FormWhen1 = {
|
|
5408
|
+
key: string;
|
|
5409
|
+
op: "eq" | "neq";
|
|
5410
|
+
value: string | number | "NaN" | "Infinity" | "-Infinity" | boolean;
|
|
5411
|
+
};
|
|
5407
5412
|
export type FormNumberField1 = {
|
|
5408
5413
|
key: string;
|
|
5409
5414
|
title?: string;
|
|
5410
5415
|
description?: string;
|
|
5411
5416
|
required?: boolean;
|
|
5412
|
-
when?:
|
|
5417
|
+
when?: Array<FormWhen1>;
|
|
5413
5418
|
type: "number";
|
|
5414
5419
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5415
5420
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -5420,7 +5425,7 @@ export type FormIntegerField1 = {
|
|
|
5420
5425
|
title?: string;
|
|
5421
5426
|
description?: string;
|
|
5422
5427
|
required?: boolean;
|
|
5423
|
-
when?:
|
|
5428
|
+
when?: Array<FormWhen1>;
|
|
5424
5429
|
type: "integer";
|
|
5425
5430
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5426
5431
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -6661,7 +6666,7 @@ export type FormNumberField2 = {
|
|
|
6661
6666
|
title?: string;
|
|
6662
6667
|
description?: string;
|
|
6663
6668
|
required?: boolean;
|
|
6664
|
-
when?:
|
|
6669
|
+
when?: Array<FormWhen1>;
|
|
6665
6670
|
type: "number";
|
|
6666
6671
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6667
6672
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -6672,7 +6677,7 @@ export type FormIntegerField2 = {
|
|
|
6672
6677
|
title?: string;
|
|
6673
6678
|
description?: string;
|
|
6674
6679
|
required?: boolean;
|
|
6675
|
-
when?:
|
|
6680
|
+
when?: Array<FormWhen1>;
|
|
6676
6681
|
type: "integer";
|
|
6677
6682
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6678
6683
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -8315,7 +8320,7 @@ export type FormMetadata2 = {
|
|
|
8315
8320
|
export type FormWhen2 = {
|
|
8316
8321
|
key: string;
|
|
8317
8322
|
op: "eq" | "neq";
|
|
8318
|
-
value: string;
|
|
8323
|
+
value: string | number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | boolean;
|
|
8319
8324
|
};
|
|
8320
8325
|
export type FormOption2 = {
|
|
8321
8326
|
value: string;
|
|
@@ -8327,7 +8332,7 @@ export type FormStringField2 = {
|
|
|
8327
8332
|
title?: string;
|
|
8328
8333
|
description?: string;
|
|
8329
8334
|
required?: boolean;
|
|
8330
|
-
when?: FormWhen2
|
|
8335
|
+
when?: Array<FormWhen2>;
|
|
8331
8336
|
type: "string";
|
|
8332
8337
|
format?: "email" | "uri" | "date" | "date-time";
|
|
8333
8338
|
minLength?: number;
|
|
@@ -8343,7 +8348,7 @@ export type FormNumberField3 = {
|
|
|
8343
8348
|
title?: string;
|
|
8344
8349
|
description?: string;
|
|
8345
8350
|
required?: boolean;
|
|
8346
|
-
when?: FormWhen2
|
|
8351
|
+
when?: Array<FormWhen2>;
|
|
8347
8352
|
type: "number";
|
|
8348
8353
|
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8349
8354
|
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -8354,7 +8359,7 @@ export type FormIntegerField3 = {
|
|
|
8354
8359
|
title?: string;
|
|
8355
8360
|
description?: string;
|
|
8356
8361
|
required?: boolean;
|
|
8357
|
-
when?: FormWhen2
|
|
8362
|
+
when?: Array<FormWhen2>;
|
|
8358
8363
|
type: "integer";
|
|
8359
8364
|
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8360
8365
|
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
@@ -8365,7 +8370,7 @@ export type FormBooleanField2 = {
|
|
|
8365
8370
|
title?: string;
|
|
8366
8371
|
description?: string;
|
|
8367
8372
|
required?: boolean;
|
|
8368
|
-
when?: FormWhen2
|
|
8373
|
+
when?: Array<FormWhen2>;
|
|
8369
8374
|
type: "boolean";
|
|
8370
8375
|
default?: boolean;
|
|
8371
8376
|
};
|
|
@@ -8374,7 +8379,7 @@ export type FormMultiselectField2 = {
|
|
|
8374
8379
|
title?: string;
|
|
8375
8380
|
description?: string;
|
|
8376
8381
|
required?: boolean;
|
|
8377
|
-
when?: FormWhen2
|
|
8382
|
+
when?: Array<FormWhen2>;
|
|
8378
8383
|
type: "multiselect";
|
|
8379
8384
|
options: Array<FormOption2>;
|
|
8380
8385
|
minItems?: number;
|
|
@@ -9594,12 +9599,33 @@ export type QuestionV2Rejected2 = {
|
|
|
9594
9599
|
export type FormMetadata1 = {
|
|
9595
9600
|
[key: string]: unknown;
|
|
9596
9601
|
};
|
|
9602
|
+
export type FormWhen12 = {
|
|
9603
|
+
key: string;
|
|
9604
|
+
op: "eq" | "neq";
|
|
9605
|
+
value: string | number | "NaN" | "Infinity" | "-Infinity" | boolean;
|
|
9606
|
+
};
|
|
9607
|
+
export type FormStringField1 = {
|
|
9608
|
+
key: string;
|
|
9609
|
+
title?: string;
|
|
9610
|
+
description?: string;
|
|
9611
|
+
required?: boolean;
|
|
9612
|
+
when?: Array<FormWhen12>;
|
|
9613
|
+
type: "string";
|
|
9614
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
9615
|
+
minLength?: number;
|
|
9616
|
+
maxLength?: number;
|
|
9617
|
+
pattern?: string;
|
|
9618
|
+
placeholder?: string;
|
|
9619
|
+
default?: string;
|
|
9620
|
+
options?: Array<FormOption2>;
|
|
9621
|
+
custom?: boolean;
|
|
9622
|
+
};
|
|
9597
9623
|
export type FormNumberField12 = {
|
|
9598
9624
|
key: string;
|
|
9599
9625
|
title?: string;
|
|
9600
9626
|
description?: string;
|
|
9601
9627
|
required?: boolean;
|
|
9602
|
-
when?:
|
|
9628
|
+
when?: Array<FormWhen12>;
|
|
9603
9629
|
type: "number";
|
|
9604
9630
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9605
9631
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -9610,19 +9636,41 @@ export type FormIntegerField12 = {
|
|
|
9610
9636
|
title?: string;
|
|
9611
9637
|
description?: string;
|
|
9612
9638
|
required?: boolean;
|
|
9613
|
-
when?:
|
|
9639
|
+
when?: Array<FormWhen12>;
|
|
9614
9640
|
type: "integer";
|
|
9615
9641
|
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9616
9642
|
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9617
9643
|
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9618
9644
|
};
|
|
9645
|
+
export type FormBooleanField1 = {
|
|
9646
|
+
key: string;
|
|
9647
|
+
title?: string;
|
|
9648
|
+
description?: string;
|
|
9649
|
+
required?: boolean;
|
|
9650
|
+
when?: Array<FormWhen12>;
|
|
9651
|
+
type: "boolean";
|
|
9652
|
+
default?: boolean;
|
|
9653
|
+
};
|
|
9654
|
+
export type FormMultiselectField1 = {
|
|
9655
|
+
key: string;
|
|
9656
|
+
title?: string;
|
|
9657
|
+
description?: string;
|
|
9658
|
+
required?: boolean;
|
|
9659
|
+
when?: Array<FormWhen12>;
|
|
9660
|
+
type: "multiselect";
|
|
9661
|
+
options: Array<FormOption2>;
|
|
9662
|
+
minItems?: number;
|
|
9663
|
+
maxItems?: number;
|
|
9664
|
+
custom?: boolean;
|
|
9665
|
+
default?: Array<string>;
|
|
9666
|
+
};
|
|
9619
9667
|
export type FormFormInfo1 = {
|
|
9620
9668
|
id: string;
|
|
9621
9669
|
sessionID: string;
|
|
9622
9670
|
title?: string;
|
|
9623
9671
|
metadata?: FormMetadata1;
|
|
9624
9672
|
mode: "form";
|
|
9625
|
-
fields: Array<
|
|
9673
|
+
fields: Array<FormStringField1 | FormNumberField12 | FormIntegerField12 | FormBooleanField1 | FormMultiselectField1>;
|
|
9626
9674
|
};
|
|
9627
9675
|
export type FormUrlInfo1 = {
|
|
9628
9676
|
id: string;
|