@cat-factory/contracts 0.43.2 → 0.44.0
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/accountSettings.d.ts +164 -9
- package/dist/accountSettings.d.ts.map +1 -1
- package/dist/accountSettings.js +75 -7
- package/dist/accountSettings.js.map +1 -1
- package/dist/routes/_shared.d.ts +1 -1
- package/dist/routes/_shared.d.ts.map +1 -1
- package/dist/routes/accounts.d.ts +85 -19
- package/dist/routes/accounts.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +2 -2
- package/dist/routes/api-keys.d.ts +2 -2
- package/dist/routes/auth.d.ts +81 -2
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/auth.js +35 -0
- package/dist/routes/auth.js.map +1 -1
- package/dist/routes/board.d.ts +8 -8
- package/dist/routes/bootstrap.d.ts +3 -3
- package/dist/routes/brainstorm.d.ts +8 -8
- package/dist/routes/clarity.d.ts +8 -8
- package/dist/routes/consensus.d.ts +1 -1
- package/dist/routes/documents.d.ts +6 -6
- package/dist/routes/environments.d.ts +3 -3
- package/dist/routes/execution.d.ts +12 -12
- package/dist/routes/followUp.d.ts +5 -5
- package/dist/routes/fragment-library.d.ts +6 -6
- package/dist/routes/github.d.ts +8 -8
- package/dist/routes/human-review.d.ts +1 -1
- package/dist/routes/human-test.d.ts +5 -5
- package/dist/routes/kaizen.d.ts +1 -1
- package/dist/routes/localModels.d.ts +2 -2
- package/dist/routes/merge.d.ts +2 -2
- package/dist/routes/model-presets.d.ts +2 -2
- package/dist/routes/models.d.ts +1 -1
- package/dist/routes/notifications.d.ts +2 -2
- package/dist/routes/openrouter.d.ts +3 -3
- package/dist/routes/personal-subscriptions.d.ts +1 -1
- package/dist/routes/pipelines.d.ts +5 -5
- package/dist/routes/recurring.d.ts +4 -4
- package/dist/routes/release.d.ts +2 -2
- package/dist/routes/requirements.d.ts +12 -12
- package/dist/routes/sandbox.d.ts +5 -5
- package/dist/routes/services.d.ts +3 -3
- package/dist/routes/spec.d.ts +1 -1
- package/dist/routes/tasks.d.ts +7 -7
- package/dist/routes/user-secret.d.ts +4 -4
- package/dist/routes/vendor-credentials.d.ts +1 -1
- package/dist/routes/visual-confirm.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +3 -3
- package/package.json +4 -4
|
@@ -82,7 +82,7 @@ export declare const updateAccountContract: {
|
|
|
82
82
|
readonly method: "patch";
|
|
83
83
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
84
84
|
accountId: v.StringSchema<undefined>;
|
|
85
|
-
}, undefined> & import("@toad-contracts/core").
|
|
85
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
86
86
|
readonly pathResolver: ({ accountId }: {
|
|
87
87
|
accountId: string;
|
|
88
88
|
}) => string;
|
|
@@ -127,7 +127,7 @@ export declare const listAccountMembersContract: {
|
|
|
127
127
|
readonly method: "get";
|
|
128
128
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
129
129
|
accountId: v.StringSchema<undefined>;
|
|
130
|
-
}, undefined> & import("@toad-contracts/core").
|
|
130
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
131
131
|
readonly pathResolver: ({ accountId }: {
|
|
132
132
|
accountId: string;
|
|
133
133
|
}) => string;
|
|
@@ -169,7 +169,7 @@ export declare const addAccountMemberContract: {
|
|
|
169
169
|
readonly method: "post";
|
|
170
170
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
171
171
|
accountId: v.StringSchema<undefined>;
|
|
172
|
-
}, undefined> & import("@toad-contracts/core").
|
|
172
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
173
173
|
readonly pathResolver: ({ accountId }: {
|
|
174
174
|
accountId: string;
|
|
175
175
|
}) => string;
|
|
@@ -216,7 +216,7 @@ export declare const setMemberRolesContract: {
|
|
|
216
216
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
217
217
|
readonly accountId: v.StringSchema<undefined>;
|
|
218
218
|
readonly userId: v.StringSchema<undefined>;
|
|
219
|
-
}, undefined> & import("@toad-contracts/core").
|
|
219
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
220
220
|
readonly pathResolver: ({ accountId, userId }: {
|
|
221
221
|
accountId: string;
|
|
222
222
|
userId: string;
|
|
@@ -262,7 +262,7 @@ export declare const listInvitationsContract: {
|
|
|
262
262
|
readonly method: "get";
|
|
263
263
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
264
264
|
accountId: v.StringSchema<undefined>;
|
|
265
|
-
}, undefined> & import("@toad-contracts/core").
|
|
265
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
266
266
|
readonly pathResolver: ({ accountId }: {
|
|
267
267
|
accountId: string;
|
|
268
268
|
}) => string;
|
|
@@ -305,7 +305,7 @@ export declare const createInvitationContract: {
|
|
|
305
305
|
readonly method: "post";
|
|
306
306
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
307
307
|
accountId: v.StringSchema<undefined>;
|
|
308
|
-
}, undefined> & import("@toad-contracts/core").
|
|
308
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
309
309
|
readonly pathResolver: ({ accountId }: {
|
|
310
310
|
accountId: string;
|
|
311
311
|
}) => string;
|
|
@@ -356,7 +356,7 @@ export declare const revokeInvitationContract: {
|
|
|
356
356
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
357
357
|
readonly accountId: v.StringSchema<undefined>;
|
|
358
358
|
readonly invitationId: v.StringSchema<undefined>;
|
|
359
|
-
}, undefined> & import("@toad-contracts/core").
|
|
359
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
360
360
|
readonly pathResolver: ({ accountId, invitationId }: {
|
|
361
361
|
accountId: string;
|
|
362
362
|
invitationId: string;
|
|
@@ -391,7 +391,7 @@ export declare const listAccountApiKeysContract: {
|
|
|
391
391
|
readonly method: "get";
|
|
392
392
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
393
393
|
accountId: v.StringSchema<undefined>;
|
|
394
|
-
}, undefined> & import("@toad-contracts/core").
|
|
394
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
395
395
|
readonly pathResolver: ({ accountId }: {
|
|
396
396
|
accountId: string;
|
|
397
397
|
}) => string;
|
|
@@ -438,7 +438,7 @@ export declare const addAccountApiKeyContract: {
|
|
|
438
438
|
readonly method: "post";
|
|
439
439
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
440
440
|
accountId: v.StringSchema<undefined>;
|
|
441
|
-
}, undefined> & import("@toad-contracts/core").
|
|
441
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
442
442
|
readonly pathResolver: ({ accountId }: {
|
|
443
443
|
accountId: string;
|
|
444
444
|
}) => string;
|
|
@@ -489,7 +489,7 @@ export declare const removeAccountApiKeyContract: {
|
|
|
489
489
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
490
490
|
readonly accountId: v.StringSchema<undefined>;
|
|
491
491
|
readonly id: v.StringSchema<undefined>;
|
|
492
|
-
}, undefined> & import("@toad-contracts/core").
|
|
492
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
493
493
|
readonly pathResolver: ({ accountId, id }: {
|
|
494
494
|
accountId: string;
|
|
495
495
|
id: string;
|
|
@@ -524,7 +524,7 @@ export declare const getEmailConnectionContract: {
|
|
|
524
524
|
readonly method: "get";
|
|
525
525
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
526
526
|
accountId: v.StringSchema<undefined>;
|
|
527
|
-
}, undefined> & import("@toad-contracts/core").
|
|
527
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
528
528
|
readonly pathResolver: ({ accountId }: {
|
|
529
529
|
accountId: string;
|
|
530
530
|
}) => string;
|
|
@@ -565,7 +565,7 @@ export declare const connectEmailContract: {
|
|
|
565
565
|
readonly method: "post";
|
|
566
566
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
567
567
|
accountId: v.StringSchema<undefined>;
|
|
568
|
-
}, undefined> & import("@toad-contracts/core").
|
|
568
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
569
569
|
readonly pathResolver: ({ accountId }: {
|
|
570
570
|
accountId: string;
|
|
571
571
|
}) => string;
|
|
@@ -608,7 +608,7 @@ export declare const disconnectEmailContract: {
|
|
|
608
608
|
readonly method: "delete";
|
|
609
609
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
610
610
|
accountId: v.StringSchema<undefined>;
|
|
611
|
-
}, undefined> & import("@toad-contracts/core").
|
|
611
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
612
612
|
readonly pathResolver: ({ accountId }: {
|
|
613
613
|
accountId: string;
|
|
614
614
|
}) => string;
|
|
@@ -642,7 +642,7 @@ export declare const testEmailContract: {
|
|
|
642
642
|
readonly method: "post";
|
|
643
643
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
644
644
|
accountId: v.StringSchema<undefined>;
|
|
645
|
-
}, undefined> & import("@toad-contracts/core").
|
|
645
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
646
646
|
readonly pathResolver: ({ accountId }: {
|
|
647
647
|
accountId: string;
|
|
648
648
|
}) => string;
|
|
@@ -681,7 +681,7 @@ export declare const getAccountSettingsContract: {
|
|
|
681
681
|
readonly method: "get";
|
|
682
682
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
683
683
|
accountId: v.StringSchema<undefined>;
|
|
684
|
-
}, undefined> & import("@toad-contracts/core").
|
|
684
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
685
685
|
readonly pathResolver: ({ accountId }: {
|
|
686
686
|
accountId: string;
|
|
687
687
|
}) => string;
|
|
@@ -709,10 +709,34 @@ export declare const getAccountSettingsContract: {
|
|
|
709
709
|
}, undefined>;
|
|
710
710
|
}, undefined>;
|
|
711
711
|
readonly 200: v.ObjectSchema<{
|
|
712
|
-
readonly config: v.ObjectSchema<{
|
|
712
|
+
readonly config: v.ObjectSchema<{
|
|
713
|
+
readonly contentStorage: v.OptionalSchema<v.ObjectSchema<{
|
|
714
|
+
readonly backend: v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>;
|
|
715
|
+
readonly fs: v.OptionalSchema<v.ObjectSchema<{
|
|
716
|
+
readonly basePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
717
|
+
}, undefined>, undefined>;
|
|
718
|
+
readonly s3: v.OptionalSchema<v.ObjectSchema<{
|
|
719
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
720
|
+
readonly bucket: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
721
|
+
readonly prefix: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
722
|
+
readonly endpoint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
723
|
+
readonly forcePathStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
724
|
+
}, undefined>, undefined>;
|
|
725
|
+
}, undefined>, undefined>;
|
|
726
|
+
}, undefined>;
|
|
713
727
|
readonly summary: v.ObjectSchema<{
|
|
714
728
|
readonly slackOAuthConfigured: v.BooleanSchema<undefined>;
|
|
715
729
|
readonly webSearch: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
730
|
+
readonly contentStorage: v.ObjectSchema<{
|
|
731
|
+
readonly backend: v.NullableSchema<v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>, undefined>;
|
|
732
|
+
readonly bucket: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
733
|
+
readonly basePath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
734
|
+
readonly s3CredentialsConfigured: v.BooleanSchema<undefined>;
|
|
735
|
+
}, undefined>;
|
|
736
|
+
}, undefined>;
|
|
737
|
+
readonly contentStorageCapability: v.ObjectSchema<{
|
|
738
|
+
readonly supportedBackends: v.ArraySchema<v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>, undefined>;
|
|
739
|
+
readonly defaultBackend: v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>;
|
|
716
740
|
}, undefined>;
|
|
717
741
|
}, undefined>;
|
|
718
742
|
};
|
|
@@ -721,12 +745,26 @@ export declare const updateAccountSettingsContract: {
|
|
|
721
745
|
readonly method: "put";
|
|
722
746
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
723
747
|
accountId: v.StringSchema<undefined>;
|
|
724
|
-
}, undefined> & import("@toad-contracts/core").
|
|
748
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
725
749
|
readonly pathResolver: ({ accountId }: {
|
|
726
750
|
accountId: string;
|
|
727
751
|
}) => string;
|
|
728
752
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
729
|
-
readonly config: v.OptionalSchema<v.ObjectSchema<{
|
|
753
|
+
readonly config: v.OptionalSchema<v.ObjectSchema<{
|
|
754
|
+
readonly contentStorage: v.OptionalSchema<v.ObjectSchema<{
|
|
755
|
+
readonly backend: v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>;
|
|
756
|
+
readonly fs: v.OptionalSchema<v.ObjectSchema<{
|
|
757
|
+
readonly basePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
758
|
+
}, undefined>, undefined>;
|
|
759
|
+
readonly s3: v.OptionalSchema<v.ObjectSchema<{
|
|
760
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
761
|
+
readonly bucket: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
762
|
+
readonly prefix: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
763
|
+
readonly endpoint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
764
|
+
readonly forcePathStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
765
|
+
}, undefined>, undefined>;
|
|
766
|
+
}, undefined>, undefined>;
|
|
767
|
+
}, undefined>, undefined>;
|
|
730
768
|
readonly secrets: v.OptionalSchema<v.ObjectSchema<{
|
|
731
769
|
readonly slackOAuth: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
732
770
|
readonly clientId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -738,6 +776,10 @@ export declare const updateAccountSettingsContract: {
|
|
|
738
776
|
readonly searxngUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>]>, undefined>;
|
|
739
777
|
readonly searxngApiKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
740
778
|
}, undefined>, undefined>, undefined>;
|
|
779
|
+
readonly s3: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
780
|
+
readonly accessKeyId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
781
|
+
readonly secretAccessKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
782
|
+
}, undefined>, undefined>, undefined>;
|
|
741
783
|
}, undefined>, undefined>;
|
|
742
784
|
}, undefined>;
|
|
743
785
|
readonly responsesByStatusCode: {
|
|
@@ -764,10 +806,34 @@ export declare const updateAccountSettingsContract: {
|
|
|
764
806
|
}, undefined>;
|
|
765
807
|
}, undefined>;
|
|
766
808
|
readonly 200: v.ObjectSchema<{
|
|
767
|
-
readonly config: v.ObjectSchema<{
|
|
809
|
+
readonly config: v.ObjectSchema<{
|
|
810
|
+
readonly contentStorage: v.OptionalSchema<v.ObjectSchema<{
|
|
811
|
+
readonly backend: v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>;
|
|
812
|
+
readonly fs: v.OptionalSchema<v.ObjectSchema<{
|
|
813
|
+
readonly basePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
814
|
+
}, undefined>, undefined>;
|
|
815
|
+
readonly s3: v.OptionalSchema<v.ObjectSchema<{
|
|
816
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
817
|
+
readonly bucket: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
818
|
+
readonly prefix: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
819
|
+
readonly endpoint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
820
|
+
readonly forcePathStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
821
|
+
}, undefined>, undefined>;
|
|
822
|
+
}, undefined>, undefined>;
|
|
823
|
+
}, undefined>;
|
|
768
824
|
readonly summary: v.ObjectSchema<{
|
|
769
825
|
readonly slackOAuthConfigured: v.BooleanSchema<undefined>;
|
|
770
826
|
readonly webSearch: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
827
|
+
readonly contentStorage: v.ObjectSchema<{
|
|
828
|
+
readonly backend: v.NullableSchema<v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>, undefined>;
|
|
829
|
+
readonly bucket: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
830
|
+
readonly basePath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
831
|
+
readonly s3CredentialsConfigured: v.BooleanSchema<undefined>;
|
|
832
|
+
}, undefined>;
|
|
833
|
+
}, undefined>;
|
|
834
|
+
readonly contentStorageCapability: v.ObjectSchema<{
|
|
835
|
+
readonly supportedBackends: v.ArraySchema<v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>, undefined>;
|
|
836
|
+
readonly defaultBackend: v.PicklistSchema<["off", "fs", "s3", "r2", "db"], undefined>;
|
|
771
837
|
}, undefined>;
|
|
772
838
|
}, undefined>;
|
|
773
839
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wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
|
|
@@ -4,7 +4,7 @@ export declare const retryAgentRunContract: {
|
|
|
4
4
|
readonly method: "post";
|
|
5
5
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
6
6
|
id: v.StringSchema<undefined>;
|
|
7
|
-
}, undefined> & import("@toad-contracts/core").
|
|
7
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8
8
|
readonly pathResolver: ({ id }: {
|
|
9
9
|
id: string;
|
|
10
10
|
}) => string;
|
|
@@ -363,7 +363,7 @@ export declare const stopAgentRunContract: {
|
|
|
363
363
|
readonly method: "post";
|
|
364
364
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
365
365
|
id: v.StringSchema<undefined>;
|
|
366
|
-
}, undefined> & import("@toad-contracts/core").
|
|
366
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
367
367
|
readonly pathResolver: ({ id }: {
|
|
368
368
|
id: string;
|
|
369
369
|
}) => string;
|
|
@@ -90,7 +90,7 @@ export declare const removeWorkspaceApiKeyContract: {
|
|
|
90
90
|
readonly method: "delete";
|
|
91
91
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
92
92
|
id: import("valibot").StringSchema<undefined>;
|
|
93
|
-
}, undefined> & import("@toad-contracts/core").
|
|
93
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
94
94
|
readonly pathResolver: ({ id }: {
|
|
95
95
|
id: string;
|
|
96
96
|
}) => string;
|
|
@@ -211,7 +211,7 @@ export declare const removeUserApiKeyContract: {
|
|
|
211
211
|
readonly method: "delete";
|
|
212
212
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
213
213
|
id: import("valibot").StringSchema<undefined>;
|
|
214
|
-
}, undefined> & import("@toad-contracts/core").
|
|
214
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
215
215
|
readonly pathResolver: ({ id }: {
|
|
216
216
|
id: string;
|
|
217
217
|
}) => string;
|
package/dist/routes/auth.d.ts
CHANGED
|
@@ -6,6 +6,13 @@ import * as v from 'valibot';
|
|
|
6
6
|
* shape: the server's `AppConfig.localMode` derives its type from it (see
|
|
7
7
|
* `@cat-factory/server` config), and the SPA reads the inferred type directly.
|
|
8
8
|
*/
|
|
9
|
+
/**
|
|
10
|
+
* The source-control providers a PAT login can target. Mirrors kernel's `VcsProvider`
|
|
11
|
+
* (contracts sits below kernel, so it can't import it) — keep the two member lists in
|
|
12
|
+
* step. Drives the local-mode login UI's provider picker + the `/auth/pat` body.
|
|
13
|
+
*/
|
|
14
|
+
export declare const vcsProviderSchema: v.PicklistSchema<["github", "gitlab"], undefined>;
|
|
15
|
+
export type VcsProviderWire = v.InferOutput<typeof vcsProviderSchema>;
|
|
9
16
|
export declare const localModeConfigSchema: v.ObjectSchema<{
|
|
10
17
|
/** True on the local-mode facade (a single developer running the whole product locally). */
|
|
11
18
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -14,6 +21,21 @@ export declare const localModeConfigSchema: v.ObjectSchema<{
|
|
|
14
21
|
* pre-selected so the developer can create one in a click. Absent once a PAT is set.
|
|
15
22
|
*/
|
|
16
23
|
readonly githubPatSetupUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Source-control PAT login methods the local facade can serve, so the login screen
|
|
26
|
+
* renders the right controls without probing. Absent on non-local facades.
|
|
27
|
+
* - `configured` — providers with a PAT set server-side (env): one-click "Continue as …".
|
|
28
|
+
* - `available` — providers the user may paste a PAT for inline (a resolver is wired).
|
|
29
|
+
* - `setupUrls` — per-provider "create a PAT" link with the right scopes pre-selected,
|
|
30
|
+
* so the paste-a-PAT form can deep-link straight to the token page. The server owns
|
|
31
|
+
* the scopes (they differ per provider), so the SPA renders the link rather than
|
|
32
|
+
* hard-coding URLs. Keyed by provider; missing entry ⇒ no deep link for it.
|
|
33
|
+
*/
|
|
34
|
+
readonly patLogin: v.OptionalSchema<v.ObjectSchema<{
|
|
35
|
+
readonly configured: v.ArraySchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
36
|
+
readonly available: v.ArraySchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
37
|
+
readonly setupUrls: v.OptionalSchema<v.RecordSchema<v.PicklistSchema<["github", "gitlab"], undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
38
|
+
}, undefined>, undefined>;
|
|
17
39
|
}, undefined>;
|
|
18
40
|
export type LocalModeConfig = v.InferOutput<typeof localModeConfigSchema>;
|
|
19
41
|
export declare const authConfigContract: {
|
|
@@ -57,6 +79,21 @@ export declare const authConfigContract: {
|
|
|
57
79
|
* pre-selected so the developer can create one in a click. Absent once a PAT is set.
|
|
58
80
|
*/
|
|
59
81
|
readonly githubPatSetupUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Source-control PAT login methods the local facade can serve, so the login screen
|
|
84
|
+
* renders the right controls without probing. Absent on non-local facades.
|
|
85
|
+
* - `configured` — providers with a PAT set server-side (env): one-click "Continue as …".
|
|
86
|
+
* - `available` — providers the user may paste a PAT for inline (a resolver is wired).
|
|
87
|
+
* - `setupUrls` — per-provider "create a PAT" link with the right scopes pre-selected,
|
|
88
|
+
* so the paste-a-PAT form can deep-link straight to the token page. The server owns
|
|
89
|
+
* the scopes (they differ per provider), so the SPA renders the link rather than
|
|
90
|
+
* hard-coding URLs. Keyed by provider; missing entry ⇒ no deep link for it.
|
|
91
|
+
*/
|
|
92
|
+
readonly patLogin: v.OptionalSchema<v.ObjectSchema<{
|
|
93
|
+
readonly configured: v.ArraySchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
94
|
+
readonly available: v.ArraySchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
95
|
+
readonly setupUrls: v.OptionalSchema<v.RecordSchema<v.PicklistSchema<["github", "gitlab"], undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
96
|
+
}, undefined>, undefined>;
|
|
60
97
|
}, undefined>, undefined>;
|
|
61
98
|
}, undefined>;
|
|
62
99
|
};
|
|
@@ -263,6 +300,48 @@ export declare const passwordLoginContract: {
|
|
|
263
300
|
}, undefined>;
|
|
264
301
|
};
|
|
265
302
|
};
|
|
303
|
+
export declare const patLoginContract: {
|
|
304
|
+
readonly method: "post";
|
|
305
|
+
readonly pathResolver: () => string;
|
|
306
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
307
|
+
readonly provider: v.PicklistSchema<["github", "gitlab"], undefined>;
|
|
308
|
+
readonly token: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
309
|
+
}, undefined>;
|
|
310
|
+
readonly responsesByStatusCode: {
|
|
311
|
+
readonly '4xx': v.ObjectSchema<{
|
|
312
|
+
readonly error: v.ObjectSchema<{
|
|
313
|
+
readonly code: v.StringSchema<undefined>;
|
|
314
|
+
readonly message: v.StringSchema<undefined>;
|
|
315
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
316
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
317
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
318
|
+
readonly message: v.StringSchema<undefined>;
|
|
319
|
+
}, undefined>, undefined>, undefined>;
|
|
320
|
+
}, undefined>;
|
|
321
|
+
}, undefined>;
|
|
322
|
+
readonly '5xx': v.ObjectSchema<{
|
|
323
|
+
readonly error: v.ObjectSchema<{
|
|
324
|
+
readonly code: v.StringSchema<undefined>;
|
|
325
|
+
readonly message: v.StringSchema<undefined>;
|
|
326
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
327
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
328
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
|
+
readonly message: v.StringSchema<undefined>;
|
|
330
|
+
}, undefined>, undefined>, undefined>;
|
|
331
|
+
}, undefined>;
|
|
332
|
+
}, undefined>;
|
|
333
|
+
readonly 200: v.ObjectSchema<{
|
|
334
|
+
readonly token: v.StringSchema<undefined>;
|
|
335
|
+
readonly user: v.ObjectSchema<{
|
|
336
|
+
readonly id: v.StringSchema<undefined>;
|
|
337
|
+
readonly login: v.StringSchema<undefined>;
|
|
338
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
339
|
+
readonly avatarUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
340
|
+
readonly email: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
341
|
+
}, undefined>;
|
|
342
|
+
}, undefined>;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
266
345
|
export declare const forgotPasswordContract: {
|
|
267
346
|
readonly method: "post";
|
|
268
347
|
readonly pathResolver: () => string;
|
|
@@ -332,7 +411,7 @@ export declare const peekInvitationContract: {
|
|
|
332
411
|
readonly method: "get";
|
|
333
412
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
334
413
|
token: v.StringSchema<undefined>;
|
|
335
|
-
}, undefined> & import("@toad-contracts/core").
|
|
414
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
336
415
|
readonly pathResolver: ({ token }: {
|
|
337
416
|
token: string;
|
|
338
417
|
}) => string;
|
|
@@ -372,7 +451,7 @@ export declare const acceptInvitationContract: {
|
|
|
372
451
|
readonly method: "post";
|
|
373
452
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
374
453
|
token: v.StringSchema<undefined>;
|
|
375
|
-
}, undefined> & import("@toad-contracts/core").
|
|
454
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
376
455
|
readonly pathResolver: ({ token }: {
|
|
377
456
|
token: string;
|
|
378
457
|
}) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,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;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA;AAQF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ3B,CAAA;AAMF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAGF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA;AAIF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAIF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzB,CAAA"}
|
package/dist/routes/auth.js
CHANGED
|
@@ -24,6 +24,12 @@ const sessionUserViewSchema = v.object({
|
|
|
24
24
|
* shape: the server's `AppConfig.localMode` derives its type from it (see
|
|
25
25
|
* `@cat-factory/server` config), and the SPA reads the inferred type directly.
|
|
26
26
|
*/
|
|
27
|
+
/**
|
|
28
|
+
* The source-control providers a PAT login can target. Mirrors kernel's `VcsProvider`
|
|
29
|
+
* (contracts sits below kernel, so it can't import it) — keep the two member lists in
|
|
30
|
+
* step. Drives the local-mode login UI's provider picker + the `/auth/pat` body.
|
|
31
|
+
*/
|
|
32
|
+
export const vcsProviderSchema = v.picklist(['github', 'gitlab']);
|
|
27
33
|
export const localModeConfigSchema = v.object({
|
|
28
34
|
/** True on the local-mode facade (a single developer running the whole product locally). */
|
|
29
35
|
enabled: v.boolean(),
|
|
@@ -32,6 +38,21 @@ export const localModeConfigSchema = v.object({
|
|
|
32
38
|
* pre-selected so the developer can create one in a click. Absent once a PAT is set.
|
|
33
39
|
*/
|
|
34
40
|
githubPatSetupUrl: v.optional(v.string()),
|
|
41
|
+
/**
|
|
42
|
+
* Source-control PAT login methods the local facade can serve, so the login screen
|
|
43
|
+
* renders the right controls without probing. Absent on non-local facades.
|
|
44
|
+
* - `configured` — providers with a PAT set server-side (env): one-click "Continue as …".
|
|
45
|
+
* - `available` — providers the user may paste a PAT for inline (a resolver is wired).
|
|
46
|
+
* - `setupUrls` — per-provider "create a PAT" link with the right scopes pre-selected,
|
|
47
|
+
* so the paste-a-PAT form can deep-link straight to the token page. The server owns
|
|
48
|
+
* the scopes (they differ per provider), so the SPA renders the link rather than
|
|
49
|
+
* hard-coding URLs. Keyed by provider; missing entry ⇒ no deep link for it.
|
|
50
|
+
*/
|
|
51
|
+
patLogin: v.optional(v.object({
|
|
52
|
+
configured: v.array(vcsProviderSchema),
|
|
53
|
+
available: v.array(vcsProviderSchema),
|
|
54
|
+
setupUrls: v.optional(v.record(vcsProviderSchema, v.string())),
|
|
55
|
+
})),
|
|
35
56
|
});
|
|
36
57
|
const authConfigViewSchema = v.object({
|
|
37
58
|
enabled: v.boolean(),
|
|
@@ -100,6 +121,20 @@ export const passwordLoginContract = defineApiContract({
|
|
|
100
121
|
requestBodySchema: passwordLoginSchema,
|
|
101
122
|
responsesByStatusCode: { 200: loginResultSchema, ...errorResponses },
|
|
102
123
|
});
|
|
124
|
+
// ---- Source-control PAT login (local mode) --------------------------------
|
|
125
|
+
// Log in as the account a source-control PAT belongs to. `token` omitted ⇒ use the
|
|
126
|
+
// server-configured PAT for that provider (the one-click path); `token` present ⇒ the
|
|
127
|
+
// user pasted one inline. Returns the same `{ token, user }` as password login. Served
|
|
128
|
+
// only where an identity resolver is wired (local mode); 503 otherwise.
|
|
129
|
+
export const patLoginContract = defineApiContract({
|
|
130
|
+
method: 'post',
|
|
131
|
+
pathResolver: () => '/pat',
|
|
132
|
+
requestBodySchema: v.object({
|
|
133
|
+
provider: vcsProviderSchema,
|
|
134
|
+
token: v.optional(v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(4000))),
|
|
135
|
+
}),
|
|
136
|
+
responsesByStatusCode: { 200: loginResultSchema, ...errorResponses },
|
|
137
|
+
});
|
|
103
138
|
// ---- Forgot / reset password ----------------------------------------------
|
|
104
139
|
// Request a reset link. ALWAYS succeeds (204) regardless of whether the email is
|
|
105
140
|
// registered, so the response can't be used to enumerate accounts.
|
package/dist/routes/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,GACb,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,+EAA+E;AAC/E,iFAAiF;AACjF,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAChF,sEAAsE;AACtE,8EAA8E;AAE9E,oEAAoE;AACpE,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC1C,CAAC,CAAA;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC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cAAc,EAAE;CAChF,CAAC,CAAA;AAEF,8EAA8E;AAE9E,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC;IAC1C,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,KAAK;IACzB,qBAAqB,EAAE,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,cAAc,EAAE;CAChE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;IAC9C,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,SAAS;IAC7B,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
package/dist/routes/board.d.ts
CHANGED
|
@@ -203,7 +203,7 @@ export declare const addTaskContract: {
|
|
|
203
203
|
readonly method: "post";
|
|
204
204
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
205
205
|
blockId: import("valibot").StringSchema<undefined>;
|
|
206
|
-
}, undefined> & import("@toad-contracts/core").
|
|
206
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
207
207
|
readonly pathResolver: ({ blockId }: {
|
|
208
208
|
blockId: string;
|
|
209
209
|
}) => string;
|
|
@@ -320,7 +320,7 @@ export declare const addModuleContract: {
|
|
|
320
320
|
readonly method: "post";
|
|
321
321
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
322
322
|
blockId: import("valibot").StringSchema<undefined>;
|
|
323
|
-
}, undefined> & import("@toad-contracts/core").
|
|
323
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
324
324
|
readonly pathResolver: ({ blockId }: {
|
|
325
325
|
blockId: string;
|
|
326
326
|
}) => string;
|
|
@@ -525,7 +525,7 @@ export declare const assignEpicContract: {
|
|
|
525
525
|
readonly method: "post";
|
|
526
526
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
527
527
|
blockId: import("valibot").StringSchema<undefined>;
|
|
528
|
-
}, undefined> & import("@toad-contracts/core").
|
|
528
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
529
529
|
readonly pathResolver: ({ blockId }: {
|
|
530
530
|
blockId: string;
|
|
531
531
|
}) => string;
|
|
@@ -625,7 +625,7 @@ export declare const updateBlockContract: {
|
|
|
625
625
|
readonly method: "patch";
|
|
626
626
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
627
627
|
blockId: import("valibot").StringSchema<undefined>;
|
|
628
|
-
}, undefined> & import("@toad-contracts/core").
|
|
628
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
629
629
|
readonly pathResolver: ({ blockId }: {
|
|
630
630
|
blockId: string;
|
|
631
631
|
}) => string;
|
|
@@ -952,7 +952,7 @@ export declare const moveBlockContract: {
|
|
|
952
952
|
readonly method: "post";
|
|
953
953
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
954
954
|
blockId: import("valibot").StringSchema<undefined>;
|
|
955
|
-
}, undefined> & import("@toad-contracts/core").
|
|
955
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
956
956
|
readonly pathResolver: ({ blockId }: {
|
|
957
957
|
blockId: string;
|
|
958
958
|
}) => string;
|
|
@@ -1055,7 +1055,7 @@ export declare const reparentBlockContract: {
|
|
|
1055
1055
|
readonly method: "post";
|
|
1056
1056
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
1057
1057
|
blockId: import("valibot").StringSchema<undefined>;
|
|
1058
|
-
}, undefined> & import("@toad-contracts/core").
|
|
1058
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1059
1059
|
readonly pathResolver: ({ blockId }: {
|
|
1060
1060
|
blockId: string;
|
|
1061
1061
|
}) => string;
|
|
@@ -1159,7 +1159,7 @@ export declare const removeBlockContract: {
|
|
|
1159
1159
|
readonly method: "delete";
|
|
1160
1160
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
1161
1161
|
blockId: import("valibot").StringSchema<undefined>;
|
|
1162
|
-
}, undefined> & import("@toad-contracts/core").
|
|
1162
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1163
1163
|
readonly pathResolver: ({ blockId }: {
|
|
1164
1164
|
blockId: string;
|
|
1165
1165
|
}) => string;
|
|
@@ -1193,7 +1193,7 @@ export declare const toggleDependencyContract: {
|
|
|
1193
1193
|
readonly method: "post";
|
|
1194
1194
|
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
1195
1195
|
blockId: import("valibot").StringSchema<undefined>;
|
|
1196
|
-
}, undefined> & import("@toad-contracts/core").
|
|
1196
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1197
1197
|
readonly pathResolver: ({ blockId }: {
|
|
1198
1198
|
blockId: string;
|
|
1199
1199
|
}) => string;
|
|
@@ -89,7 +89,7 @@ export declare const updateReferenceArchitectureContract: {
|
|
|
89
89
|
readonly method: "patch";
|
|
90
90
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
91
91
|
id: v.StringSchema<undefined>;
|
|
92
|
-
}, undefined> & import("@toad-contracts/core").
|
|
92
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
93
93
|
readonly pathResolver: ({ id }: {
|
|
94
94
|
id: string;
|
|
95
95
|
}) => string;
|
|
@@ -140,7 +140,7 @@ export declare const deleteReferenceArchitectureContract: {
|
|
|
140
140
|
readonly method: "delete";
|
|
141
141
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
142
142
|
id: v.StringSchema<undefined>;
|
|
143
|
-
}, undefined> & import("@toad-contracts/core").
|
|
143
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
144
144
|
readonly pathResolver: ({ id }: {
|
|
145
145
|
id: string;
|
|
146
146
|
}) => string;
|
|
@@ -242,7 +242,7 @@ export declare const getBootstrapJobContract: {
|
|
|
242
242
|
readonly method: "get";
|
|
243
243
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
244
244
|
id: v.StringSchema<undefined>;
|
|
245
|
-
}, undefined> & import("@toad-contracts/core").
|
|
245
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
246
246
|
readonly pathResolver: ({ id }: {
|
|
247
247
|
id: string;
|
|
248
248
|
}) => string;
|