@camstack/types 1.1.37 → 1.1.38
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.
|
@@ -714,6 +714,44 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
714
714
|
};
|
|
715
715
|
meta: object;
|
|
716
716
|
}>;
|
|
717
|
+
exchangeSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
718
|
+
input: Record<string, never> | undefined;
|
|
719
|
+
output: {
|
|
720
|
+
token: string;
|
|
721
|
+
user: {
|
|
722
|
+
id: string;
|
|
723
|
+
username: string;
|
|
724
|
+
isAdmin: boolean;
|
|
725
|
+
};
|
|
726
|
+
requiresTotp?: boolean | undefined;
|
|
727
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
728
|
+
};
|
|
729
|
+
meta: object;
|
|
730
|
+
}>;
|
|
731
|
+
createHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
732
|
+
input: void;
|
|
733
|
+
output: {
|
|
734
|
+
code: string;
|
|
735
|
+
expiresAt: number;
|
|
736
|
+
};
|
|
737
|
+
meta: object;
|
|
738
|
+
}>;
|
|
739
|
+
redeemHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
740
|
+
input: {
|
|
741
|
+
code: string;
|
|
742
|
+
};
|
|
743
|
+
output: {
|
|
744
|
+
token: string;
|
|
745
|
+
user: {
|
|
746
|
+
id: string;
|
|
747
|
+
username: string;
|
|
748
|
+
isAdmin: boolean;
|
|
749
|
+
};
|
|
750
|
+
requiresTotp?: boolean | undefined;
|
|
751
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
752
|
+
};
|
|
753
|
+
meta: object;
|
|
754
|
+
}>;
|
|
717
755
|
me: import("@trpc/server").TRPCQueryProcedure<{
|
|
718
756
|
input: void;
|
|
719
757
|
output: {
|
|
@@ -15542,6 +15580,44 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15542
15580
|
};
|
|
15543
15581
|
meta: object;
|
|
15544
15582
|
}>;
|
|
15583
|
+
exchangeSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
15584
|
+
input: Record<string, never> | undefined;
|
|
15585
|
+
output: {
|
|
15586
|
+
token: string;
|
|
15587
|
+
user: {
|
|
15588
|
+
id: string;
|
|
15589
|
+
username: string;
|
|
15590
|
+
isAdmin: boolean;
|
|
15591
|
+
};
|
|
15592
|
+
requiresTotp?: boolean | undefined;
|
|
15593
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15594
|
+
};
|
|
15595
|
+
meta: object;
|
|
15596
|
+
}>;
|
|
15597
|
+
createHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
15598
|
+
input: void;
|
|
15599
|
+
output: {
|
|
15600
|
+
code: string;
|
|
15601
|
+
expiresAt: number;
|
|
15602
|
+
};
|
|
15603
|
+
meta: object;
|
|
15604
|
+
}>;
|
|
15605
|
+
redeemHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
15606
|
+
input: {
|
|
15607
|
+
code: string;
|
|
15608
|
+
};
|
|
15609
|
+
output: {
|
|
15610
|
+
token: string;
|
|
15611
|
+
user: {
|
|
15612
|
+
id: string;
|
|
15613
|
+
username: string;
|
|
15614
|
+
isAdmin: boolean;
|
|
15615
|
+
};
|
|
15616
|
+
requiresTotp?: boolean | undefined;
|
|
15617
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15618
|
+
};
|
|
15619
|
+
meta: object;
|
|
15620
|
+
}>;
|
|
15545
15621
|
me: import("@trpc/server").TRPCQueryProcedure<{
|
|
15546
15622
|
input: void;
|
|
15547
15623
|
output: {
|