@camstack/types 0.1.25 → 0.1.27
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/capability-definition.d.ts +19 -2
- package/dist/capabilities/capability-definition.d.ts.map +1 -1
- package/dist/capabilities/user-management.cap.d.ts +155 -26
- package/dist/capabilities/user-management.cap.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +120 -34
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +20 -0
- package/dist/generated/method-access-map.d.ts.map +1 -0
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{auth-records-wKlyGWdW.mjs → index-DVKPWMwv.mjs} +249 -232
- package/dist/index-DVKPWMwv.mjs.map +1 -0
- package/dist/{auth-records-U1Xok3iP.js → index-s8uJNgNs.js} +119 -102
- package/dist/index-s8uJNgNs.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1017 -442
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +707 -132
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/config-ui.d.ts +1 -1
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/node.js +3 -3
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +1 -1
- package/dist/schemas/auth-records.d.ts +57 -13
- package/dist/schemas/auth-records.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/auth-records-U1Xok3iP.js.map +0 -1
- package/dist/auth-records-wKlyGWdW.mjs.map +0 -1
|
@@ -2802,7 +2802,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
2802
2802
|
output: readonly {
|
|
2803
2803
|
addonId: string;
|
|
2804
2804
|
displayName: string;
|
|
2805
|
-
kind: "other" | "tailscale" | "headscale" | "zerotier";
|
|
2806
2805
|
joined: boolean;
|
|
2807
2806
|
meshIp: string;
|
|
2808
2807
|
magicDnsHostname: string;
|
|
@@ -6435,7 +6434,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6435
6434
|
user: {
|
|
6436
6435
|
id: string;
|
|
6437
6436
|
username: string;
|
|
6438
|
-
role: "admin" | "viewer" | "
|
|
6437
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
6439
6438
|
};
|
|
6440
6439
|
};
|
|
6441
6440
|
meta: object;
|
|
@@ -6445,9 +6444,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6445
6444
|
output: {
|
|
6446
6445
|
id: string;
|
|
6447
6446
|
username: string;
|
|
6448
|
-
role: "admin" | "viewer" | "
|
|
6447
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
6449
6448
|
permissions: {
|
|
6450
|
-
role: "admin" | "viewer" | "
|
|
6449
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
6451
6450
|
allowedProviders: string[] | "*";
|
|
6452
6451
|
allowedDevices: Record<string, unknown>;
|
|
6453
6452
|
};
|
|
@@ -6487,9 +6486,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6487
6486
|
output: {
|
|
6488
6487
|
id: string;
|
|
6489
6488
|
username: string;
|
|
6490
|
-
role: "admin" | "viewer" | "
|
|
6489
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6491
6490
|
allowedProviders: string[] | "*";
|
|
6492
6491
|
allowedDevices: Record<string, string[] | "*">;
|
|
6492
|
+
scopes: {
|
|
6493
|
+
type: "addon" | "capability";
|
|
6494
|
+
target: string;
|
|
6495
|
+
access: ("view" | "create" | "delete")[];
|
|
6496
|
+
}[];
|
|
6493
6497
|
createdAt: number;
|
|
6494
6498
|
updatedAt: number;
|
|
6495
6499
|
}[];
|
|
@@ -6500,16 +6504,26 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6500
6504
|
[x: string]: unknown;
|
|
6501
6505
|
username: string;
|
|
6502
6506
|
password: string;
|
|
6503
|
-
role: "admin" | "viewer" | "
|
|
6507
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6504
6508
|
allowedProviders?: string[] | "*" | undefined;
|
|
6505
6509
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
6510
|
+
scopes?: {
|
|
6511
|
+
type: "addon" | "capability";
|
|
6512
|
+
target: string;
|
|
6513
|
+
access: ("view" | "create" | "delete")[];
|
|
6514
|
+
}[] | undefined;
|
|
6506
6515
|
};
|
|
6507
6516
|
output: {
|
|
6508
6517
|
id: string;
|
|
6509
6518
|
username: string;
|
|
6510
|
-
role: "admin" | "viewer" | "
|
|
6519
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6511
6520
|
allowedProviders: string[] | "*";
|
|
6512
6521
|
allowedDevices: Record<string, string[] | "*">;
|
|
6522
|
+
scopes: {
|
|
6523
|
+
type: "addon" | "capability";
|
|
6524
|
+
target: string;
|
|
6525
|
+
access: ("view" | "create" | "delete")[];
|
|
6526
|
+
}[];
|
|
6513
6527
|
createdAt: number;
|
|
6514
6528
|
updatedAt: number;
|
|
6515
6529
|
};
|
|
@@ -6519,9 +6533,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6519
6533
|
input: {
|
|
6520
6534
|
[x: string]: unknown;
|
|
6521
6535
|
id: string;
|
|
6522
|
-
role?: "admin" | "viewer" | "
|
|
6536
|
+
role?: "admin" | "viewer" | "agent" | "scoped" | undefined;
|
|
6523
6537
|
allowedProviders?: string[] | "*" | undefined;
|
|
6524
6538
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
6539
|
+
scopes?: {
|
|
6540
|
+
type: "addon" | "capability";
|
|
6541
|
+
target: string;
|
|
6542
|
+
access: ("view" | "create" | "delete")[];
|
|
6543
|
+
}[] | undefined;
|
|
6525
6544
|
};
|
|
6526
6545
|
output: {
|
|
6527
6546
|
success: true;
|
|
@@ -6549,6 +6568,21 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6549
6568
|
};
|
|
6550
6569
|
meta: object;
|
|
6551
6570
|
}>;
|
|
6571
|
+
setUserScopes: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6572
|
+
input: {
|
|
6573
|
+
[x: string]: unknown;
|
|
6574
|
+
userId: string;
|
|
6575
|
+
scopes: {
|
|
6576
|
+
type: "addon" | "capability";
|
|
6577
|
+
target: string;
|
|
6578
|
+
access: ("view" | "create" | "delete")[];
|
|
6579
|
+
}[];
|
|
6580
|
+
};
|
|
6581
|
+
output: {
|
|
6582
|
+
success: true;
|
|
6583
|
+
};
|
|
6584
|
+
meta: object;
|
|
6585
|
+
}>;
|
|
6552
6586
|
validateCredentials: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6553
6587
|
input: {
|
|
6554
6588
|
[x: string]: unknown;
|
|
@@ -6558,9 +6592,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6558
6592
|
output: {
|
|
6559
6593
|
id: string;
|
|
6560
6594
|
username: string;
|
|
6561
|
-
role: "admin" | "viewer" | "
|
|
6595
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6562
6596
|
allowedProviders: string[] | "*";
|
|
6563
6597
|
allowedDevices: Record<string, string[] | "*">;
|
|
6598
|
+
scopes: {
|
|
6599
|
+
type: "addon" | "capability";
|
|
6600
|
+
target: string;
|
|
6601
|
+
access: ("view" | "create" | "delete")[];
|
|
6602
|
+
}[];
|
|
6564
6603
|
createdAt: number;
|
|
6565
6604
|
updatedAt: number;
|
|
6566
6605
|
passwordHash: string;
|
|
@@ -6574,7 +6613,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6574
6613
|
output: {
|
|
6575
6614
|
id: string;
|
|
6576
6615
|
label: string;
|
|
6577
|
-
role: "admin" | "viewer" | "
|
|
6616
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6578
6617
|
tokenPrefix: string;
|
|
6579
6618
|
createdAt: number;
|
|
6580
6619
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -6587,7 +6626,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6587
6626
|
input: {
|
|
6588
6627
|
[x: string]: unknown;
|
|
6589
6628
|
label: string;
|
|
6590
|
-
role: "admin" | "viewer" | "
|
|
6629
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6591
6630
|
allowedProviders?: string[] | "*" | undefined;
|
|
6592
6631
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
6593
6632
|
};
|
|
@@ -6596,7 +6635,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6596
6635
|
record: {
|
|
6597
6636
|
id: string;
|
|
6598
6637
|
label: string;
|
|
6599
|
-
role: "admin" | "viewer" | "
|
|
6638
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6600
6639
|
tokenPrefix: string;
|
|
6601
6640
|
createdAt: number;
|
|
6602
6641
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -6624,7 +6663,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6624
6663
|
output: {
|
|
6625
6664
|
id: string;
|
|
6626
6665
|
label: string;
|
|
6627
|
-
role: "admin" | "viewer" | "
|
|
6666
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
6628
6667
|
tokenPrefix: string;
|
|
6629
6668
|
createdAt: number;
|
|
6630
6669
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -6639,8 +6678,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6639
6678
|
userId: string;
|
|
6640
6679
|
name: string;
|
|
6641
6680
|
scopes: {
|
|
6642
|
-
type: "addon" | "capability"
|
|
6681
|
+
type: "addon" | "capability";
|
|
6643
6682
|
target: string;
|
|
6683
|
+
access: ("view" | "create" | "delete")[];
|
|
6644
6684
|
}[];
|
|
6645
6685
|
expiresAt?: number | undefined;
|
|
6646
6686
|
};
|
|
@@ -6652,8 +6692,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6652
6692
|
name: string;
|
|
6653
6693
|
tokenPrefix: string;
|
|
6654
6694
|
scopes: {
|
|
6655
|
-
type: "addon" | "capability"
|
|
6695
|
+
type: "addon" | "capability";
|
|
6656
6696
|
target: string;
|
|
6697
|
+
access: ("view" | "create" | "delete")[];
|
|
6657
6698
|
}[];
|
|
6658
6699
|
createdAt: number;
|
|
6659
6700
|
expiresAt?: number | null | undefined;
|
|
@@ -6683,8 +6724,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6683
6724
|
name: string;
|
|
6684
6725
|
tokenPrefix: string;
|
|
6685
6726
|
scopes: {
|
|
6686
|
-
type: "addon" | "capability"
|
|
6727
|
+
type: "addon" | "capability";
|
|
6687
6728
|
target: string;
|
|
6729
|
+
access: ("view" | "create" | "delete")[];
|
|
6688
6730
|
}[];
|
|
6689
6731
|
createdAt: number;
|
|
6690
6732
|
expiresAt?: number | null | undefined;
|
|
@@ -6703,8 +6745,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6703
6745
|
name: string;
|
|
6704
6746
|
tokenPrefix: string;
|
|
6705
6747
|
scopes: {
|
|
6706
|
-
type: "addon" | "capability"
|
|
6748
|
+
type: "addon" | "capability";
|
|
6707
6749
|
target: string;
|
|
6750
|
+
access: ("view" | "create" | "delete")[];
|
|
6708
6751
|
}[];
|
|
6709
6752
|
createdAt: number;
|
|
6710
6753
|
expiresAt?: number | null | undefined;
|
|
@@ -10974,7 +11017,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10974
11017
|
output: readonly {
|
|
10975
11018
|
addonId: string;
|
|
10976
11019
|
displayName: string;
|
|
10977
|
-
kind: "other" | "tailscale" | "headscale" | "zerotier";
|
|
10978
11020
|
joined: boolean;
|
|
10979
11021
|
meshIp: string;
|
|
10980
11022
|
magicDnsHostname: string;
|
|
@@ -14607,7 +14649,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14607
14649
|
user: {
|
|
14608
14650
|
id: string;
|
|
14609
14651
|
username: string;
|
|
14610
|
-
role: "admin" | "viewer" | "
|
|
14652
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
14611
14653
|
};
|
|
14612
14654
|
};
|
|
14613
14655
|
meta: object;
|
|
@@ -14617,9 +14659,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14617
14659
|
output: {
|
|
14618
14660
|
id: string;
|
|
14619
14661
|
username: string;
|
|
14620
|
-
role: "admin" | "viewer" | "
|
|
14662
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
14621
14663
|
permissions: {
|
|
14622
|
-
role: "admin" | "viewer" | "
|
|
14664
|
+
role: "admin" | "viewer" | "agent" | "scoped" | "super_admin";
|
|
14623
14665
|
allowedProviders: string[] | "*";
|
|
14624
14666
|
allowedDevices: Record<string, unknown>;
|
|
14625
14667
|
};
|
|
@@ -14659,9 +14701,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14659
14701
|
output: {
|
|
14660
14702
|
id: string;
|
|
14661
14703
|
username: string;
|
|
14662
|
-
role: "admin" | "viewer" | "
|
|
14704
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14663
14705
|
allowedProviders: string[] | "*";
|
|
14664
14706
|
allowedDevices: Record<string, string[] | "*">;
|
|
14707
|
+
scopes: {
|
|
14708
|
+
type: "addon" | "capability";
|
|
14709
|
+
target: string;
|
|
14710
|
+
access: ("view" | "create" | "delete")[];
|
|
14711
|
+
}[];
|
|
14665
14712
|
createdAt: number;
|
|
14666
14713
|
updatedAt: number;
|
|
14667
14714
|
}[];
|
|
@@ -14672,16 +14719,26 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14672
14719
|
[x: string]: unknown;
|
|
14673
14720
|
username: string;
|
|
14674
14721
|
password: string;
|
|
14675
|
-
role: "admin" | "viewer" | "
|
|
14722
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14676
14723
|
allowedProviders?: string[] | "*" | undefined;
|
|
14677
14724
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
14725
|
+
scopes?: {
|
|
14726
|
+
type: "addon" | "capability";
|
|
14727
|
+
target: string;
|
|
14728
|
+
access: ("view" | "create" | "delete")[];
|
|
14729
|
+
}[] | undefined;
|
|
14678
14730
|
};
|
|
14679
14731
|
output: {
|
|
14680
14732
|
id: string;
|
|
14681
14733
|
username: string;
|
|
14682
|
-
role: "admin" | "viewer" | "
|
|
14734
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14683
14735
|
allowedProviders: string[] | "*";
|
|
14684
14736
|
allowedDevices: Record<string, string[] | "*">;
|
|
14737
|
+
scopes: {
|
|
14738
|
+
type: "addon" | "capability";
|
|
14739
|
+
target: string;
|
|
14740
|
+
access: ("view" | "create" | "delete")[];
|
|
14741
|
+
}[];
|
|
14685
14742
|
createdAt: number;
|
|
14686
14743
|
updatedAt: number;
|
|
14687
14744
|
};
|
|
@@ -14691,9 +14748,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14691
14748
|
input: {
|
|
14692
14749
|
[x: string]: unknown;
|
|
14693
14750
|
id: string;
|
|
14694
|
-
role?: "admin" | "viewer" | "
|
|
14751
|
+
role?: "admin" | "viewer" | "agent" | "scoped" | undefined;
|
|
14695
14752
|
allowedProviders?: string[] | "*" | undefined;
|
|
14696
14753
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
14754
|
+
scopes?: {
|
|
14755
|
+
type: "addon" | "capability";
|
|
14756
|
+
target: string;
|
|
14757
|
+
access: ("view" | "create" | "delete")[];
|
|
14758
|
+
}[] | undefined;
|
|
14697
14759
|
};
|
|
14698
14760
|
output: {
|
|
14699
14761
|
success: true;
|
|
@@ -14721,6 +14783,21 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14721
14783
|
};
|
|
14722
14784
|
meta: object;
|
|
14723
14785
|
}>;
|
|
14786
|
+
setUserScopes: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
14787
|
+
input: {
|
|
14788
|
+
[x: string]: unknown;
|
|
14789
|
+
userId: string;
|
|
14790
|
+
scopes: {
|
|
14791
|
+
type: "addon" | "capability";
|
|
14792
|
+
target: string;
|
|
14793
|
+
access: ("view" | "create" | "delete")[];
|
|
14794
|
+
}[];
|
|
14795
|
+
};
|
|
14796
|
+
output: {
|
|
14797
|
+
success: true;
|
|
14798
|
+
};
|
|
14799
|
+
meta: object;
|
|
14800
|
+
}>;
|
|
14724
14801
|
validateCredentials: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
14725
14802
|
input: {
|
|
14726
14803
|
[x: string]: unknown;
|
|
@@ -14730,9 +14807,14 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14730
14807
|
output: {
|
|
14731
14808
|
id: string;
|
|
14732
14809
|
username: string;
|
|
14733
|
-
role: "admin" | "viewer" | "
|
|
14810
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14734
14811
|
allowedProviders: string[] | "*";
|
|
14735
14812
|
allowedDevices: Record<string, string[] | "*">;
|
|
14813
|
+
scopes: {
|
|
14814
|
+
type: "addon" | "capability";
|
|
14815
|
+
target: string;
|
|
14816
|
+
access: ("view" | "create" | "delete")[];
|
|
14817
|
+
}[];
|
|
14736
14818
|
createdAt: number;
|
|
14737
14819
|
updatedAt: number;
|
|
14738
14820
|
passwordHash: string;
|
|
@@ -14746,7 +14828,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14746
14828
|
output: {
|
|
14747
14829
|
id: string;
|
|
14748
14830
|
label: string;
|
|
14749
|
-
role: "admin" | "viewer" | "
|
|
14831
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14750
14832
|
tokenPrefix: string;
|
|
14751
14833
|
createdAt: number;
|
|
14752
14834
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -14759,7 +14841,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14759
14841
|
input: {
|
|
14760
14842
|
[x: string]: unknown;
|
|
14761
14843
|
label: string;
|
|
14762
|
-
role: "admin" | "viewer" | "
|
|
14844
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14763
14845
|
allowedProviders?: string[] | "*" | undefined;
|
|
14764
14846
|
allowedDevices?: Record<string, string[] | "*"> | undefined;
|
|
14765
14847
|
};
|
|
@@ -14768,7 +14850,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14768
14850
|
record: {
|
|
14769
14851
|
id: string;
|
|
14770
14852
|
label: string;
|
|
14771
|
-
role: "admin" | "viewer" | "
|
|
14853
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14772
14854
|
tokenPrefix: string;
|
|
14773
14855
|
createdAt: number;
|
|
14774
14856
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -14796,7 +14878,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14796
14878
|
output: {
|
|
14797
14879
|
id: string;
|
|
14798
14880
|
label: string;
|
|
14799
|
-
role: "admin" | "viewer" | "
|
|
14881
|
+
role: "admin" | "viewer" | "agent" | "scoped";
|
|
14800
14882
|
tokenPrefix: string;
|
|
14801
14883
|
createdAt: number;
|
|
14802
14884
|
allowedProviders?: string[] | "*" | undefined;
|
|
@@ -14811,8 +14893,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14811
14893
|
userId: string;
|
|
14812
14894
|
name: string;
|
|
14813
14895
|
scopes: {
|
|
14814
|
-
type: "addon" | "capability"
|
|
14896
|
+
type: "addon" | "capability";
|
|
14815
14897
|
target: string;
|
|
14898
|
+
access: ("view" | "create" | "delete")[];
|
|
14816
14899
|
}[];
|
|
14817
14900
|
expiresAt?: number | undefined;
|
|
14818
14901
|
};
|
|
@@ -14824,8 +14907,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14824
14907
|
name: string;
|
|
14825
14908
|
tokenPrefix: string;
|
|
14826
14909
|
scopes: {
|
|
14827
|
-
type: "addon" | "capability"
|
|
14910
|
+
type: "addon" | "capability";
|
|
14828
14911
|
target: string;
|
|
14912
|
+
access: ("view" | "create" | "delete")[];
|
|
14829
14913
|
}[];
|
|
14830
14914
|
createdAt: number;
|
|
14831
14915
|
expiresAt?: number | null | undefined;
|
|
@@ -14855,8 +14939,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14855
14939
|
name: string;
|
|
14856
14940
|
tokenPrefix: string;
|
|
14857
14941
|
scopes: {
|
|
14858
|
-
type: "addon" | "capability"
|
|
14942
|
+
type: "addon" | "capability";
|
|
14859
14943
|
target: string;
|
|
14944
|
+
access: ("view" | "create" | "delete")[];
|
|
14860
14945
|
}[];
|
|
14861
14946
|
createdAt: number;
|
|
14862
14947
|
expiresAt?: number | null | undefined;
|
|
@@ -14875,8 +14960,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14875
14960
|
name: string;
|
|
14876
14961
|
tokenPrefix: string;
|
|
14877
14962
|
scopes: {
|
|
14878
|
-
type: "addon" | "capability"
|
|
14963
|
+
type: "addon" | "capability";
|
|
14879
14964
|
target: string;
|
|
14965
|
+
access: ("view" | "create" | "delete")[];
|
|
14880
14966
|
}[];
|
|
14881
14967
|
createdAt: number;
|
|
14882
14968
|
expiresAt?: number | null | undefined;
|