@ydtb/tk-scope-app 0.14.27 → 0.19.2

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.
@@ -11,7 +11,7 @@ export declare class ErrorBoundary extends Component<Props, State> {
11
11
  constructor(props: Props);
12
12
  static getDerivedStateFromError(error: Error): State;
13
13
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
- render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
14
+ render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
15
15
  }
16
16
  export {};
17
17
  //# sourceMappingURL=ErrorBoundary.d.ts.map
@@ -32,9 +32,9 @@ export declare function createScope(params: {
32
32
  updatedAt: Date;
33
33
  };
34
34
  member: {
35
- scopeId: string;
36
35
  id: string;
37
36
  createdAt: Date;
37
+ scopeId: string;
38
38
  userId: string;
39
39
  role: string;
40
40
  };
@@ -57,9 +57,9 @@ export declare function acceptInvitation(invitationId: string): Promise<{
57
57
  updatedAt: Date;
58
58
  } | undefined;
59
59
  member: {
60
- scopeId: string;
61
60
  id: string;
62
61
  createdAt: Date;
62
+ scopeId: string;
63
63
  userId: string;
64
64
  role: string;
65
65
  };
@@ -51,9 +51,9 @@ export declare const scopeApi: import("@ydtb/tk-scope-api-client").ToolClient<{
51
51
  updatedAt: Date;
52
52
  };
53
53
  member: {
54
- scopeId: string;
55
54
  id: string;
56
55
  createdAt: Date;
56
+ scopeId: string;
57
57
  userId: string;
58
58
  role: string;
59
59
  };
@@ -71,9 +71,9 @@ export declare const scopeApi: import("@ydtb/tk-scope-api-client").ToolClient<{
71
71
  updatedAt: Date;
72
72
  };
73
73
  member: {
74
- scopeId: string;
75
74
  id: string;
76
75
  createdAt: Date;
76
+ scopeId: string;
77
77
  userId: string;
78
78
  role: string;
79
79
  };
@@ -888,8 +888,8 @@ export declare const membersApi: import("@ydtb/tk-scope-api-client").ToolClient<
888
888
  }>, import("zod").ZodObject<{
889
889
  memberId: import("zod").ZodString;
890
890
  tier: import("zod").ZodEnum<{
891
- owner: "owner";
892
891
  member: "member";
892
+ owner: "owner";
893
893
  }>;
894
894
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
895
895
  success: boolean;
@@ -1520,13 +1520,14 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1520
1520
  displayOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
1521
1521
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
1522
1522
  role: {
1523
- scopeId: string;
1524
1523
  id: string;
1525
1524
  name: string;
1526
1525
  scope: string;
1527
1526
  slug: string;
1528
1527
  createdAt: Date;
1529
1528
  updatedAt: Date;
1529
+ scopeId: string;
1530
+ createdById: string | null;
1530
1531
  description: string | null;
1531
1532
  permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
1532
1533
  isSystem: boolean;
@@ -1537,17 +1538,17 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1537
1538
  color: string | null;
1538
1539
  displayOrder: number;
1539
1540
  deletedAt: Date | null;
1540
- createdById: string | null;
1541
1541
  };
1542
1542
  }, {
1543
1543
  role: {
1544
- scopeId: string;
1545
1544
  id: string;
1546
1545
  name: string;
1547
1546
  scope: string;
1548
1547
  slug: string;
1549
1548
  createdAt: Date;
1550
1549
  updatedAt: Date;
1550
+ scopeId: string;
1551
+ createdById: string | null;
1551
1552
  description: string | null;
1552
1553
  permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
1553
1554
  isSystem: boolean;
@@ -1558,7 +1559,6 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1558
1559
  color: string | null;
1559
1560
  displayOrder: number;
1560
1561
  deletedAt: Date | null;
1561
- createdById: string | null;
1562
1562
  };
1563
1563
  }>, Record<never, never>, Record<never, never>>;
1564
1564
  update: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
@@ -1785,13 +1785,14 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1785
1785
  name: import("zod").ZodOptional<import("zod").ZodString>;
1786
1786
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
1787
1787
  role: {
1788
- scopeId: string;
1789
1788
  id: string;
1790
1789
  name: string;
1791
1790
  scope: string;
1792
1791
  slug: string;
1793
1792
  createdAt: Date;
1794
1793
  updatedAt: Date;
1794
+ scopeId: string;
1795
+ createdById: string | null;
1795
1796
  description: string | null;
1796
1797
  permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
1797
1798
  isSystem: boolean;
@@ -1802,17 +1803,17 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1802
1803
  color: string | null;
1803
1804
  displayOrder: number;
1804
1805
  deletedAt: Date | null;
1805
- createdById: string | null;
1806
1806
  };
1807
1807
  }, {
1808
1808
  role: {
1809
- scopeId: string;
1810
1809
  id: string;
1811
1810
  name: string;
1812
1811
  scope: string;
1813
1812
  slug: string;
1814
1813
  createdAt: Date;
1815
1814
  updatedAt: Date;
1815
+ scopeId: string;
1816
+ createdById: string | null;
1816
1817
  description: string | null;
1817
1818
  permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
1818
1819
  isSystem: boolean;
@@ -1823,7 +1824,6 @@ export declare const rolesApi: import("@ydtb/tk-scope-api-client").ToolClient<{
1823
1824
  color: string | null;
1824
1825
  displayOrder: number;
1825
1826
  deletedAt: Date | null;
1826
- createdById: string | null;
1827
1827
  };
1828
1828
  }>, Record<never, never>, Record<never, never>>;
1829
1829
  addMember: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
@@ -2006,26 +2006,26 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
2006
2006
  roleId: import("zod").ZodOptional<import("zod").ZodString>;
2007
2007
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
2008
2008
  invitation: {
2009
- scopeId: string;
2010
2009
  id: string;
2011
2010
  createdAt: Date;
2011
+ scopeId: string;
2012
2012
  email: string;
2013
2013
  role: string;
2014
2014
  status: string;
2015
- roleId: string | null;
2016
2015
  inviterId: string | null;
2016
+ roleId: string | null;
2017
2017
  expiresAt: Date | null;
2018
2018
  };
2019
2019
  }, {
2020
2020
  invitation: {
2021
- scopeId: string;
2022
2021
  id: string;
2023
2022
  createdAt: Date;
2023
+ scopeId: string;
2024
2024
  email: string;
2025
2025
  role: string;
2026
2026
  status: string;
2027
- roleId: string | null;
2028
2027
  inviterId: string | null;
2028
+ roleId: string | null;
2029
2029
  expiresAt: Date | null;
2030
2030
  };
2031
2031
  }>, Record<never, never>, Record<never, never>>;
@@ -2225,9 +2225,9 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
2225
2225
  updatedAt: Date;
2226
2226
  } | undefined;
2227
2227
  member: {
2228
- scopeId: string;
2229
2228
  id: string;
2230
2229
  createdAt: Date;
2230
+ scopeId: string;
2231
2231
  userId: string;
2232
2232
  role: string;
2233
2233
  };
@@ -2252,9 +2252,9 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
2252
2252
  updatedAt: Date;
2253
2253
  } | undefined;
2254
2254
  member: {
2255
- scopeId: string;
2256
2255
  id: string;
2257
2256
  createdAt: Date;
2257
+ scopeId: string;
2258
2258
  userId: string;
2259
2259
  role: string;
2260
2260
  };
@@ -2457,27 +2457,27 @@ export declare const joinCodesApi: import("@ydtb/tk-scope-api-client").ToolClien
2457
2457
  expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
2458
2458
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
2459
2459
  joinCode: {
2460
- scopeId: string;
2461
2460
  id: string;
2462
2461
  createdAt: Date;
2462
+ scopeId: string;
2463
2463
  status: string;
2464
- createdById: string | null;
2465
2464
  expiresAt: Date | null;
2466
- label: string | null;
2467
2465
  code: string;
2466
+ label: string | null;
2467
+ createdById: string | null;
2468
2468
  usedBy: string | null;
2469
2469
  usedAt: Date | null;
2470
2470
  } | undefined;
2471
2471
  }, {
2472
2472
  joinCode: {
2473
- scopeId: string;
2474
2473
  id: string;
2475
2474
  createdAt: Date;
2475
+ scopeId: string;
2476
2476
  status: string;
2477
- createdById: string | null;
2478
2477
  expiresAt: Date | null;
2479
- label: string | null;
2480
2478
  code: string;
2479
+ label: string | null;
2480
+ createdById: string | null;
2481
2481
  usedBy: string | null;
2482
2482
  usedAt: Date | null;
2483
2483
  } | undefined;
@@ -3121,25 +3121,25 @@ export declare const scopeChildrenApi: import("@ydtb/tk-scope-api-client").ToolC
3121
3121
  slug: import("zod").ZodOptional<import("zod").ZodString>;
3122
3122
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
3123
3123
  id: string;
3124
- createdAt: Date;
3125
- name: string;
3126
3124
  scope: string;
3127
3125
  parentScope: string | null;
3128
3126
  parentScopeId: string | null;
3127
+ name: string;
3129
3128
  slug: string;
3130
3129
  logo: string | null;
3131
3130
  metadata: unknown;
3131
+ createdAt: Date;
3132
3132
  updatedAt: Date;
3133
3133
  }, {
3134
3134
  id: string;
3135
- createdAt: Date;
3136
- name: string;
3137
3135
  scope: string;
3138
3136
  parentScope: string | null;
3139
3137
  parentScopeId: string | null;
3138
+ name: string;
3140
3139
  slug: string;
3141
3140
  logo: string | null;
3142
3141
  metadata: unknown;
3142
+ createdAt: Date;
3143
3143
  updatedAt: Date;
3144
3144
  }>, Record<never, never>, Record<never, never>>;
3145
3145
  getById: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
@@ -3426,22 +3426,22 @@ export declare const preferencesApi: import("@ydtb/tk-scope-api-client").ToolCli
3426
3426
  value: import("zod").ZodString;
3427
3427
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
3428
3428
  id: string;
3429
- scopeId: string;
3430
- createdAt: Date;
3431
3429
  scope: string;
3430
+ createdAt: Date;
3432
3431
  updatedAt: Date;
3432
+ scopeId: string;
3433
+ key: string;
3433
3434
  userId: string;
3434
3435
  value: string;
3435
- key: string;
3436
3436
  } | undefined, {
3437
3437
  id: string;
3438
- scopeId: string;
3439
- createdAt: Date;
3440
3438
  scope: string;
3439
+ createdAt: Date;
3441
3440
  updatedAt: Date;
3441
+ scopeId: string;
3442
+ key: string;
3442
3443
  userId: string;
3443
3444
  value: string;
3444
- key: string;
3445
3445
  } | undefined>, Record<never, never>, Record<never, never>>;
3446
3446
  list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<{
3447
3447
  headers: Headers;