@camstack/types 1.1.35 → 1.1.37
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/addon.d.ts +2 -0
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addon-widgets-source.cap.d.ts +2 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +2 -0
- package/dist/capabilities/index.d.ts +9 -1
- package/dist/capabilities/login-method.cap.d.ts +146 -0
- package/dist/capabilities/nodes.cap.d.ts +19 -1
- package/dist/capabilities/server-management.cap.d.ts +194 -0
- package/dist/capabilities/user-passkeys.cap.d.ts +22 -0
- package/dist/capabilities/viewer-ui.cap.d.ts +24 -0
- package/dist/generated/addon-api.d.ts +682 -50
- package/dist/generated/capability-router-map.d.ts +13 -4
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +388 -3
- package/dist/index.mjs +373 -4
- package/dist/interfaces/capability.d.ts +3 -0
- package/dist/interfaces/config-ui.d.ts +40 -0
- package/dist/interfaces/event-bus.d.ts +11 -0
- package/dist/{sleep-DuN1nc6O.js → sleep-BtS3xMHv.js} +109 -6
- package/dist/{sleep-DiQ8xW1M.mjs → sleep-DJaTV2D7.mjs} +86 -7
- package/package.json +1 -1
|
@@ -518,23 +518,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
518
518
|
category?: string | undefined;
|
|
519
519
|
limit?: number | undefined;
|
|
520
520
|
} | undefined;
|
|
521
|
-
output: readonly import("@camstack/
|
|
521
|
+
output: readonly import("@camstack/types").SystemEvent[];
|
|
522
522
|
meta: object;
|
|
523
523
|
}>;
|
|
524
524
|
onEvent: import("@trpc/server").TRPCSubscriptionProcedure<{
|
|
525
525
|
input: {
|
|
526
526
|
category?: string | undefined;
|
|
527
527
|
};
|
|
528
|
-
output: AsyncIterable<
|
|
529
|
-
id: string;
|
|
530
|
-
timestamp: Date;
|
|
531
|
-
source: {
|
|
532
|
-
type: string;
|
|
533
|
-
id: string | number;
|
|
534
|
-
};
|
|
535
|
-
category: string;
|
|
536
|
-
data: Record<string, unknown>;
|
|
537
|
-
}, any, any>;
|
|
528
|
+
output: AsyncIterable<import("@camstack/types").SystemEvent, any, any>;
|
|
538
529
|
meta: object;
|
|
539
530
|
}>;
|
|
540
531
|
onDeviceEvent: import("@trpc/server").TRPCSubscriptionProcedure<{
|
|
@@ -653,6 +644,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
653
644
|
isAdmin: boolean;
|
|
654
645
|
};
|
|
655
646
|
requiresTotp?: boolean | undefined;
|
|
647
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
656
648
|
};
|
|
657
649
|
meta: object;
|
|
658
650
|
}>;
|
|
@@ -669,6 +661,56 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
669
661
|
isAdmin: boolean;
|
|
670
662
|
};
|
|
671
663
|
requiresTotp?: boolean | undefined;
|
|
664
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
665
|
+
};
|
|
666
|
+
meta: object;
|
|
667
|
+
}>;
|
|
668
|
+
loginBeginPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
669
|
+
input: {
|
|
670
|
+
challengeToken: string;
|
|
671
|
+
};
|
|
672
|
+
output: {
|
|
673
|
+
optionsJSON: Record<string, unknown>;
|
|
674
|
+
};
|
|
675
|
+
meta: object;
|
|
676
|
+
}>;
|
|
677
|
+
loginVerifyPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
678
|
+
input: {
|
|
679
|
+
challengeToken: string;
|
|
680
|
+
response: Record<string, unknown>;
|
|
681
|
+
};
|
|
682
|
+
output: {
|
|
683
|
+
token: string;
|
|
684
|
+
user: {
|
|
685
|
+
id: string;
|
|
686
|
+
username: string;
|
|
687
|
+
isAdmin: boolean;
|
|
688
|
+
};
|
|
689
|
+
requiresTotp?: boolean | undefined;
|
|
690
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
691
|
+
};
|
|
692
|
+
meta: object;
|
|
693
|
+
}>;
|
|
694
|
+
passkeyLoginBegin: import("@trpc/server").TRPCMutationProcedure<{
|
|
695
|
+
input: void;
|
|
696
|
+
output: {
|
|
697
|
+
optionsJSON: Record<string, unknown>;
|
|
698
|
+
};
|
|
699
|
+
meta: object;
|
|
700
|
+
}>;
|
|
701
|
+
passkeyLoginFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
702
|
+
input: {
|
|
703
|
+
response: Record<string, unknown>;
|
|
704
|
+
};
|
|
705
|
+
output: {
|
|
706
|
+
token: string;
|
|
707
|
+
user: {
|
|
708
|
+
id: string;
|
|
709
|
+
username: string;
|
|
710
|
+
isAdmin: boolean;
|
|
711
|
+
};
|
|
712
|
+
requiresTotp?: boolean | undefined;
|
|
713
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
672
714
|
};
|
|
673
715
|
meta: object;
|
|
674
716
|
}>;
|
|
@@ -730,23 +772,116 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
730
772
|
};
|
|
731
773
|
meta: object;
|
|
732
774
|
}>;
|
|
733
|
-
|
|
775
|
+
beginOwnPasskeyRegistration: import("@trpc/server").TRPCMutationProcedure<{
|
|
734
776
|
input: void;
|
|
777
|
+
output: {
|
|
778
|
+
optionsJSON: Record<string, unknown>;
|
|
779
|
+
};
|
|
780
|
+
meta: object;
|
|
781
|
+
}>;
|
|
782
|
+
finishOwnPasskeyRegistration: import("@trpc/server").TRPCMutationProcedure<{
|
|
783
|
+
input: {
|
|
784
|
+
response: Record<string, unknown>;
|
|
785
|
+
label: string;
|
|
786
|
+
};
|
|
735
787
|
output: {
|
|
736
788
|
success: true;
|
|
789
|
+
credentialId: string;
|
|
737
790
|
};
|
|
738
791
|
meta: object;
|
|
739
792
|
}>;
|
|
740
|
-
|
|
793
|
+
listOwnPasskeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
741
794
|
input: void;
|
|
742
|
-
output:
|
|
795
|
+
output: {
|
|
796
|
+
credentialId: string;
|
|
797
|
+
label: string;
|
|
798
|
+
createdAt: number;
|
|
799
|
+
lastUsedAt: number | null;
|
|
800
|
+
transports: string[];
|
|
801
|
+
}[];
|
|
802
|
+
meta: object;
|
|
803
|
+
}>;
|
|
804
|
+
removeOwnPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
805
|
+
input: {
|
|
806
|
+
credentialId: string;
|
|
807
|
+
};
|
|
808
|
+
output: {
|
|
809
|
+
success: true;
|
|
810
|
+
};
|
|
811
|
+
meta: object;
|
|
812
|
+
}>;
|
|
813
|
+
createShareToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
814
|
+
input: {
|
|
815
|
+
scope: {
|
|
816
|
+
kind: "grid-view";
|
|
817
|
+
deviceIds: number[];
|
|
818
|
+
};
|
|
819
|
+
ttlSec?: number | "never" | undefined;
|
|
820
|
+
};
|
|
821
|
+
output: {
|
|
743
822
|
id: string;
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
823
|
+
token: string;
|
|
824
|
+
expiresAt: number | null;
|
|
825
|
+
};
|
|
826
|
+
meta: object;
|
|
827
|
+
}>;
|
|
828
|
+
revokeShareToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
829
|
+
input: {
|
|
830
|
+
id: string;
|
|
831
|
+
};
|
|
832
|
+
output: {
|
|
833
|
+
success: boolean;
|
|
834
|
+
};
|
|
835
|
+
meta: object;
|
|
836
|
+
}>;
|
|
837
|
+
listShareTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
838
|
+
input: void;
|
|
839
|
+
output: {
|
|
840
|
+
id: string;
|
|
841
|
+
userId: string;
|
|
842
|
+
tokenPrefix: string;
|
|
843
|
+
scope: {
|
|
844
|
+
kind: "grid-view";
|
|
845
|
+
deviceIds: number[];
|
|
846
|
+
};
|
|
847
|
+
createdAt: number;
|
|
848
|
+
expiresAt: number | null;
|
|
849
|
+
neverExpires: boolean;
|
|
850
|
+
lastUsedAt?: number | undefined;
|
|
747
851
|
}[];
|
|
748
852
|
meta: object;
|
|
749
853
|
}>;
|
|
854
|
+
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
855
|
+
input: void;
|
|
856
|
+
output: {
|
|
857
|
+
success: true;
|
|
858
|
+
};
|
|
859
|
+
meta: object;
|
|
860
|
+
}>;
|
|
861
|
+
listLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
862
|
+
input: void;
|
|
863
|
+
output: readonly ({
|
|
864
|
+
kind: "redirect";
|
|
865
|
+
id: string;
|
|
866
|
+
label: string;
|
|
867
|
+
startUrl: string;
|
|
868
|
+
stage: "primary" | "second-factor";
|
|
869
|
+
icon?: string | undefined;
|
|
870
|
+
} | {
|
|
871
|
+
kind: "widget";
|
|
872
|
+
id: string;
|
|
873
|
+
addonId: string;
|
|
874
|
+
bundle: string;
|
|
875
|
+
remote: {
|
|
876
|
+
remoteName: string;
|
|
877
|
+
exposedModule: string;
|
|
878
|
+
componentKey?: string | undefined;
|
|
879
|
+
};
|
|
880
|
+
stage: "primary" | "second-factor";
|
|
881
|
+
bundleUrl: string;
|
|
882
|
+
})[];
|
|
883
|
+
meta: object;
|
|
884
|
+
}>;
|
|
750
885
|
}>>;
|
|
751
886
|
accessories: import("@trpc/server").TRPCBuiltRouter<{
|
|
752
887
|
ctx: TrpcContext;
|
|
@@ -941,6 +1076,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
941
1076
|
deviceContext: boolean;
|
|
942
1077
|
integrationContext: boolean;
|
|
943
1078
|
};
|
|
1079
|
+
preAuth: boolean;
|
|
944
1080
|
defaultSize: "xs" | "sm" | "md" | "lg" | "xl";
|
|
945
1081
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
946
1082
|
defaultColumns: number;
|
|
@@ -982,6 +1118,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
982
1118
|
deviceContext: boolean;
|
|
983
1119
|
integrationContext: boolean;
|
|
984
1120
|
};
|
|
1121
|
+
preAuth: boolean;
|
|
985
1122
|
defaultSize: "xs" | "sm" | "md" | "lg" | "xl";
|
|
986
1123
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
987
1124
|
defaultColumns: number;
|
|
@@ -6600,6 +6737,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6600
6737
|
meta: object;
|
|
6601
6738
|
}>;
|
|
6602
6739
|
}>>;
|
|
6740
|
+
loginMethod: import("@trpc/server").TRPCBuiltRouter<{
|
|
6741
|
+
ctx: TrpcContext;
|
|
6742
|
+
meta: object;
|
|
6743
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
6744
|
+
transformer: true;
|
|
6745
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6746
|
+
getLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
6747
|
+
input: {
|
|
6748
|
+
nodeId?: string | undefined;
|
|
6749
|
+
addonId?: string | undefined;
|
|
6750
|
+
} | undefined;
|
|
6751
|
+
output: readonly ({
|
|
6752
|
+
kind: "redirect";
|
|
6753
|
+
id: string;
|
|
6754
|
+
label: string;
|
|
6755
|
+
startUrl: string;
|
|
6756
|
+
stage: "primary" | "second-factor";
|
|
6757
|
+
icon?: string | undefined;
|
|
6758
|
+
} | {
|
|
6759
|
+
kind: "widget";
|
|
6760
|
+
id: string;
|
|
6761
|
+
addonId: string;
|
|
6762
|
+
bundle: string;
|
|
6763
|
+
remote: {
|
|
6764
|
+
remoteName: string;
|
|
6765
|
+
exposedModule: string;
|
|
6766
|
+
componentKey?: string | undefined;
|
|
6767
|
+
};
|
|
6768
|
+
stage: "primary" | "second-factor";
|
|
6769
|
+
})[];
|
|
6770
|
+
meta: object;
|
|
6771
|
+
}>;
|
|
6772
|
+
}>>;
|
|
6603
6773
|
mediaPlayer: import("@trpc/server").TRPCBuiltRouter<{
|
|
6604
6774
|
ctx: TrpcContext;
|
|
6605
6775
|
meta: object;
|
|
@@ -7933,6 +8103,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7933
8103
|
memoryRss: number;
|
|
7934
8104
|
}[];
|
|
7935
8105
|
}[];
|
|
8106
|
+
rootPackage: {
|
|
8107
|
+
name: string;
|
|
8108
|
+
version: string;
|
|
8109
|
+
} | null;
|
|
7936
8110
|
}[];
|
|
7937
8111
|
meta: object;
|
|
7938
8112
|
}>;
|
|
@@ -9015,8 +9189,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9015
9189
|
meta: object;
|
|
9016
9190
|
}>;
|
|
9017
9191
|
clearDeviceOverrides: import("@trpc/server").TRPCMutationProcedure<{
|
|
9018
|
-
input:
|
|
9019
|
-
|
|
9192
|
+
input: {
|
|
9193
|
+
[x: string]: unknown;
|
|
9194
|
+
nodeId: string;
|
|
9195
|
+
};
|
|
9196
|
+
output: {
|
|
9197
|
+
success: true;
|
|
9198
|
+
clearedDevices: number;
|
|
9199
|
+
};
|
|
9020
9200
|
meta: object;
|
|
9021
9201
|
}>;
|
|
9022
9202
|
getSchema: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -9852,7 +10032,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9852
10032
|
[x: string]: unknown;
|
|
9853
10033
|
agentNodeId: string;
|
|
9854
10034
|
detect?: boolean | null | undefined;
|
|
9855
|
-
decode?: boolean | null | undefined;
|
|
9856
10035
|
audio?: boolean | null | undefined;
|
|
9857
10036
|
ingest?: boolean | null | undefined;
|
|
9858
10037
|
};
|
|
@@ -9873,8 +10052,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9873
10052
|
meta: object;
|
|
9874
10053
|
}>;
|
|
9875
10054
|
resetNodePipelineDefaults: import("@trpc/server").TRPCMutationProcedure<{
|
|
9876
|
-
input:
|
|
9877
|
-
|
|
10055
|
+
input: {
|
|
10056
|
+
[x: string]: unknown;
|
|
10057
|
+
agentNodeId: string;
|
|
10058
|
+
};
|
|
10059
|
+
output: {
|
|
10060
|
+
success: true;
|
|
10061
|
+
effectiveModelId: string | null;
|
|
10062
|
+
clearedCameraOverrides: number;
|
|
10063
|
+
};
|
|
9878
10064
|
meta: object;
|
|
9879
10065
|
}>;
|
|
9880
10066
|
getCameraSettings: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -11412,6 +11598,91 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11412
11598
|
meta: object;
|
|
11413
11599
|
}>;
|
|
11414
11600
|
}>>;
|
|
11601
|
+
serverManagement: import("@trpc/server").TRPCBuiltRouter<{
|
|
11602
|
+
ctx: TrpcContext;
|
|
11603
|
+
meta: object;
|
|
11604
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
11605
|
+
transformer: true;
|
|
11606
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
11607
|
+
getServerPackageStatus: import("@trpc/server").TRPCQueryProcedure<{
|
|
11608
|
+
input: {
|
|
11609
|
+
nodeId?: string | undefined;
|
|
11610
|
+
} | undefined;
|
|
11611
|
+
output: {
|
|
11612
|
+
packageName: string;
|
|
11613
|
+
runningVersion: string | null;
|
|
11614
|
+
nodeRuntimeVersion: string | null;
|
|
11615
|
+
activeVersion: string | null;
|
|
11616
|
+
previousVersion: string | null;
|
|
11617
|
+
seedVersion: string | null;
|
|
11618
|
+
latestVersion: string | null;
|
|
11619
|
+
updateAvailable: boolean;
|
|
11620
|
+
bootMode: "workspace" | "baked" | "data-root";
|
|
11621
|
+
updateState: "idle" | "checking" | "staging" | "pending-restart" | "awaiting-confirmation";
|
|
11622
|
+
pendingVersion: string | null;
|
|
11623
|
+
rolledBack: {
|
|
11624
|
+
fromVersion: string;
|
|
11625
|
+
toVersion: string | null;
|
|
11626
|
+
atMs: number;
|
|
11627
|
+
reason: string;
|
|
11628
|
+
} | null;
|
|
11629
|
+
stateFileCorrupt: boolean;
|
|
11630
|
+
lastCheckedAtMs: number | null;
|
|
11631
|
+
};
|
|
11632
|
+
meta: object;
|
|
11633
|
+
}>;
|
|
11634
|
+
checkServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
11635
|
+
input: {
|
|
11636
|
+
nodeId?: string | undefined;
|
|
11637
|
+
} | undefined;
|
|
11638
|
+
output: {
|
|
11639
|
+
packageName: string;
|
|
11640
|
+
runningVersion: string | null;
|
|
11641
|
+
latestVersion: string | null;
|
|
11642
|
+
updateAvailable: boolean;
|
|
11643
|
+
checkedAtMs: number;
|
|
11644
|
+
error: string | null;
|
|
11645
|
+
};
|
|
11646
|
+
meta: object;
|
|
11647
|
+
}>;
|
|
11648
|
+
applyServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
11649
|
+
input: {
|
|
11650
|
+
[x: string]: unknown;
|
|
11651
|
+
version?: string | undefined;
|
|
11652
|
+
};
|
|
11653
|
+
output: {
|
|
11654
|
+
accepted: boolean;
|
|
11655
|
+
targetVersion: string | null;
|
|
11656
|
+
restarting: boolean;
|
|
11657
|
+
message: string;
|
|
11658
|
+
};
|
|
11659
|
+
meta: object;
|
|
11660
|
+
}>;
|
|
11661
|
+
rollbackServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
11662
|
+
input: {
|
|
11663
|
+
nodeId?: string | undefined;
|
|
11664
|
+
} | undefined;
|
|
11665
|
+
output: {
|
|
11666
|
+
accepted: boolean;
|
|
11667
|
+
targetVersion: string | null;
|
|
11668
|
+
restarting: boolean;
|
|
11669
|
+
message: string;
|
|
11670
|
+
};
|
|
11671
|
+
meta: object;
|
|
11672
|
+
}>;
|
|
11673
|
+
restartServer: import("@trpc/server").TRPCMutationProcedure<{
|
|
11674
|
+
input: {
|
|
11675
|
+
nodeId?: string | undefined;
|
|
11676
|
+
} | undefined;
|
|
11677
|
+
output: {
|
|
11678
|
+
accepted: boolean;
|
|
11679
|
+
targetVersion: string | null;
|
|
11680
|
+
restarting: boolean;
|
|
11681
|
+
message: string;
|
|
11682
|
+
};
|
|
11683
|
+
meta: object;
|
|
11684
|
+
}>;
|
|
11685
|
+
}>>;
|
|
11415
11686
|
settingsStore: import("@trpc/server").TRPCBuiltRouter<{
|
|
11416
11687
|
ctx: TrpcContext;
|
|
11417
11688
|
meta: object;
|
|
@@ -13880,6 +14151,26 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13880
14151
|
};
|
|
13881
14152
|
meta: object;
|
|
13882
14153
|
}>;
|
|
14154
|
+
beginDiscoverableAuthentication: import("@trpc/server").TRPCMutationProcedure<{
|
|
14155
|
+
input: {
|
|
14156
|
+
[x: string]: unknown;
|
|
14157
|
+
};
|
|
14158
|
+
output: {
|
|
14159
|
+
optionsJSON: Record<string, unknown>;
|
|
14160
|
+
};
|
|
14161
|
+
meta: object;
|
|
14162
|
+
}>;
|
|
14163
|
+
finishDiscoverableAuthentication: import("@trpc/server").TRPCMutationProcedure<{
|
|
14164
|
+
input: {
|
|
14165
|
+
[x: string]: unknown;
|
|
14166
|
+
response: Record<string, unknown>;
|
|
14167
|
+
};
|
|
14168
|
+
output: {
|
|
14169
|
+
verified: boolean;
|
|
14170
|
+
userId: string | null;
|
|
14171
|
+
};
|
|
14172
|
+
meta: object;
|
|
14173
|
+
}>;
|
|
13883
14174
|
listPasskeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
13884
14175
|
input: {
|
|
13885
14176
|
[x: string]: unknown;
|
|
@@ -14073,18 +14364,43 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14073
14364
|
meta: object;
|
|
14074
14365
|
}>;
|
|
14075
14366
|
}>>;
|
|
14076
|
-
|
|
14367
|
+
viewerUi: import("@trpc/server").TRPCBuiltRouter<{
|
|
14077
14368
|
ctx: TrpcContext;
|
|
14078
14369
|
meta: object;
|
|
14079
14370
|
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
14080
14371
|
transformer: true;
|
|
14081
14372
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
14082
|
-
|
|
14373
|
+
getStaticDir: import("@trpc/server").TRPCQueryProcedure<{
|
|
14083
14374
|
input: {
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14375
|
+
nodeId?: string | undefined;
|
|
14376
|
+
} | undefined;
|
|
14377
|
+
output: {
|
|
14378
|
+
staticDir: string;
|
|
14379
|
+
};
|
|
14380
|
+
meta: object;
|
|
14381
|
+
}>;
|
|
14382
|
+
getVersion: import("@trpc/server").TRPCQueryProcedure<{
|
|
14383
|
+
input: {
|
|
14384
|
+
nodeId?: string | undefined;
|
|
14385
|
+
} | undefined;
|
|
14386
|
+
output: {
|
|
14387
|
+
version: string;
|
|
14388
|
+
};
|
|
14389
|
+
meta: object;
|
|
14390
|
+
}>;
|
|
14391
|
+
}>>;
|
|
14392
|
+
waterHeater: import("@trpc/server").TRPCBuiltRouter<{
|
|
14393
|
+
ctx: TrpcContext;
|
|
14394
|
+
meta: object;
|
|
14395
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
14396
|
+
transformer: true;
|
|
14397
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
14398
|
+
getStatus: import("@trpc/server").TRPCQueryProcedure<{
|
|
14399
|
+
input: {
|
|
14400
|
+
[x: string]: unknown;
|
|
14401
|
+
deviceId: number;
|
|
14402
|
+
};
|
|
14403
|
+
output: unknown;
|
|
14088
14404
|
meta: object;
|
|
14089
14405
|
}>;
|
|
14090
14406
|
setTargetTemp: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -15030,23 +15346,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15030
15346
|
category?: string | undefined;
|
|
15031
15347
|
limit?: number | undefined;
|
|
15032
15348
|
} | undefined;
|
|
15033
|
-
output: readonly import("@camstack/
|
|
15349
|
+
output: readonly import("@camstack/types").SystemEvent[];
|
|
15034
15350
|
meta: object;
|
|
15035
15351
|
}>;
|
|
15036
15352
|
onEvent: import("@trpc/server").TRPCSubscriptionProcedure<{
|
|
15037
15353
|
input: {
|
|
15038
15354
|
category?: string | undefined;
|
|
15039
15355
|
};
|
|
15040
|
-
output: AsyncIterable<
|
|
15041
|
-
id: string;
|
|
15042
|
-
timestamp: Date;
|
|
15043
|
-
source: {
|
|
15044
|
-
type: string;
|
|
15045
|
-
id: string | number;
|
|
15046
|
-
};
|
|
15047
|
-
category: string;
|
|
15048
|
-
data: Record<string, unknown>;
|
|
15049
|
-
}, any, any>;
|
|
15356
|
+
output: AsyncIterable<import("@camstack/types").SystemEvent, any, any>;
|
|
15050
15357
|
meta: object;
|
|
15051
15358
|
}>;
|
|
15052
15359
|
onDeviceEvent: import("@trpc/server").TRPCSubscriptionProcedure<{
|
|
@@ -15165,6 +15472,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15165
15472
|
isAdmin: boolean;
|
|
15166
15473
|
};
|
|
15167
15474
|
requiresTotp?: boolean | undefined;
|
|
15475
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15168
15476
|
};
|
|
15169
15477
|
meta: object;
|
|
15170
15478
|
}>;
|
|
@@ -15181,6 +15489,56 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15181
15489
|
isAdmin: boolean;
|
|
15182
15490
|
};
|
|
15183
15491
|
requiresTotp?: boolean | undefined;
|
|
15492
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15493
|
+
};
|
|
15494
|
+
meta: object;
|
|
15495
|
+
}>;
|
|
15496
|
+
loginBeginPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
15497
|
+
input: {
|
|
15498
|
+
challengeToken: string;
|
|
15499
|
+
};
|
|
15500
|
+
output: {
|
|
15501
|
+
optionsJSON: Record<string, unknown>;
|
|
15502
|
+
};
|
|
15503
|
+
meta: object;
|
|
15504
|
+
}>;
|
|
15505
|
+
loginVerifyPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
15506
|
+
input: {
|
|
15507
|
+
challengeToken: string;
|
|
15508
|
+
response: Record<string, unknown>;
|
|
15509
|
+
};
|
|
15510
|
+
output: {
|
|
15511
|
+
token: string;
|
|
15512
|
+
user: {
|
|
15513
|
+
id: string;
|
|
15514
|
+
username: string;
|
|
15515
|
+
isAdmin: boolean;
|
|
15516
|
+
};
|
|
15517
|
+
requiresTotp?: boolean | undefined;
|
|
15518
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15519
|
+
};
|
|
15520
|
+
meta: object;
|
|
15521
|
+
}>;
|
|
15522
|
+
passkeyLoginBegin: import("@trpc/server").TRPCMutationProcedure<{
|
|
15523
|
+
input: void;
|
|
15524
|
+
output: {
|
|
15525
|
+
optionsJSON: Record<string, unknown>;
|
|
15526
|
+
};
|
|
15527
|
+
meta: object;
|
|
15528
|
+
}>;
|
|
15529
|
+
passkeyLoginFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
15530
|
+
input: {
|
|
15531
|
+
response: Record<string, unknown>;
|
|
15532
|
+
};
|
|
15533
|
+
output: {
|
|
15534
|
+
token: string;
|
|
15535
|
+
user: {
|
|
15536
|
+
id: string;
|
|
15537
|
+
username: string;
|
|
15538
|
+
isAdmin: boolean;
|
|
15539
|
+
};
|
|
15540
|
+
requiresTotp?: boolean | undefined;
|
|
15541
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
15184
15542
|
};
|
|
15185
15543
|
meta: object;
|
|
15186
15544
|
}>;
|
|
@@ -15242,23 +15600,116 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15242
15600
|
};
|
|
15243
15601
|
meta: object;
|
|
15244
15602
|
}>;
|
|
15245
|
-
|
|
15603
|
+
beginOwnPasskeyRegistration: import("@trpc/server").TRPCMutationProcedure<{
|
|
15246
15604
|
input: void;
|
|
15605
|
+
output: {
|
|
15606
|
+
optionsJSON: Record<string, unknown>;
|
|
15607
|
+
};
|
|
15608
|
+
meta: object;
|
|
15609
|
+
}>;
|
|
15610
|
+
finishOwnPasskeyRegistration: import("@trpc/server").TRPCMutationProcedure<{
|
|
15611
|
+
input: {
|
|
15612
|
+
response: Record<string, unknown>;
|
|
15613
|
+
label: string;
|
|
15614
|
+
};
|
|
15247
15615
|
output: {
|
|
15248
15616
|
success: true;
|
|
15617
|
+
credentialId: string;
|
|
15249
15618
|
};
|
|
15250
15619
|
meta: object;
|
|
15251
15620
|
}>;
|
|
15252
|
-
|
|
15621
|
+
listOwnPasskeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
15253
15622
|
input: void;
|
|
15254
|
-
output:
|
|
15623
|
+
output: {
|
|
15624
|
+
credentialId: string;
|
|
15625
|
+
label: string;
|
|
15626
|
+
createdAt: number;
|
|
15627
|
+
lastUsedAt: number | null;
|
|
15628
|
+
transports: string[];
|
|
15629
|
+
}[];
|
|
15630
|
+
meta: object;
|
|
15631
|
+
}>;
|
|
15632
|
+
removeOwnPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
15633
|
+
input: {
|
|
15634
|
+
credentialId: string;
|
|
15635
|
+
};
|
|
15636
|
+
output: {
|
|
15637
|
+
success: true;
|
|
15638
|
+
};
|
|
15639
|
+
meta: object;
|
|
15640
|
+
}>;
|
|
15641
|
+
createShareToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
15642
|
+
input: {
|
|
15643
|
+
scope: {
|
|
15644
|
+
kind: "grid-view";
|
|
15645
|
+
deviceIds: number[];
|
|
15646
|
+
};
|
|
15647
|
+
ttlSec?: number | "never" | undefined;
|
|
15648
|
+
};
|
|
15649
|
+
output: {
|
|
15255
15650
|
id: string;
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15651
|
+
token: string;
|
|
15652
|
+
expiresAt: number | null;
|
|
15653
|
+
};
|
|
15654
|
+
meta: object;
|
|
15655
|
+
}>;
|
|
15656
|
+
revokeShareToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
15657
|
+
input: {
|
|
15658
|
+
id: string;
|
|
15659
|
+
};
|
|
15660
|
+
output: {
|
|
15661
|
+
success: boolean;
|
|
15662
|
+
};
|
|
15663
|
+
meta: object;
|
|
15664
|
+
}>;
|
|
15665
|
+
listShareTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
15666
|
+
input: void;
|
|
15667
|
+
output: {
|
|
15668
|
+
id: string;
|
|
15669
|
+
userId: string;
|
|
15670
|
+
tokenPrefix: string;
|
|
15671
|
+
scope: {
|
|
15672
|
+
kind: "grid-view";
|
|
15673
|
+
deviceIds: number[];
|
|
15674
|
+
};
|
|
15675
|
+
createdAt: number;
|
|
15676
|
+
expiresAt: number | null;
|
|
15677
|
+
neverExpires: boolean;
|
|
15678
|
+
lastUsedAt?: number | undefined;
|
|
15259
15679
|
}[];
|
|
15260
15680
|
meta: object;
|
|
15261
15681
|
}>;
|
|
15682
|
+
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
15683
|
+
input: void;
|
|
15684
|
+
output: {
|
|
15685
|
+
success: true;
|
|
15686
|
+
};
|
|
15687
|
+
meta: object;
|
|
15688
|
+
}>;
|
|
15689
|
+
listLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
15690
|
+
input: void;
|
|
15691
|
+
output: readonly ({
|
|
15692
|
+
kind: "redirect";
|
|
15693
|
+
id: string;
|
|
15694
|
+
label: string;
|
|
15695
|
+
startUrl: string;
|
|
15696
|
+
stage: "primary" | "second-factor";
|
|
15697
|
+
icon?: string | undefined;
|
|
15698
|
+
} | {
|
|
15699
|
+
kind: "widget";
|
|
15700
|
+
id: string;
|
|
15701
|
+
addonId: string;
|
|
15702
|
+
bundle: string;
|
|
15703
|
+
remote: {
|
|
15704
|
+
remoteName: string;
|
|
15705
|
+
exposedModule: string;
|
|
15706
|
+
componentKey?: string | undefined;
|
|
15707
|
+
};
|
|
15708
|
+
stage: "primary" | "second-factor";
|
|
15709
|
+
bundleUrl: string;
|
|
15710
|
+
})[];
|
|
15711
|
+
meta: object;
|
|
15712
|
+
}>;
|
|
15262
15713
|
}>>;
|
|
15263
15714
|
accessories: import("@trpc/server").TRPCBuiltRouter<{
|
|
15264
15715
|
ctx: TrpcContext;
|
|
@@ -15453,6 +15904,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15453
15904
|
deviceContext: boolean;
|
|
15454
15905
|
integrationContext: boolean;
|
|
15455
15906
|
};
|
|
15907
|
+
preAuth: boolean;
|
|
15456
15908
|
defaultSize: "xs" | "sm" | "md" | "lg" | "xl";
|
|
15457
15909
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
15458
15910
|
defaultColumns: number;
|
|
@@ -15494,6 +15946,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15494
15946
|
deviceContext: boolean;
|
|
15495
15947
|
integrationContext: boolean;
|
|
15496
15948
|
};
|
|
15949
|
+
preAuth: boolean;
|
|
15497
15950
|
defaultSize: "xs" | "sm" | "md" | "lg" | "xl";
|
|
15498
15951
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
15499
15952
|
defaultColumns: number;
|
|
@@ -21112,6 +21565,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
21112
21565
|
meta: object;
|
|
21113
21566
|
}>;
|
|
21114
21567
|
}>>;
|
|
21568
|
+
loginMethod: import("@trpc/server").TRPCBuiltRouter<{
|
|
21569
|
+
ctx: TrpcContext;
|
|
21570
|
+
meta: object;
|
|
21571
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
21572
|
+
transformer: true;
|
|
21573
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
21574
|
+
getLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
21575
|
+
input: {
|
|
21576
|
+
nodeId?: string | undefined;
|
|
21577
|
+
addonId?: string | undefined;
|
|
21578
|
+
} | undefined;
|
|
21579
|
+
output: readonly ({
|
|
21580
|
+
kind: "redirect";
|
|
21581
|
+
id: string;
|
|
21582
|
+
label: string;
|
|
21583
|
+
startUrl: string;
|
|
21584
|
+
stage: "primary" | "second-factor";
|
|
21585
|
+
icon?: string | undefined;
|
|
21586
|
+
} | {
|
|
21587
|
+
kind: "widget";
|
|
21588
|
+
id: string;
|
|
21589
|
+
addonId: string;
|
|
21590
|
+
bundle: string;
|
|
21591
|
+
remote: {
|
|
21592
|
+
remoteName: string;
|
|
21593
|
+
exposedModule: string;
|
|
21594
|
+
componentKey?: string | undefined;
|
|
21595
|
+
};
|
|
21596
|
+
stage: "primary" | "second-factor";
|
|
21597
|
+
})[];
|
|
21598
|
+
meta: object;
|
|
21599
|
+
}>;
|
|
21600
|
+
}>>;
|
|
21115
21601
|
mediaPlayer: import("@trpc/server").TRPCBuiltRouter<{
|
|
21116
21602
|
ctx: TrpcContext;
|
|
21117
21603
|
meta: object;
|
|
@@ -22445,6 +22931,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
22445
22931
|
memoryRss: number;
|
|
22446
22932
|
}[];
|
|
22447
22933
|
}[];
|
|
22934
|
+
rootPackage: {
|
|
22935
|
+
name: string;
|
|
22936
|
+
version: string;
|
|
22937
|
+
} | null;
|
|
22448
22938
|
}[];
|
|
22449
22939
|
meta: object;
|
|
22450
22940
|
}>;
|
|
@@ -23527,8 +24017,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23527
24017
|
meta: object;
|
|
23528
24018
|
}>;
|
|
23529
24019
|
clearDeviceOverrides: import("@trpc/server").TRPCMutationProcedure<{
|
|
23530
|
-
input:
|
|
23531
|
-
|
|
24020
|
+
input: {
|
|
24021
|
+
[x: string]: unknown;
|
|
24022
|
+
nodeId: string;
|
|
24023
|
+
};
|
|
24024
|
+
output: {
|
|
24025
|
+
success: true;
|
|
24026
|
+
clearedDevices: number;
|
|
24027
|
+
};
|
|
23532
24028
|
meta: object;
|
|
23533
24029
|
}>;
|
|
23534
24030
|
getSchema: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -24364,7 +24860,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
24364
24860
|
[x: string]: unknown;
|
|
24365
24861
|
agentNodeId: string;
|
|
24366
24862
|
detect?: boolean | null | undefined;
|
|
24367
|
-
decode?: boolean | null | undefined;
|
|
24368
24863
|
audio?: boolean | null | undefined;
|
|
24369
24864
|
ingest?: boolean | null | undefined;
|
|
24370
24865
|
};
|
|
@@ -24385,8 +24880,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
24385
24880
|
meta: object;
|
|
24386
24881
|
}>;
|
|
24387
24882
|
resetNodePipelineDefaults: import("@trpc/server").TRPCMutationProcedure<{
|
|
24388
|
-
input:
|
|
24389
|
-
|
|
24883
|
+
input: {
|
|
24884
|
+
[x: string]: unknown;
|
|
24885
|
+
agentNodeId: string;
|
|
24886
|
+
};
|
|
24887
|
+
output: {
|
|
24888
|
+
success: true;
|
|
24889
|
+
effectiveModelId: string | null;
|
|
24890
|
+
clearedCameraOverrides: number;
|
|
24891
|
+
};
|
|
24390
24892
|
meta: object;
|
|
24391
24893
|
}>;
|
|
24392
24894
|
getCameraSettings: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -25924,6 +26426,91 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
25924
26426
|
meta: object;
|
|
25925
26427
|
}>;
|
|
25926
26428
|
}>>;
|
|
26429
|
+
serverManagement: import("@trpc/server").TRPCBuiltRouter<{
|
|
26430
|
+
ctx: TrpcContext;
|
|
26431
|
+
meta: object;
|
|
26432
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
26433
|
+
transformer: true;
|
|
26434
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
26435
|
+
getServerPackageStatus: import("@trpc/server").TRPCQueryProcedure<{
|
|
26436
|
+
input: {
|
|
26437
|
+
nodeId?: string | undefined;
|
|
26438
|
+
} | undefined;
|
|
26439
|
+
output: {
|
|
26440
|
+
packageName: string;
|
|
26441
|
+
runningVersion: string | null;
|
|
26442
|
+
nodeRuntimeVersion: string | null;
|
|
26443
|
+
activeVersion: string | null;
|
|
26444
|
+
previousVersion: string | null;
|
|
26445
|
+
seedVersion: string | null;
|
|
26446
|
+
latestVersion: string | null;
|
|
26447
|
+
updateAvailable: boolean;
|
|
26448
|
+
bootMode: "workspace" | "baked" | "data-root";
|
|
26449
|
+
updateState: "idle" | "checking" | "staging" | "pending-restart" | "awaiting-confirmation";
|
|
26450
|
+
pendingVersion: string | null;
|
|
26451
|
+
rolledBack: {
|
|
26452
|
+
fromVersion: string;
|
|
26453
|
+
toVersion: string | null;
|
|
26454
|
+
atMs: number;
|
|
26455
|
+
reason: string;
|
|
26456
|
+
} | null;
|
|
26457
|
+
stateFileCorrupt: boolean;
|
|
26458
|
+
lastCheckedAtMs: number | null;
|
|
26459
|
+
};
|
|
26460
|
+
meta: object;
|
|
26461
|
+
}>;
|
|
26462
|
+
checkServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
26463
|
+
input: {
|
|
26464
|
+
nodeId?: string | undefined;
|
|
26465
|
+
} | undefined;
|
|
26466
|
+
output: {
|
|
26467
|
+
packageName: string;
|
|
26468
|
+
runningVersion: string | null;
|
|
26469
|
+
latestVersion: string | null;
|
|
26470
|
+
updateAvailable: boolean;
|
|
26471
|
+
checkedAtMs: number;
|
|
26472
|
+
error: string | null;
|
|
26473
|
+
};
|
|
26474
|
+
meta: object;
|
|
26475
|
+
}>;
|
|
26476
|
+
applyServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
26477
|
+
input: {
|
|
26478
|
+
[x: string]: unknown;
|
|
26479
|
+
version?: string | undefined;
|
|
26480
|
+
};
|
|
26481
|
+
output: {
|
|
26482
|
+
accepted: boolean;
|
|
26483
|
+
targetVersion: string | null;
|
|
26484
|
+
restarting: boolean;
|
|
26485
|
+
message: string;
|
|
26486
|
+
};
|
|
26487
|
+
meta: object;
|
|
26488
|
+
}>;
|
|
26489
|
+
rollbackServerUpdate: import("@trpc/server").TRPCMutationProcedure<{
|
|
26490
|
+
input: {
|
|
26491
|
+
nodeId?: string | undefined;
|
|
26492
|
+
} | undefined;
|
|
26493
|
+
output: {
|
|
26494
|
+
accepted: boolean;
|
|
26495
|
+
targetVersion: string | null;
|
|
26496
|
+
restarting: boolean;
|
|
26497
|
+
message: string;
|
|
26498
|
+
};
|
|
26499
|
+
meta: object;
|
|
26500
|
+
}>;
|
|
26501
|
+
restartServer: import("@trpc/server").TRPCMutationProcedure<{
|
|
26502
|
+
input: {
|
|
26503
|
+
nodeId?: string | undefined;
|
|
26504
|
+
} | undefined;
|
|
26505
|
+
output: {
|
|
26506
|
+
accepted: boolean;
|
|
26507
|
+
targetVersion: string | null;
|
|
26508
|
+
restarting: boolean;
|
|
26509
|
+
message: string;
|
|
26510
|
+
};
|
|
26511
|
+
meta: object;
|
|
26512
|
+
}>;
|
|
26513
|
+
}>>;
|
|
25927
26514
|
settingsStore: import("@trpc/server").TRPCBuiltRouter<{
|
|
25928
26515
|
ctx: TrpcContext;
|
|
25929
26516
|
meta: object;
|
|
@@ -28392,6 +28979,26 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28392
28979
|
};
|
|
28393
28980
|
meta: object;
|
|
28394
28981
|
}>;
|
|
28982
|
+
beginDiscoverableAuthentication: import("@trpc/server").TRPCMutationProcedure<{
|
|
28983
|
+
input: {
|
|
28984
|
+
[x: string]: unknown;
|
|
28985
|
+
};
|
|
28986
|
+
output: {
|
|
28987
|
+
optionsJSON: Record<string, unknown>;
|
|
28988
|
+
};
|
|
28989
|
+
meta: object;
|
|
28990
|
+
}>;
|
|
28991
|
+
finishDiscoverableAuthentication: import("@trpc/server").TRPCMutationProcedure<{
|
|
28992
|
+
input: {
|
|
28993
|
+
[x: string]: unknown;
|
|
28994
|
+
response: Record<string, unknown>;
|
|
28995
|
+
};
|
|
28996
|
+
output: {
|
|
28997
|
+
verified: boolean;
|
|
28998
|
+
userId: string | null;
|
|
28999
|
+
};
|
|
29000
|
+
meta: object;
|
|
29001
|
+
}>;
|
|
28395
29002
|
listPasskeys: import("@trpc/server").TRPCQueryProcedure<{
|
|
28396
29003
|
input: {
|
|
28397
29004
|
[x: string]: unknown;
|
|
@@ -28585,6 +29192,31 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28585
29192
|
meta: object;
|
|
28586
29193
|
}>;
|
|
28587
29194
|
}>>;
|
|
29195
|
+
viewerUi: import("@trpc/server").TRPCBuiltRouter<{
|
|
29196
|
+
ctx: TrpcContext;
|
|
29197
|
+
meta: object;
|
|
29198
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
29199
|
+
transformer: true;
|
|
29200
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
29201
|
+
getStaticDir: import("@trpc/server").TRPCQueryProcedure<{
|
|
29202
|
+
input: {
|
|
29203
|
+
nodeId?: string | undefined;
|
|
29204
|
+
} | undefined;
|
|
29205
|
+
output: {
|
|
29206
|
+
staticDir: string;
|
|
29207
|
+
};
|
|
29208
|
+
meta: object;
|
|
29209
|
+
}>;
|
|
29210
|
+
getVersion: import("@trpc/server").TRPCQueryProcedure<{
|
|
29211
|
+
input: {
|
|
29212
|
+
nodeId?: string | undefined;
|
|
29213
|
+
} | undefined;
|
|
29214
|
+
output: {
|
|
29215
|
+
version: string;
|
|
29216
|
+
};
|
|
29217
|
+
meta: object;
|
|
29218
|
+
}>;
|
|
29219
|
+
}>>;
|
|
28588
29220
|
waterHeater: import("@trpc/server").TRPCBuiltRouter<{
|
|
28589
29221
|
ctx: TrpcContext;
|
|
28590
29222
|
meta: object;
|