@camstack/types 0.1.34 → 0.1.35
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/capabilities/addons.cap.d.ts +21 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/index.d.ts +3 -10
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/local-network.cap.d.ts +5 -5
- package/dist/capabilities/mesh-network.cap.d.ts +4 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/network-access.cap.d.ts +5 -4
- package/dist/capabilities/network-access.cap.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +227 -499
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +2 -14
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +3 -9
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-DS7418lf.js → index-BkSgJYP7.js} +31 -252
- package/dist/index-BkSgJYP7.js.map +1 -0
- package/dist/{index-Ce7RZWP4.mjs → index-CWhQOnm9.mjs} +352 -573
- package/dist/index-CWhQOnm9.mjs.map +1 -0
- package/dist/index.js +13 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +285 -341
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/capability.d.ts +1 -6
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/server-network.d.ts +8 -33
- package/dist/interfaces/server-network.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
- package/dist/capabilities/authentication.cap.d.ts +0 -73
- package/dist/capabilities/authentication.cap.d.ts.map +0 -1
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +0 -151
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +0 -1
- package/dist/capabilities/remote-access.cap.d.ts +0 -91
- package/dist/capabilities/remote-access.cap.d.ts.map +0 -1
- package/dist/capabilities/turn-orchestrator.cap.d.ts +0 -64
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +0 -1
- package/dist/index-Ce7RZWP4.mjs.map +0 -1
- package/dist/index-DS7418lf.js.map +0 -1
|
@@ -1432,11 +1432,23 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1432
1432
|
};
|
|
1433
1433
|
output: readonly {
|
|
1434
1434
|
addonId: string;
|
|
1435
|
-
mode: "
|
|
1435
|
+
mode: "collection" | "singleton";
|
|
1436
1436
|
isActive: boolean;
|
|
1437
1437
|
}[];
|
|
1438
1438
|
meta: object;
|
|
1439
1439
|
}>;
|
|
1440
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1441
|
+
input: {
|
|
1442
|
+
[x: string]: unknown;
|
|
1443
|
+
capName: string;
|
|
1444
|
+
addonId: string;
|
|
1445
|
+
enabled: boolean;
|
|
1446
|
+
};
|
|
1447
|
+
output: {
|
|
1448
|
+
success: true;
|
|
1449
|
+
};
|
|
1450
|
+
meta: object;
|
|
1451
|
+
}>;
|
|
1440
1452
|
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1441
1453
|
input: {
|
|
1442
1454
|
[x: string]: unknown;
|
|
@@ -3405,7 +3417,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3405
3417
|
netmask: string;
|
|
3406
3418
|
internal: boolean;
|
|
3407
3419
|
mac: string;
|
|
3408
|
-
kind: "other" | "lan" | "
|
|
3420
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3409
3421
|
preferred: boolean;
|
|
3410
3422
|
plausible: boolean;
|
|
3411
3423
|
plausibleReason: string;
|
|
@@ -3426,7 +3438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3426
3438
|
netmask: string;
|
|
3427
3439
|
internal: boolean;
|
|
3428
3440
|
mac: string;
|
|
3429
|
-
kind: "other" | "lan" | "
|
|
3441
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3430
3442
|
preferred: boolean;
|
|
3431
3443
|
plausible: boolean;
|
|
3432
3444
|
plausibleReason: string;
|
|
@@ -3446,7 +3458,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3446
3458
|
label: string;
|
|
3447
3459
|
baseUrl: string;
|
|
3448
3460
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
3449
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
3461
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3450
3462
|
plausible: boolean;
|
|
3451
3463
|
plausibleReason: string;
|
|
3452
3464
|
priority: number;
|
|
@@ -3483,24 +3495,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3483
3495
|
meta: object;
|
|
3484
3496
|
}>;
|
|
3485
3497
|
}>>;
|
|
3486
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3487
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
3488
|
-
meta: object;
|
|
3489
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
3490
|
-
transformer: true;
|
|
3491
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
3492
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3493
|
-
input: {
|
|
3494
|
-
nodeId?: string | undefined;
|
|
3495
|
-
} | undefined;
|
|
3496
|
-
output: readonly {
|
|
3497
|
-
urls: string | string[];
|
|
3498
|
-
username?: string | undefined;
|
|
3499
|
-
credential?: string | undefined;
|
|
3500
|
-
}[];
|
|
3501
|
-
meta: object;
|
|
3502
|
-
}>;
|
|
3503
|
-
}>>;
|
|
3504
3498
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3505
3499
|
ctx: import("@camstack/types").TrpcContext;
|
|
3506
3500
|
meta: object;
|
|
@@ -3577,6 +3571,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3577
3571
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3578
3572
|
input: {
|
|
3579
3573
|
nodeId?: string | undefined;
|
|
3574
|
+
addonId?: string | undefined;
|
|
3580
3575
|
} | undefined;
|
|
3581
3576
|
output: readonly {
|
|
3582
3577
|
id: string;
|
|
@@ -3720,6 +3715,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3720
3715
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3721
3716
|
input: {
|
|
3722
3717
|
nodeId?: string | undefined;
|
|
3718
|
+
addonId?: string | undefined;
|
|
3723
3719
|
} | undefined;
|
|
3724
3720
|
output: readonly {
|
|
3725
3721
|
stableId: string;
|
|
@@ -4141,41 +4137,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4141
4137
|
meta: object;
|
|
4142
4138
|
}>;
|
|
4143
4139
|
}>>;
|
|
4144
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4145
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
4146
|
-
meta: object;
|
|
4147
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4148
|
-
transformer: true;
|
|
4149
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4150
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4151
|
-
input: {
|
|
4152
|
-
nodeId?: string | undefined;
|
|
4153
|
-
} | undefined;
|
|
4154
|
-
output: readonly {
|
|
4155
|
-
addonId: string;
|
|
4156
|
-
displayName: string;
|
|
4157
|
-
hasRedirectFlow: boolean;
|
|
4158
|
-
hasCredentialFlow: boolean;
|
|
4159
|
-
enabled: boolean;
|
|
4160
|
-
instanceId?: string | undefined;
|
|
4161
|
-
icon?: string | undefined;
|
|
4162
|
-
kind?: string | undefined;
|
|
4163
|
-
status?: string | undefined;
|
|
4164
|
-
}[];
|
|
4165
|
-
meta: object;
|
|
4166
|
-
}>;
|
|
4167
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4168
|
-
input: {
|
|
4169
|
-
[x: string]: unknown;
|
|
4170
|
-
addonId: string;
|
|
4171
|
-
enabled: boolean;
|
|
4172
|
-
};
|
|
4173
|
-
output: {
|
|
4174
|
-
success: true;
|
|
4175
|
-
};
|
|
4176
|
-
meta: object;
|
|
4177
|
-
}>;
|
|
4178
|
-
}>>;
|
|
4179
4140
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4180
4141
|
ctx: import("@camstack/types").TrpcContext;
|
|
4181
4142
|
meta: object;
|
|
@@ -4632,6 +4593,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4632
4593
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4633
4594
|
input: {
|
|
4634
4595
|
nodeId?: string | undefined;
|
|
4596
|
+
addonId?: string | undefined;
|
|
4635
4597
|
} | undefined;
|
|
4636
4598
|
output: unknown;
|
|
4637
4599
|
meta: object;
|
|
@@ -4704,6 +4666,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4704
4666
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4705
4667
|
input: {
|
|
4706
4668
|
nodeId?: string | undefined;
|
|
4669
|
+
addonId?: string | undefined;
|
|
4707
4670
|
} | undefined;
|
|
4708
4671
|
output: string[];
|
|
4709
4672
|
meta: object;
|
|
@@ -4711,6 +4674,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4711
4674
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4712
4675
|
input: {
|
|
4713
4676
|
nodeId?: string | undefined;
|
|
4677
|
+
addonId?: string | undefined;
|
|
4714
4678
|
} | undefined;
|
|
4715
4679
|
output: {
|
|
4716
4680
|
deviceId: string;
|
|
@@ -5466,6 +5430,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5466
5430
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5467
5431
|
input: {
|
|
5468
5432
|
nodeId?: string | undefined;
|
|
5433
|
+
addonId?: string | undefined;
|
|
5469
5434
|
} | undefined;
|
|
5470
5435
|
output: void;
|
|
5471
5436
|
meta: object;
|
|
@@ -5473,6 +5438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5473
5438
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5474
5439
|
input: {
|
|
5475
5440
|
nodeId?: string | undefined;
|
|
5441
|
+
addonId?: string | undefined;
|
|
5476
5442
|
} | undefined;
|
|
5477
5443
|
output: void;
|
|
5478
5444
|
meta: object;
|
|
@@ -5480,6 +5446,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5480
5446
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5481
5447
|
input: {
|
|
5482
5448
|
nodeId?: string | undefined;
|
|
5449
|
+
addonId?: string | undefined;
|
|
5483
5450
|
} | undefined;
|
|
5484
5451
|
output: unknown;
|
|
5485
5452
|
meta: object;
|
|
@@ -5487,6 +5454,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5487
5454
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5488
5455
|
input: {
|
|
5489
5456
|
nodeId?: string | undefined;
|
|
5457
|
+
addonId?: string | undefined;
|
|
5490
5458
|
} | undefined;
|
|
5491
5459
|
output: {
|
|
5492
5460
|
id: string;
|
|
@@ -5691,6 +5659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5691
5659
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5692
5660
|
input: {
|
|
5693
5661
|
nodeId?: string | undefined;
|
|
5662
|
+
addonId?: string | undefined;
|
|
5694
5663
|
} | undefined;
|
|
5695
5664
|
output: {
|
|
5696
5665
|
modelId: string;
|
|
@@ -5846,6 +5815,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5846
5815
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5847
5816
|
input: {
|
|
5848
5817
|
nodeId?: string | undefined;
|
|
5818
|
+
addonId?: string | undefined;
|
|
5849
5819
|
} | undefined;
|
|
5850
5820
|
output: unknown;
|
|
5851
5821
|
meta: object;
|
|
@@ -5874,6 +5844,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5874
5844
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5875
5845
|
input: {
|
|
5876
5846
|
nodeId?: string | undefined;
|
|
5847
|
+
addonId?: string | undefined;
|
|
5877
5848
|
} | undefined;
|
|
5878
5849
|
output: {
|
|
5879
5850
|
left: true;
|
|
@@ -5883,6 +5854,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5883
5854
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5884
5855
|
input: {
|
|
5885
5856
|
nodeId?: string | undefined;
|
|
5857
|
+
addonId?: string | undefined;
|
|
5886
5858
|
} | undefined;
|
|
5887
5859
|
output: {
|
|
5888
5860
|
loggedOut: true;
|
|
@@ -5892,6 +5864,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5892
5864
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5893
5865
|
input: {
|
|
5894
5866
|
nodeId?: string | undefined;
|
|
5867
|
+
addonId?: string | undefined;
|
|
5895
5868
|
} | undefined;
|
|
5896
5869
|
output: {
|
|
5897
5870
|
peers: readonly {
|
|
@@ -5902,7 +5875,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5902
5875
|
online: boolean;
|
|
5903
5876
|
lastSeenMs: number;
|
|
5904
5877
|
isSelf: boolean;
|
|
5905
|
-
connection: "idle" | "
|
|
5878
|
+
connection: "idle" | "direct" | "relay";
|
|
5906
5879
|
relay: string | null;
|
|
5907
5880
|
lastHandshakeMs: number;
|
|
5908
5881
|
rxBytes: number;
|
|
@@ -5931,114 +5904,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5931
5904
|
meta: object;
|
|
5932
5905
|
}>;
|
|
5933
5906
|
}>>;
|
|
5934
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
5935
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
5936
|
-
meta: object;
|
|
5937
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
5938
|
-
transformer: true;
|
|
5939
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
5940
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5941
|
-
input: {
|
|
5942
|
-
nodeId?: string | undefined;
|
|
5943
|
-
} | undefined;
|
|
5944
|
-
output: readonly {
|
|
5945
|
-
addonId: string;
|
|
5946
|
-
displayName: string;
|
|
5947
|
-
joined: boolean;
|
|
5948
|
-
meshIp: string;
|
|
5949
|
-
magicDnsHostname: string;
|
|
5950
|
-
peerCount: number;
|
|
5951
|
-
endpoints: readonly {
|
|
5952
|
-
id: string;
|
|
5953
|
-
label: string;
|
|
5954
|
-
scope: "public" | "mesh";
|
|
5955
|
-
url: string;
|
|
5956
|
-
hostname: string;
|
|
5957
|
-
port: number;
|
|
5958
|
-
protocol: "https" | "http";
|
|
5959
|
-
}[];
|
|
5960
|
-
tenantName: string;
|
|
5961
|
-
magicDnsSuffix: string;
|
|
5962
|
-
userLogin: string | null;
|
|
5963
|
-
controlPlaneUrl: string;
|
|
5964
|
-
keyExpiry: number | null;
|
|
5965
|
-
error?: string | undefined;
|
|
5966
|
-
}[];
|
|
5967
|
-
meta: object;
|
|
5968
|
-
}>;
|
|
5969
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5970
|
-
input: {
|
|
5971
|
-
[x: string]: unknown;
|
|
5972
|
-
addonId: string;
|
|
5973
|
-
authKey: string;
|
|
5974
|
-
hostname?: string | undefined;
|
|
5975
|
-
};
|
|
5976
|
-
output: {
|
|
5977
|
-
joined: true;
|
|
5978
|
-
};
|
|
5979
|
-
meta: object;
|
|
5980
|
-
}>;
|
|
5981
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5982
|
-
input: {
|
|
5983
|
-
[x: string]: unknown;
|
|
5984
|
-
addonId: string;
|
|
5985
|
-
};
|
|
5986
|
-
output: {
|
|
5987
|
-
success: true;
|
|
5988
|
-
};
|
|
5989
|
-
meta: object;
|
|
5990
|
-
}>;
|
|
5991
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5992
|
-
input: {
|
|
5993
|
-
[x: string]: unknown;
|
|
5994
|
-
addonId: string;
|
|
5995
|
-
hostname?: string | undefined;
|
|
5996
|
-
};
|
|
5997
|
-
output: {
|
|
5998
|
-
loginUrl: string;
|
|
5999
|
-
};
|
|
6000
|
-
meta: object;
|
|
6001
|
-
}>;
|
|
6002
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6003
|
-
input: {
|
|
6004
|
-
[x: string]: unknown;
|
|
6005
|
-
addonId: string;
|
|
6006
|
-
};
|
|
6007
|
-
output: {
|
|
6008
|
-
loggedOut: true;
|
|
6009
|
-
};
|
|
6010
|
-
meta: object;
|
|
6011
|
-
}>;
|
|
6012
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6013
|
-
input: {
|
|
6014
|
-
[x: string]: unknown;
|
|
6015
|
-
addonId: string;
|
|
6016
|
-
};
|
|
6017
|
-
output: {
|
|
6018
|
-
peers: readonly {
|
|
6019
|
-
id: string;
|
|
6020
|
-
hostname: string;
|
|
6021
|
-
magicDns: string;
|
|
6022
|
-
addresses: readonly string[];
|
|
6023
|
-
online: boolean;
|
|
6024
|
-
lastSeenMs: number;
|
|
6025
|
-
isSelf: boolean;
|
|
6026
|
-
connection: "idle" | "relay" | "direct";
|
|
6027
|
-
relay: string | null;
|
|
6028
|
-
lastHandshakeMs: number;
|
|
6029
|
-
rxBytes: number;
|
|
6030
|
-
txBytes: number;
|
|
6031
|
-
tags: readonly string[];
|
|
6032
|
-
exitNodeOption: boolean;
|
|
6033
|
-
advertisedRoutes: readonly string[];
|
|
6034
|
-
userLogin: string | null;
|
|
6035
|
-
keyExpiry: number | null;
|
|
6036
|
-
os?: string | undefined;
|
|
6037
|
-
}[];
|
|
6038
|
-
};
|
|
6039
|
-
meta: object;
|
|
6040
|
-
}>;
|
|
6041
|
-
}>>;
|
|
6042
5907
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6043
5908
|
ctx: import("@camstack/types").TrpcContext;
|
|
6044
5909
|
meta: object;
|
|
@@ -6538,6 +6403,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6538
6403
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6539
6404
|
input: {
|
|
6540
6405
|
nodeId?: string | undefined;
|
|
6406
|
+
addonId?: string | undefined;
|
|
6541
6407
|
} | undefined;
|
|
6542
6408
|
output: unknown;
|
|
6543
6409
|
meta: object;
|
|
@@ -6545,6 +6411,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6545
6411
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6546
6412
|
input: {
|
|
6547
6413
|
nodeId?: string | undefined;
|
|
6414
|
+
addonId?: string | undefined;
|
|
6548
6415
|
} | undefined;
|
|
6549
6416
|
output: {
|
|
6550
6417
|
id: string;
|
|
@@ -6646,6 +6513,72 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6646
6513
|
meta: object;
|
|
6647
6514
|
}>;
|
|
6648
6515
|
}>>;
|
|
6516
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6517
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6518
|
+
meta: object;
|
|
6519
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6520
|
+
transformer: true;
|
|
6521
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6522
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6523
|
+
input: {
|
|
6524
|
+
nodeId?: string | undefined;
|
|
6525
|
+
addonId?: string | undefined;
|
|
6526
|
+
} | undefined;
|
|
6527
|
+
output: {
|
|
6528
|
+
url: string;
|
|
6529
|
+
hostname: string;
|
|
6530
|
+
port: number;
|
|
6531
|
+
protocol: "https" | "http";
|
|
6532
|
+
};
|
|
6533
|
+
meta: object;
|
|
6534
|
+
}>;
|
|
6535
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6536
|
+
input: {
|
|
6537
|
+
nodeId?: string | undefined;
|
|
6538
|
+
addonId?: string | undefined;
|
|
6539
|
+
} | undefined;
|
|
6540
|
+
output: void;
|
|
6541
|
+
meta: object;
|
|
6542
|
+
}>;
|
|
6543
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6544
|
+
input: {
|
|
6545
|
+
nodeId?: string | undefined;
|
|
6546
|
+
addonId?: string | undefined;
|
|
6547
|
+
} | undefined;
|
|
6548
|
+
output: {
|
|
6549
|
+
url: string;
|
|
6550
|
+
hostname: string;
|
|
6551
|
+
port: number;
|
|
6552
|
+
protocol: "https" | "http";
|
|
6553
|
+
} | null;
|
|
6554
|
+
meta: object;
|
|
6555
|
+
}>;
|
|
6556
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6557
|
+
input: {
|
|
6558
|
+
nodeId?: string | undefined;
|
|
6559
|
+
addonId?: string | undefined;
|
|
6560
|
+
} | undefined;
|
|
6561
|
+
output: unknown;
|
|
6562
|
+
meta: object;
|
|
6563
|
+
}>;
|
|
6564
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6565
|
+
input: {
|
|
6566
|
+
nodeId?: string | undefined;
|
|
6567
|
+
addonId?: string | undefined;
|
|
6568
|
+
} | undefined;
|
|
6569
|
+
output: readonly {
|
|
6570
|
+
url: string;
|
|
6571
|
+
hostname: string;
|
|
6572
|
+
port: number;
|
|
6573
|
+
protocol: "https" | "http";
|
|
6574
|
+
id: string;
|
|
6575
|
+
label: string;
|
|
6576
|
+
mode?: string | undefined;
|
|
6577
|
+
sourcePort?: number | undefined;
|
|
6578
|
+
}[];
|
|
6579
|
+
meta: object;
|
|
6580
|
+
}>;
|
|
6581
|
+
}>>;
|
|
6649
6582
|
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6650
6583
|
ctx: import("@camstack/types").TrpcContext;
|
|
6651
6584
|
meta: object;
|
|
@@ -6669,6 +6602,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6669
6602
|
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6670
6603
|
input: {
|
|
6671
6604
|
nodeId?: string | undefined;
|
|
6605
|
+
addonId?: string | undefined;
|
|
6672
6606
|
} | undefined;
|
|
6673
6607
|
output: {
|
|
6674
6608
|
success: boolean;
|
|
@@ -7573,83 +7507,34 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7573
7507
|
meta: object;
|
|
7574
7508
|
}>;
|
|
7575
7509
|
}>>;
|
|
7576
|
-
|
|
7510
|
+
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7577
7511
|
ctx: import("@camstack/types").TrpcContext;
|
|
7578
7512
|
meta: object;
|
|
7579
7513
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
7580
7514
|
transformer: true;
|
|
7581
7515
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
7582
|
-
|
|
7516
|
+
get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7583
7517
|
input: {
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
connected: boolean;
|
|
7591
|
-
endpoint: {
|
|
7592
|
-
url: string;
|
|
7593
|
-
hostname: string;
|
|
7594
|
-
port: number;
|
|
7595
|
-
protocol: "https" | "http";
|
|
7596
|
-
} | null;
|
|
7597
|
-
error?: string | undefined;
|
|
7598
|
-
}[];
|
|
7518
|
+
[x: string]: unknown;
|
|
7519
|
+
collection: string;
|
|
7520
|
+
key: string;
|
|
7521
|
+
namespace?: string | undefined;
|
|
7522
|
+
};
|
|
7523
|
+
output: unknown;
|
|
7599
7524
|
meta: object;
|
|
7600
7525
|
}>;
|
|
7601
|
-
|
|
7526
|
+
set: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7602
7527
|
input: {
|
|
7603
7528
|
[x: string]: unknown;
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
hostname: string;
|
|
7609
|
-
port: number;
|
|
7610
|
-
protocol: "https" | "http";
|
|
7529
|
+
collection: string;
|
|
7530
|
+
key: string;
|
|
7531
|
+
value: unknown;
|
|
7532
|
+
namespace?: string | undefined;
|
|
7611
7533
|
};
|
|
7534
|
+
output: void;
|
|
7612
7535
|
meta: object;
|
|
7613
7536
|
}>;
|
|
7614
|
-
|
|
7615
|
-
input: {
|
|
7616
|
-
[x: string]: unknown;
|
|
7617
|
-
addonId: string;
|
|
7618
|
-
};
|
|
7619
|
-
output: {
|
|
7620
|
-
success: true;
|
|
7621
|
-
};
|
|
7622
|
-
meta: object;
|
|
7623
|
-
}>;
|
|
7624
|
-
}>>;
|
|
7625
|
-
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7626
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
7627
|
-
meta: object;
|
|
7628
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
7629
|
-
transformer: true;
|
|
7630
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
7631
|
-
get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7632
|
-
input: {
|
|
7633
|
-
[x: string]: unknown;
|
|
7634
|
-
collection: string;
|
|
7635
|
-
key: string;
|
|
7636
|
-
namespace?: string | undefined;
|
|
7637
|
-
};
|
|
7638
|
-
output: unknown;
|
|
7639
|
-
meta: object;
|
|
7640
|
-
}>;
|
|
7641
|
-
set: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7642
|
-
input: {
|
|
7643
|
-
[x: string]: unknown;
|
|
7644
|
-
collection: string;
|
|
7645
|
-
key: string;
|
|
7646
|
-
value: unknown;
|
|
7647
|
-
namespace?: string | undefined;
|
|
7648
|
-
};
|
|
7649
|
-
output: void;
|
|
7650
|
-
meta: object;
|
|
7651
|
-
}>;
|
|
7652
|
-
query: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7537
|
+
query: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7653
7538
|
input: {
|
|
7654
7539
|
[x: string]: unknown;
|
|
7655
7540
|
collection: string;
|
|
@@ -7785,6 +7670,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7785
7670
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7786
7671
|
input: {
|
|
7787
7672
|
nodeId?: string | undefined;
|
|
7673
|
+
addonId?: string | undefined;
|
|
7788
7674
|
} | undefined;
|
|
7789
7675
|
output: {
|
|
7790
7676
|
ready: boolean;
|
|
@@ -7797,6 +7683,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7797
7683
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7798
7684
|
input: {
|
|
7799
7685
|
nodeId?: string | undefined;
|
|
7686
|
+
addonId?: string | undefined;
|
|
7800
7687
|
} | undefined;
|
|
7801
7688
|
output: unknown;
|
|
7802
7689
|
meta: object;
|
|
@@ -8195,6 +8082,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8195
8082
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8196
8083
|
input: {
|
|
8197
8084
|
nodeId?: string | undefined;
|
|
8085
|
+
addonId?: string | undefined;
|
|
8198
8086
|
} | undefined;
|
|
8199
8087
|
output: {
|
|
8200
8088
|
providerId: string;
|
|
@@ -8855,29 +8743,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8855
8743
|
meta: object;
|
|
8856
8744
|
}>;
|
|
8857
8745
|
}>>;
|
|
8858
|
-
|
|
8746
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8859
8747
|
ctx: import("@camstack/types").TrpcContext;
|
|
8860
8748
|
meta: object;
|
|
8861
8749
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
8862
8750
|
transformer: true;
|
|
8863
8751
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
8864
|
-
|
|
8865
|
-
input: {
|
|
8866
|
-
nodeId?: string | undefined;
|
|
8867
|
-
} | undefined;
|
|
8868
|
-
output: readonly {
|
|
8869
|
-
addonId: string;
|
|
8870
|
-
displayName: string;
|
|
8871
|
-
enabled: boolean;
|
|
8872
|
-
serverCount: number;
|
|
8873
|
-
urls: readonly string[];
|
|
8874
|
-
error?: string | undefined;
|
|
8875
|
-
}[];
|
|
8876
|
-
meta: object;
|
|
8877
|
-
}>;
|
|
8878
|
-
getAllServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8752
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8879
8753
|
input: {
|
|
8880
8754
|
nodeId?: string | undefined;
|
|
8755
|
+
addonId?: string | undefined;
|
|
8881
8756
|
} | undefined;
|
|
8882
8757
|
output: readonly {
|
|
8883
8758
|
urls: string | string[];
|
|
@@ -8886,17 +8761,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8886
8761
|
}[];
|
|
8887
8762
|
meta: object;
|
|
8888
8763
|
}>;
|
|
8889
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8890
|
-
input: {
|
|
8891
|
-
[x: string]: unknown;
|
|
8892
|
-
addonId: string;
|
|
8893
|
-
enabled: boolean;
|
|
8894
|
-
};
|
|
8895
|
-
output: {
|
|
8896
|
-
success: true;
|
|
8897
|
-
};
|
|
8898
|
-
meta: object;
|
|
8899
|
-
}>;
|
|
8900
8764
|
}>>;
|
|
8901
8765
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8902
8766
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -11170,11 +11034,23 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11170
11034
|
};
|
|
11171
11035
|
output: readonly {
|
|
11172
11036
|
addonId: string;
|
|
11173
|
-
mode: "
|
|
11037
|
+
mode: "collection" | "singleton";
|
|
11174
11038
|
isActive: boolean;
|
|
11175
11039
|
}[];
|
|
11176
11040
|
meta: object;
|
|
11177
11041
|
}>;
|
|
11042
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11043
|
+
input: {
|
|
11044
|
+
[x: string]: unknown;
|
|
11045
|
+
capName: string;
|
|
11046
|
+
addonId: string;
|
|
11047
|
+
enabled: boolean;
|
|
11048
|
+
};
|
|
11049
|
+
output: {
|
|
11050
|
+
success: true;
|
|
11051
|
+
};
|
|
11052
|
+
meta: object;
|
|
11053
|
+
}>;
|
|
11178
11054
|
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11179
11055
|
input: {
|
|
11180
11056
|
[x: string]: unknown;
|
|
@@ -13143,7 +13019,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13143
13019
|
netmask: string;
|
|
13144
13020
|
internal: boolean;
|
|
13145
13021
|
mac: string;
|
|
13146
|
-
kind: "other" | "lan" | "
|
|
13022
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13147
13023
|
preferred: boolean;
|
|
13148
13024
|
plausible: boolean;
|
|
13149
13025
|
plausibleReason: string;
|
|
@@ -13164,7 +13040,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13164
13040
|
netmask: string;
|
|
13165
13041
|
internal: boolean;
|
|
13166
13042
|
mac: string;
|
|
13167
|
-
kind: "other" | "lan" | "
|
|
13043
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13168
13044
|
preferred: boolean;
|
|
13169
13045
|
plausible: boolean;
|
|
13170
13046
|
plausibleReason: string;
|
|
@@ -13184,7 +13060,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13184
13060
|
label: string;
|
|
13185
13061
|
baseUrl: string;
|
|
13186
13062
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
13187
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
13063
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13188
13064
|
plausible: boolean;
|
|
13189
13065
|
plausibleReason: string;
|
|
13190
13066
|
priority: number;
|
|
@@ -13221,24 +13097,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13221
13097
|
meta: object;
|
|
13222
13098
|
}>;
|
|
13223
13099
|
}>>;
|
|
13224
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13225
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13226
|
-
meta: object;
|
|
13227
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13228
|
-
transformer: true;
|
|
13229
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13230
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13231
|
-
input: {
|
|
13232
|
-
nodeId?: string | undefined;
|
|
13233
|
-
} | undefined;
|
|
13234
|
-
output: readonly {
|
|
13235
|
-
urls: string | string[];
|
|
13236
|
-
username?: string | undefined;
|
|
13237
|
-
credential?: string | undefined;
|
|
13238
|
-
}[];
|
|
13239
|
-
meta: object;
|
|
13240
|
-
}>;
|
|
13241
|
-
}>>;
|
|
13242
13100
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13243
13101
|
ctx: import("@camstack/types").TrpcContext;
|
|
13244
13102
|
meta: object;
|
|
@@ -13315,6 +13173,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13315
13173
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13316
13174
|
input: {
|
|
13317
13175
|
nodeId?: string | undefined;
|
|
13176
|
+
addonId?: string | undefined;
|
|
13318
13177
|
} | undefined;
|
|
13319
13178
|
output: readonly {
|
|
13320
13179
|
id: string;
|
|
@@ -13458,6 +13317,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13458
13317
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13459
13318
|
input: {
|
|
13460
13319
|
nodeId?: string | undefined;
|
|
13320
|
+
addonId?: string | undefined;
|
|
13461
13321
|
} | undefined;
|
|
13462
13322
|
output: readonly {
|
|
13463
13323
|
stableId: string;
|
|
@@ -13879,41 +13739,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13879
13739
|
meta: object;
|
|
13880
13740
|
}>;
|
|
13881
13741
|
}>>;
|
|
13882
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13883
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13884
|
-
meta: object;
|
|
13885
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13886
|
-
transformer: true;
|
|
13887
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13888
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13889
|
-
input: {
|
|
13890
|
-
nodeId?: string | undefined;
|
|
13891
|
-
} | undefined;
|
|
13892
|
-
output: readonly {
|
|
13893
|
-
addonId: string;
|
|
13894
|
-
displayName: string;
|
|
13895
|
-
hasRedirectFlow: boolean;
|
|
13896
|
-
hasCredentialFlow: boolean;
|
|
13897
|
-
enabled: boolean;
|
|
13898
|
-
instanceId?: string | undefined;
|
|
13899
|
-
icon?: string | undefined;
|
|
13900
|
-
kind?: string | undefined;
|
|
13901
|
-
status?: string | undefined;
|
|
13902
|
-
}[];
|
|
13903
|
-
meta: object;
|
|
13904
|
-
}>;
|
|
13905
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
13906
|
-
input: {
|
|
13907
|
-
[x: string]: unknown;
|
|
13908
|
-
addonId: string;
|
|
13909
|
-
enabled: boolean;
|
|
13910
|
-
};
|
|
13911
|
-
output: {
|
|
13912
|
-
success: true;
|
|
13913
|
-
};
|
|
13914
|
-
meta: object;
|
|
13915
|
-
}>;
|
|
13916
|
-
}>>;
|
|
13917
13742
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13918
13743
|
ctx: import("@camstack/types").TrpcContext;
|
|
13919
13744
|
meta: object;
|
|
@@ -14370,6 +14195,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14370
14195
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14371
14196
|
input: {
|
|
14372
14197
|
nodeId?: string | undefined;
|
|
14198
|
+
addonId?: string | undefined;
|
|
14373
14199
|
} | undefined;
|
|
14374
14200
|
output: unknown;
|
|
14375
14201
|
meta: object;
|
|
@@ -14442,6 +14268,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14442
14268
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14443
14269
|
input: {
|
|
14444
14270
|
nodeId?: string | undefined;
|
|
14271
|
+
addonId?: string | undefined;
|
|
14445
14272
|
} | undefined;
|
|
14446
14273
|
output: string[];
|
|
14447
14274
|
meta: object;
|
|
@@ -14449,6 +14276,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14449
14276
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14450
14277
|
input: {
|
|
14451
14278
|
nodeId?: string | undefined;
|
|
14279
|
+
addonId?: string | undefined;
|
|
14452
14280
|
} | undefined;
|
|
14453
14281
|
output: {
|
|
14454
14282
|
deviceId: string;
|
|
@@ -15204,6 +15032,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15204
15032
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15205
15033
|
input: {
|
|
15206
15034
|
nodeId?: string | undefined;
|
|
15035
|
+
addonId?: string | undefined;
|
|
15207
15036
|
} | undefined;
|
|
15208
15037
|
output: void;
|
|
15209
15038
|
meta: object;
|
|
@@ -15211,6 +15040,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15211
15040
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15212
15041
|
input: {
|
|
15213
15042
|
nodeId?: string | undefined;
|
|
15043
|
+
addonId?: string | undefined;
|
|
15214
15044
|
} | undefined;
|
|
15215
15045
|
output: void;
|
|
15216
15046
|
meta: object;
|
|
@@ -15218,6 +15048,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15218
15048
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15219
15049
|
input: {
|
|
15220
15050
|
nodeId?: string | undefined;
|
|
15051
|
+
addonId?: string | undefined;
|
|
15221
15052
|
} | undefined;
|
|
15222
15053
|
output: unknown;
|
|
15223
15054
|
meta: object;
|
|
@@ -15225,6 +15056,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15225
15056
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15226
15057
|
input: {
|
|
15227
15058
|
nodeId?: string | undefined;
|
|
15059
|
+
addonId?: string | undefined;
|
|
15228
15060
|
} | undefined;
|
|
15229
15061
|
output: {
|
|
15230
15062
|
id: string;
|
|
@@ -15429,6 +15261,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15429
15261
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15430
15262
|
input: {
|
|
15431
15263
|
nodeId?: string | undefined;
|
|
15264
|
+
addonId?: string | undefined;
|
|
15432
15265
|
} | undefined;
|
|
15433
15266
|
output: {
|
|
15434
15267
|
modelId: string;
|
|
@@ -15584,6 +15417,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15584
15417
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15585
15418
|
input: {
|
|
15586
15419
|
nodeId?: string | undefined;
|
|
15420
|
+
addonId?: string | undefined;
|
|
15587
15421
|
} | undefined;
|
|
15588
15422
|
output: unknown;
|
|
15589
15423
|
meta: object;
|
|
@@ -15612,6 +15446,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15612
15446
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15613
15447
|
input: {
|
|
15614
15448
|
nodeId?: string | undefined;
|
|
15449
|
+
addonId?: string | undefined;
|
|
15615
15450
|
} | undefined;
|
|
15616
15451
|
output: {
|
|
15617
15452
|
left: true;
|
|
@@ -15621,6 +15456,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15621
15456
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15622
15457
|
input: {
|
|
15623
15458
|
nodeId?: string | undefined;
|
|
15459
|
+
addonId?: string | undefined;
|
|
15624
15460
|
} | undefined;
|
|
15625
15461
|
output: {
|
|
15626
15462
|
loggedOut: true;
|
|
@@ -15630,6 +15466,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15630
15466
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15631
15467
|
input: {
|
|
15632
15468
|
nodeId?: string | undefined;
|
|
15469
|
+
addonId?: string | undefined;
|
|
15633
15470
|
} | undefined;
|
|
15634
15471
|
output: {
|
|
15635
15472
|
peers: readonly {
|
|
@@ -15640,7 +15477,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15640
15477
|
online: boolean;
|
|
15641
15478
|
lastSeenMs: number;
|
|
15642
15479
|
isSelf: boolean;
|
|
15643
|
-
connection: "idle" | "
|
|
15480
|
+
connection: "idle" | "direct" | "relay";
|
|
15644
15481
|
relay: string | null;
|
|
15645
15482
|
lastHandshakeMs: number;
|
|
15646
15483
|
rxBytes: number;
|
|
@@ -15669,114 +15506,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15669
15506
|
meta: object;
|
|
15670
15507
|
}>;
|
|
15671
15508
|
}>>;
|
|
15672
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15673
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
15674
|
-
meta: object;
|
|
15675
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
15676
|
-
transformer: true;
|
|
15677
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
15678
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15679
|
-
input: {
|
|
15680
|
-
nodeId?: string | undefined;
|
|
15681
|
-
} | undefined;
|
|
15682
|
-
output: readonly {
|
|
15683
|
-
addonId: string;
|
|
15684
|
-
displayName: string;
|
|
15685
|
-
joined: boolean;
|
|
15686
|
-
meshIp: string;
|
|
15687
|
-
magicDnsHostname: string;
|
|
15688
|
-
peerCount: number;
|
|
15689
|
-
endpoints: readonly {
|
|
15690
|
-
id: string;
|
|
15691
|
-
label: string;
|
|
15692
|
-
scope: "public" | "mesh";
|
|
15693
|
-
url: string;
|
|
15694
|
-
hostname: string;
|
|
15695
|
-
port: number;
|
|
15696
|
-
protocol: "https" | "http";
|
|
15697
|
-
}[];
|
|
15698
|
-
tenantName: string;
|
|
15699
|
-
magicDnsSuffix: string;
|
|
15700
|
-
userLogin: string | null;
|
|
15701
|
-
controlPlaneUrl: string;
|
|
15702
|
-
keyExpiry: number | null;
|
|
15703
|
-
error?: string | undefined;
|
|
15704
|
-
}[];
|
|
15705
|
-
meta: object;
|
|
15706
|
-
}>;
|
|
15707
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15708
|
-
input: {
|
|
15709
|
-
[x: string]: unknown;
|
|
15710
|
-
addonId: string;
|
|
15711
|
-
authKey: string;
|
|
15712
|
-
hostname?: string | undefined;
|
|
15713
|
-
};
|
|
15714
|
-
output: {
|
|
15715
|
-
joined: true;
|
|
15716
|
-
};
|
|
15717
|
-
meta: object;
|
|
15718
|
-
}>;
|
|
15719
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15720
|
-
input: {
|
|
15721
|
-
[x: string]: unknown;
|
|
15722
|
-
addonId: string;
|
|
15723
|
-
};
|
|
15724
|
-
output: {
|
|
15725
|
-
success: true;
|
|
15726
|
-
};
|
|
15727
|
-
meta: object;
|
|
15728
|
-
}>;
|
|
15729
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15730
|
-
input: {
|
|
15731
|
-
[x: string]: unknown;
|
|
15732
|
-
addonId: string;
|
|
15733
|
-
hostname?: string | undefined;
|
|
15734
|
-
};
|
|
15735
|
-
output: {
|
|
15736
|
-
loginUrl: string;
|
|
15737
|
-
};
|
|
15738
|
-
meta: object;
|
|
15739
|
-
}>;
|
|
15740
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15741
|
-
input: {
|
|
15742
|
-
[x: string]: unknown;
|
|
15743
|
-
addonId: string;
|
|
15744
|
-
};
|
|
15745
|
-
output: {
|
|
15746
|
-
loggedOut: true;
|
|
15747
|
-
};
|
|
15748
|
-
meta: object;
|
|
15749
|
-
}>;
|
|
15750
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15751
|
-
input: {
|
|
15752
|
-
[x: string]: unknown;
|
|
15753
|
-
addonId: string;
|
|
15754
|
-
};
|
|
15755
|
-
output: {
|
|
15756
|
-
peers: readonly {
|
|
15757
|
-
id: string;
|
|
15758
|
-
hostname: string;
|
|
15759
|
-
magicDns: string;
|
|
15760
|
-
addresses: readonly string[];
|
|
15761
|
-
online: boolean;
|
|
15762
|
-
lastSeenMs: number;
|
|
15763
|
-
isSelf: boolean;
|
|
15764
|
-
connection: "idle" | "relay" | "direct";
|
|
15765
|
-
relay: string | null;
|
|
15766
|
-
lastHandshakeMs: number;
|
|
15767
|
-
rxBytes: number;
|
|
15768
|
-
txBytes: number;
|
|
15769
|
-
tags: readonly string[];
|
|
15770
|
-
exitNodeOption: boolean;
|
|
15771
|
-
advertisedRoutes: readonly string[];
|
|
15772
|
-
userLogin: string | null;
|
|
15773
|
-
keyExpiry: number | null;
|
|
15774
|
-
os?: string | undefined;
|
|
15775
|
-
}[];
|
|
15776
|
-
};
|
|
15777
|
-
meta: object;
|
|
15778
|
-
}>;
|
|
15779
|
-
}>>;
|
|
15780
15509
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15781
15510
|
ctx: import("@camstack/types").TrpcContext;
|
|
15782
15511
|
meta: object;
|
|
@@ -16276,6 +16005,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16276
16005
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16277
16006
|
input: {
|
|
16278
16007
|
nodeId?: string | undefined;
|
|
16008
|
+
addonId?: string | undefined;
|
|
16279
16009
|
} | undefined;
|
|
16280
16010
|
output: unknown;
|
|
16281
16011
|
meta: object;
|
|
@@ -16283,6 +16013,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16283
16013
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16284
16014
|
input: {
|
|
16285
16015
|
nodeId?: string | undefined;
|
|
16016
|
+
addonId?: string | undefined;
|
|
16286
16017
|
} | undefined;
|
|
16287
16018
|
output: {
|
|
16288
16019
|
id: string;
|
|
@@ -16384,6 +16115,72 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16384
16115
|
meta: object;
|
|
16385
16116
|
}>;
|
|
16386
16117
|
}>>;
|
|
16118
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16119
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
16120
|
+
meta: object;
|
|
16121
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16122
|
+
transformer: true;
|
|
16123
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16124
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16125
|
+
input: {
|
|
16126
|
+
nodeId?: string | undefined;
|
|
16127
|
+
addonId?: string | undefined;
|
|
16128
|
+
} | undefined;
|
|
16129
|
+
output: {
|
|
16130
|
+
url: string;
|
|
16131
|
+
hostname: string;
|
|
16132
|
+
port: number;
|
|
16133
|
+
protocol: "https" | "http";
|
|
16134
|
+
};
|
|
16135
|
+
meta: object;
|
|
16136
|
+
}>;
|
|
16137
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16138
|
+
input: {
|
|
16139
|
+
nodeId?: string | undefined;
|
|
16140
|
+
addonId?: string | undefined;
|
|
16141
|
+
} | undefined;
|
|
16142
|
+
output: void;
|
|
16143
|
+
meta: object;
|
|
16144
|
+
}>;
|
|
16145
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16146
|
+
input: {
|
|
16147
|
+
nodeId?: string | undefined;
|
|
16148
|
+
addonId?: string | undefined;
|
|
16149
|
+
} | undefined;
|
|
16150
|
+
output: {
|
|
16151
|
+
url: string;
|
|
16152
|
+
hostname: string;
|
|
16153
|
+
port: number;
|
|
16154
|
+
protocol: "https" | "http";
|
|
16155
|
+
} | null;
|
|
16156
|
+
meta: object;
|
|
16157
|
+
}>;
|
|
16158
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16159
|
+
input: {
|
|
16160
|
+
nodeId?: string | undefined;
|
|
16161
|
+
addonId?: string | undefined;
|
|
16162
|
+
} | undefined;
|
|
16163
|
+
output: unknown;
|
|
16164
|
+
meta: object;
|
|
16165
|
+
}>;
|
|
16166
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16167
|
+
input: {
|
|
16168
|
+
nodeId?: string | undefined;
|
|
16169
|
+
addonId?: string | undefined;
|
|
16170
|
+
} | undefined;
|
|
16171
|
+
output: readonly {
|
|
16172
|
+
url: string;
|
|
16173
|
+
hostname: string;
|
|
16174
|
+
port: number;
|
|
16175
|
+
protocol: "https" | "http";
|
|
16176
|
+
id: string;
|
|
16177
|
+
label: string;
|
|
16178
|
+
mode?: string | undefined;
|
|
16179
|
+
sourcePort?: number | undefined;
|
|
16180
|
+
}[];
|
|
16181
|
+
meta: object;
|
|
16182
|
+
}>;
|
|
16183
|
+
}>>;
|
|
16387
16184
|
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16388
16185
|
ctx: import("@camstack/types").TrpcContext;
|
|
16389
16186
|
meta: object;
|
|
@@ -16407,6 +16204,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16407
16204
|
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16408
16205
|
input: {
|
|
16409
16206
|
nodeId?: string | undefined;
|
|
16207
|
+
addonId?: string | undefined;
|
|
16410
16208
|
} | undefined;
|
|
16411
16209
|
output: {
|
|
16412
16210
|
success: boolean;
|
|
@@ -17311,55 +17109,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17311
17109
|
meta: object;
|
|
17312
17110
|
}>;
|
|
17313
17111
|
}>>;
|
|
17314
|
-
remoteAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17315
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
17316
|
-
meta: object;
|
|
17317
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
17318
|
-
transformer: true;
|
|
17319
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
17320
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17321
|
-
input: {
|
|
17322
|
-
nodeId?: string | undefined;
|
|
17323
|
-
} | undefined;
|
|
17324
|
-
output: readonly {
|
|
17325
|
-
addonId: string;
|
|
17326
|
-
displayName: string;
|
|
17327
|
-
enabled: boolean;
|
|
17328
|
-
connected: boolean;
|
|
17329
|
-
endpoint: {
|
|
17330
|
-
url: string;
|
|
17331
|
-
hostname: string;
|
|
17332
|
-
port: number;
|
|
17333
|
-
protocol: "https" | "http";
|
|
17334
|
-
} | null;
|
|
17335
|
-
error?: string | undefined;
|
|
17336
|
-
}[];
|
|
17337
|
-
meta: object;
|
|
17338
|
-
}>;
|
|
17339
|
-
startProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17340
|
-
input: {
|
|
17341
|
-
[x: string]: unknown;
|
|
17342
|
-
addonId: string;
|
|
17343
|
-
};
|
|
17344
|
-
output: {
|
|
17345
|
-
url: string;
|
|
17346
|
-
hostname: string;
|
|
17347
|
-
port: number;
|
|
17348
|
-
protocol: "https" | "http";
|
|
17349
|
-
};
|
|
17350
|
-
meta: object;
|
|
17351
|
-
}>;
|
|
17352
|
-
stopProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17353
|
-
input: {
|
|
17354
|
-
[x: string]: unknown;
|
|
17355
|
-
addonId: string;
|
|
17356
|
-
};
|
|
17357
|
-
output: {
|
|
17358
|
-
success: true;
|
|
17359
|
-
};
|
|
17360
|
-
meta: object;
|
|
17361
|
-
}>;
|
|
17362
|
-
}>>;
|
|
17363
17112
|
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17364
17113
|
ctx: import("@camstack/types").TrpcContext;
|
|
17365
17114
|
meta: object;
|
|
@@ -17523,6 +17272,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17523
17272
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17524
17273
|
input: {
|
|
17525
17274
|
nodeId?: string | undefined;
|
|
17275
|
+
addonId?: string | undefined;
|
|
17526
17276
|
} | undefined;
|
|
17527
17277
|
output: {
|
|
17528
17278
|
ready: boolean;
|
|
@@ -17535,6 +17285,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17535
17285
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17536
17286
|
input: {
|
|
17537
17287
|
nodeId?: string | undefined;
|
|
17288
|
+
addonId?: string | undefined;
|
|
17538
17289
|
} | undefined;
|
|
17539
17290
|
output: unknown;
|
|
17540
17291
|
meta: object;
|
|
@@ -17933,6 +17684,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17933
17684
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17934
17685
|
input: {
|
|
17935
17686
|
nodeId?: string | undefined;
|
|
17687
|
+
addonId?: string | undefined;
|
|
17936
17688
|
} | undefined;
|
|
17937
17689
|
output: {
|
|
17938
17690
|
providerId: string;
|
|
@@ -18593,29 +18345,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18593
18345
|
meta: object;
|
|
18594
18346
|
}>;
|
|
18595
18347
|
}>>;
|
|
18596
|
-
|
|
18348
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18597
18349
|
ctx: import("@camstack/types").TrpcContext;
|
|
18598
18350
|
meta: object;
|
|
18599
18351
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
18600
18352
|
transformer: true;
|
|
18601
18353
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
18602
|
-
|
|
18603
|
-
input: {
|
|
18604
|
-
nodeId?: string | undefined;
|
|
18605
|
-
} | undefined;
|
|
18606
|
-
output: readonly {
|
|
18607
|
-
addonId: string;
|
|
18608
|
-
displayName: string;
|
|
18609
|
-
enabled: boolean;
|
|
18610
|
-
serverCount: number;
|
|
18611
|
-
urls: readonly string[];
|
|
18612
|
-
error?: string | undefined;
|
|
18613
|
-
}[];
|
|
18614
|
-
meta: object;
|
|
18615
|
-
}>;
|
|
18616
|
-
getAllServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18354
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18617
18355
|
input: {
|
|
18618
18356
|
nodeId?: string | undefined;
|
|
18357
|
+
addonId?: string | undefined;
|
|
18619
18358
|
} | undefined;
|
|
18620
18359
|
output: readonly {
|
|
18621
18360
|
urls: string | string[];
|
|
@@ -18624,17 +18363,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18624
18363
|
}[];
|
|
18625
18364
|
meta: object;
|
|
18626
18365
|
}>;
|
|
18627
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
18628
|
-
input: {
|
|
18629
|
-
[x: string]: unknown;
|
|
18630
|
-
addonId: string;
|
|
18631
|
-
enabled: boolean;
|
|
18632
|
-
};
|
|
18633
|
-
output: {
|
|
18634
|
-
success: true;
|
|
18635
|
-
};
|
|
18636
|
-
meta: object;
|
|
18637
|
-
}>;
|
|
18638
18366
|
}>>;
|
|
18639
18367
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18640
18368
|
ctx: import("@camstack/types").TrpcContext;
|