@ydtb/tk-scope-app 0.14.21 → 0.14.22
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/src/hooks/useCreateScope.d.ts +2 -2
- package/dist/src/hooks/useInvitations.d.ts +2 -2
- package/dist/src/lib/platform-api.d.ts +71 -55
- package/dist/src/lib/platform-api.d.ts.map +1 -1
- package/dist/src/pages/AcceptInvitePage.d.ts.map +1 -1
- package/dist/src/pages/AcceptInvitePage.js +13 -2
- package/dist/src/pages/AcceptInvitePage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
|
@@ -20,21 +20,21 @@ export declare function createScope(params: {
|
|
|
20
20
|
parentScopeId?: string;
|
|
21
21
|
}): Promise<{
|
|
22
22
|
scope: {
|
|
23
|
-
slug: string;
|
|
24
23
|
id: string;
|
|
25
24
|
name: string;
|
|
26
25
|
scope: string;
|
|
27
26
|
parentScope: string | null;
|
|
28
27
|
parentScopeId: string | null;
|
|
28
|
+
slug: string;
|
|
29
29
|
logo: string | null;
|
|
30
30
|
metadata: unknown;
|
|
31
31
|
createdAt: Date;
|
|
32
32
|
updatedAt: Date;
|
|
33
33
|
};
|
|
34
34
|
member: {
|
|
35
|
+
scopeId: string;
|
|
35
36
|
id: string;
|
|
36
37
|
createdAt: Date;
|
|
37
|
-
scopeId: string;
|
|
38
38
|
userId: string;
|
|
39
39
|
role: string;
|
|
40
40
|
};
|
|
@@ -57,11 +57,11 @@ export declare function acceptInvitation(invitationId: string): Promise<{
|
|
|
57
57
|
updatedAt: Date;
|
|
58
58
|
} | undefined;
|
|
59
59
|
member: {
|
|
60
|
+
scopeId: string;
|
|
60
61
|
id: string;
|
|
61
62
|
createdAt: Date;
|
|
62
|
-
scopeId: string;
|
|
63
|
-
userId: string;
|
|
64
63
|
role: string;
|
|
64
|
+
userId: string;
|
|
65
65
|
};
|
|
66
66
|
alreadyMember: boolean;
|
|
67
67
|
}>;
|
|
@@ -39,41 +39,41 @@ export declare const scopeApi: import("@ydtb/tk-scope-api-client").ToolClient<{
|
|
|
39
39
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
40
40
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
|
|
41
41
|
scope: {
|
|
42
|
-
slug: string;
|
|
43
42
|
id: string;
|
|
44
43
|
name: string;
|
|
45
44
|
scope: string;
|
|
46
45
|
parentScope: string | null;
|
|
47
46
|
parentScopeId: string | null;
|
|
47
|
+
slug: string;
|
|
48
48
|
logo: string | null;
|
|
49
49
|
metadata: unknown;
|
|
50
50
|
createdAt: Date;
|
|
51
51
|
updatedAt: Date;
|
|
52
52
|
};
|
|
53
53
|
member: {
|
|
54
|
+
scopeId: string;
|
|
54
55
|
id: string;
|
|
55
56
|
createdAt: Date;
|
|
56
|
-
scopeId: string;
|
|
57
57
|
userId: string;
|
|
58
58
|
role: string;
|
|
59
59
|
};
|
|
60
60
|
}, {
|
|
61
61
|
scope: {
|
|
62
|
-
slug: string;
|
|
63
62
|
id: string;
|
|
64
63
|
name: string;
|
|
65
64
|
scope: string;
|
|
66
65
|
parentScope: string | null;
|
|
67
66
|
parentScopeId: string | null;
|
|
67
|
+
slug: string;
|
|
68
68
|
logo: string | null;
|
|
69
69
|
metadata: unknown;
|
|
70
70
|
createdAt: Date;
|
|
71
71
|
updatedAt: Date;
|
|
72
72
|
};
|
|
73
73
|
member: {
|
|
74
|
+
scopeId: string;
|
|
74
75
|
id: string;
|
|
75
76
|
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,42 +1520,42 @@ 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
|
-
|
|
1524
|
-
slug: string;
|
|
1523
|
+
scopeId: string;
|
|
1525
1524
|
id: string;
|
|
1526
1525
|
name: string;
|
|
1527
1526
|
scope: string;
|
|
1527
|
+
slug: string;
|
|
1528
1528
|
createdAt: Date;
|
|
1529
1529
|
updatedAt: Date;
|
|
1530
1530
|
description: string | null;
|
|
1531
|
-
|
|
1531
|
+
color: string | null;
|
|
1532
|
+
permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
|
|
1532
1533
|
isSystem: boolean;
|
|
1533
1534
|
isDefault: boolean;
|
|
1534
1535
|
isGuest: boolean;
|
|
1535
1536
|
editable: boolean;
|
|
1536
1537
|
allChildScopes: boolean;
|
|
1537
|
-
color: string | null;
|
|
1538
1538
|
displayOrder: number;
|
|
1539
1539
|
deletedAt: Date | null;
|
|
1540
1540
|
createdById: string | null;
|
|
1541
1541
|
};
|
|
1542
1542
|
}, {
|
|
1543
1543
|
role: {
|
|
1544
|
-
|
|
1545
|
-
slug: string;
|
|
1544
|
+
scopeId: string;
|
|
1546
1545
|
id: string;
|
|
1547
1546
|
name: string;
|
|
1548
1547
|
scope: string;
|
|
1548
|
+
slug: string;
|
|
1549
1549
|
createdAt: Date;
|
|
1550
1550
|
updatedAt: Date;
|
|
1551
1551
|
description: string | null;
|
|
1552
|
-
|
|
1552
|
+
color: string | null;
|
|
1553
|
+
permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
|
|
1553
1554
|
isSystem: boolean;
|
|
1554
1555
|
isDefault: boolean;
|
|
1555
1556
|
isGuest: boolean;
|
|
1556
1557
|
editable: boolean;
|
|
1557
1558
|
allChildScopes: boolean;
|
|
1558
|
-
color: string | null;
|
|
1559
1559
|
displayOrder: number;
|
|
1560
1560
|
deletedAt: Date | null;
|
|
1561
1561
|
createdById: string | null;
|
|
@@ -1785,42 +1785,42 @@ 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
|
-
|
|
1789
|
-
slug: string;
|
|
1788
|
+
scopeId: string;
|
|
1790
1789
|
id: string;
|
|
1791
1790
|
name: string;
|
|
1792
1791
|
scope: string;
|
|
1792
|
+
slug: string;
|
|
1793
1793
|
createdAt: Date;
|
|
1794
1794
|
updatedAt: Date;
|
|
1795
1795
|
description: string | null;
|
|
1796
|
-
|
|
1796
|
+
color: string | null;
|
|
1797
|
+
permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
|
|
1797
1798
|
isSystem: boolean;
|
|
1798
1799
|
isDefault: boolean;
|
|
1799
1800
|
isGuest: boolean;
|
|
1800
1801
|
editable: boolean;
|
|
1801
1802
|
allChildScopes: boolean;
|
|
1802
|
-
color: string | null;
|
|
1803
1803
|
displayOrder: number;
|
|
1804
1804
|
deletedAt: Date | null;
|
|
1805
1805
|
createdById: string | null;
|
|
1806
1806
|
};
|
|
1807
1807
|
}, {
|
|
1808
1808
|
role: {
|
|
1809
|
-
|
|
1810
|
-
slug: string;
|
|
1809
|
+
scopeId: string;
|
|
1811
1810
|
id: string;
|
|
1812
1811
|
name: string;
|
|
1813
1812
|
scope: string;
|
|
1813
|
+
slug: string;
|
|
1814
1814
|
createdAt: Date;
|
|
1815
1815
|
updatedAt: Date;
|
|
1816
1816
|
description: string | null;
|
|
1817
|
-
|
|
1817
|
+
color: string | null;
|
|
1818
|
+
permissions: import("@ydtb/tk-scope-extension/db").RolePermissionEntry[];
|
|
1818
1819
|
isSystem: boolean;
|
|
1819
1820
|
isDefault: boolean;
|
|
1820
1821
|
isGuest: boolean;
|
|
1821
1822
|
editable: boolean;
|
|
1822
1823
|
allChildScopes: boolean;
|
|
1823
|
-
color: string | null;
|
|
1824
1824
|
displayOrder: number;
|
|
1825
1825
|
deletedAt: Date | null;
|
|
1826
1826
|
createdById: string | null;
|
|
@@ -2006,28 +2006,28 @@ 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;
|
|
2009
2010
|
id: string;
|
|
2010
2011
|
createdAt: Date;
|
|
2011
|
-
scopeId: string;
|
|
2012
2012
|
email: string;
|
|
2013
2013
|
role: string;
|
|
2014
|
-
roleId: string | null;
|
|
2015
2014
|
status: string;
|
|
2016
2015
|
inviterId: string | null;
|
|
2016
|
+
roleId: string | null;
|
|
2017
2017
|
expiresAt: Date | null;
|
|
2018
|
-
}
|
|
2018
|
+
};
|
|
2019
2019
|
}, {
|
|
2020
2020
|
invitation: {
|
|
2021
|
+
scopeId: string;
|
|
2021
2022
|
id: string;
|
|
2022
2023
|
createdAt: Date;
|
|
2023
|
-
scopeId: string;
|
|
2024
2024
|
email: string;
|
|
2025
2025
|
role: string;
|
|
2026
|
-
roleId: string | null;
|
|
2027
2026
|
status: string;
|
|
2028
2027
|
inviterId: string | null;
|
|
2028
|
+
roleId: string | null;
|
|
2029
2029
|
expiresAt: Date | null;
|
|
2030
|
-
}
|
|
2030
|
+
};
|
|
2031
2031
|
}>, Record<never, never>, Record<never, never>>;
|
|
2032
2032
|
list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<{
|
|
2033
2033
|
headers: Headers;
|
|
@@ -2122,9 +2122,17 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
|
|
|
2122
2122
|
id: string;
|
|
2123
2123
|
scopeId: string;
|
|
2124
2124
|
email: string;
|
|
2125
|
-
role:
|
|
2126
|
-
|
|
2127
|
-
|
|
2125
|
+
role: {
|
|
2126
|
+
id: string;
|
|
2127
|
+
name: string;
|
|
2128
|
+
slug: string;
|
|
2129
|
+
color: string | null;
|
|
2130
|
+
} | null;
|
|
2131
|
+
status: "pending" | "expired";
|
|
2132
|
+
invitedBy: {
|
|
2133
|
+
id: string;
|
|
2134
|
+
name: string;
|
|
2135
|
+
};
|
|
2128
2136
|
expiresAt: Date | null;
|
|
2129
2137
|
createdAt: Date;
|
|
2130
2138
|
}[];
|
|
@@ -2133,9 +2141,17 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
|
|
|
2133
2141
|
id: string;
|
|
2134
2142
|
scopeId: string;
|
|
2135
2143
|
email: string;
|
|
2136
|
-
role:
|
|
2137
|
-
|
|
2138
|
-
|
|
2144
|
+
role: {
|
|
2145
|
+
id: string;
|
|
2146
|
+
name: string;
|
|
2147
|
+
slug: string;
|
|
2148
|
+
color: string | null;
|
|
2149
|
+
} | null;
|
|
2150
|
+
status: "pending" | "expired";
|
|
2151
|
+
invitedBy: {
|
|
2152
|
+
id: string;
|
|
2153
|
+
name: string;
|
|
2154
|
+
};
|
|
2139
2155
|
expiresAt: Date | null;
|
|
2140
2156
|
createdAt: Date;
|
|
2141
2157
|
}[];
|
|
@@ -2209,11 +2225,11 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
|
|
|
2209
2225
|
updatedAt: Date;
|
|
2210
2226
|
} | undefined;
|
|
2211
2227
|
member: {
|
|
2228
|
+
scopeId: string;
|
|
2212
2229
|
id: string;
|
|
2213
2230
|
createdAt: Date;
|
|
2214
|
-
scopeId: string;
|
|
2215
|
-
userId: string;
|
|
2216
2231
|
role: string;
|
|
2232
|
+
userId: string;
|
|
2217
2233
|
};
|
|
2218
2234
|
alreadyMember: boolean;
|
|
2219
2235
|
}, {
|
|
@@ -2236,11 +2252,11 @@ export declare const invitationsApi: import("@ydtb/tk-scope-api-client").ToolCli
|
|
|
2236
2252
|
updatedAt: Date;
|
|
2237
2253
|
} | undefined;
|
|
2238
2254
|
member: {
|
|
2255
|
+
scopeId: string;
|
|
2239
2256
|
id: string;
|
|
2240
2257
|
createdAt: Date;
|
|
2241
|
-
scopeId: string;
|
|
2242
|
-
userId: string;
|
|
2243
2258
|
role: string;
|
|
2259
|
+
userId: string;
|
|
2244
2260
|
};
|
|
2245
2261
|
alreadyMember: boolean;
|
|
2246
2262
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -2441,27 +2457,27 @@ export declare const joinCodesApi: import("@ydtb/tk-scope-api-client").ToolClien
|
|
|
2441
2457
|
expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2442
2458
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
|
|
2443
2459
|
joinCode: {
|
|
2460
|
+
scopeId: string;
|
|
2444
2461
|
id: string;
|
|
2445
2462
|
createdAt: Date;
|
|
2446
|
-
scopeId: string;
|
|
2447
|
-
createdById: string | null;
|
|
2448
2463
|
status: string;
|
|
2449
2464
|
expiresAt: Date | null;
|
|
2450
|
-
|
|
2465
|
+
createdById: string | null;
|
|
2451
2466
|
label: string | null;
|
|
2467
|
+
code: string;
|
|
2452
2468
|
usedBy: string | null;
|
|
2453
2469
|
usedAt: Date | null;
|
|
2454
2470
|
} | undefined;
|
|
2455
2471
|
}, {
|
|
2456
2472
|
joinCode: {
|
|
2473
|
+
scopeId: string;
|
|
2457
2474
|
id: string;
|
|
2458
2475
|
createdAt: Date;
|
|
2459
|
-
scopeId: string;
|
|
2460
|
-
createdById: string | null;
|
|
2461
2476
|
status: string;
|
|
2462
2477
|
expiresAt: Date | null;
|
|
2463
|
-
|
|
2478
|
+
createdById: string | null;
|
|
2464
2479
|
label: string | null;
|
|
2480
|
+
code: string;
|
|
2465
2481
|
usedBy: string | null;
|
|
2466
2482
|
usedAt: Date | null;
|
|
2467
2483
|
} | undefined;
|
|
@@ -3105,26 +3121,26 @@ export declare const scopeChildrenApi: import("@ydtb/tk-scope-api-client").ToolC
|
|
|
3105
3121
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3106
3122
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
|
|
3107
3123
|
id: string;
|
|
3108
|
-
metadata: unknown;
|
|
3109
|
-
name: string;
|
|
3110
3124
|
createdAt: Date;
|
|
3111
|
-
|
|
3125
|
+
name: string;
|
|
3112
3126
|
scope: string;
|
|
3113
3127
|
parentScope: string | null;
|
|
3114
3128
|
parentScopeId: string | null;
|
|
3115
3129
|
slug: string;
|
|
3116
3130
|
logo: string | null;
|
|
3131
|
+
metadata: unknown;
|
|
3132
|
+
updatedAt: Date;
|
|
3117
3133
|
}, {
|
|
3118
3134
|
id: string;
|
|
3119
|
-
metadata: unknown;
|
|
3120
|
-
name: string;
|
|
3121
3135
|
createdAt: Date;
|
|
3122
|
-
|
|
3136
|
+
name: string;
|
|
3123
3137
|
scope: string;
|
|
3124
3138
|
parentScope: string | null;
|
|
3125
3139
|
parentScopeId: string | null;
|
|
3126
3140
|
slug: string;
|
|
3127
3141
|
logo: string | null;
|
|
3142
|
+
metadata: unknown;
|
|
3143
|
+
updatedAt: Date;
|
|
3128
3144
|
}>, Record<never, never>, Record<never, never>>;
|
|
3129
3145
|
getById: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
|
|
3130
3146
|
headers: Headers;
|
|
@@ -3410,22 +3426,22 @@ export declare const preferencesApi: import("@ydtb/tk-scope-api-client").ToolCli
|
|
|
3410
3426
|
value: import("zod").ZodString;
|
|
3411
3427
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<{
|
|
3412
3428
|
id: string;
|
|
3413
|
-
|
|
3429
|
+
scopeId: string;
|
|
3414
3430
|
createdAt: Date;
|
|
3431
|
+
scope: string;
|
|
3415
3432
|
updatedAt: Date;
|
|
3416
|
-
scopeId: string;
|
|
3417
3433
|
userId: string;
|
|
3418
|
-
scope: string;
|
|
3419
3434
|
value: string;
|
|
3435
|
+
key: string;
|
|
3420
3436
|
} | undefined, {
|
|
3421
3437
|
id: string;
|
|
3422
|
-
|
|
3438
|
+
scopeId: string;
|
|
3423
3439
|
createdAt: Date;
|
|
3440
|
+
scope: string;
|
|
3424
3441
|
updatedAt: Date;
|
|
3425
|
-
scopeId: string;
|
|
3426
3442
|
userId: string;
|
|
3427
|
-
scope: string;
|
|
3428
3443
|
value: string;
|
|
3444
|
+
key: string;
|
|
3429
3445
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
3430
3446
|
list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<{
|
|
3431
3447
|
headers: Headers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-api.d.ts","sourceRoot":"","sources":["../../../src/lib/platform-api.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuBk8J,CAAC;;;;;;;;;;;;qBAA8Z,CAAC;;;;;mBAAiM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAgrF,CAAC;;;;;;;;;;;;qBAA8Z,CAAC;;;;;mBAAiM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;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sourceRoot":"","sources":["../../../src/pages/AcceptInvitePage.tsx"],"names":[],"mappings":"AAiCA,wBAAgB,gBAAgB,4CAsR/B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { useParams, Link } from "@tanstack/react-router";
|
|
3
|
+
import { useParams, useSearch, Link } from "@tanstack/react-router";
|
|
4
4
|
import { useAuth } from "../contexts/auth/AuthContext.js";
|
|
5
5
|
import { getInvitation, acceptInvitation, rejectInvitation } from "../hooks/useInvitations.js";
|
|
6
6
|
import { useQuery } from "@ydtb/tk-scope-query-client";
|
|
@@ -12,6 +12,11 @@ function WizardShell({ children }) {
|
|
|
12
12
|
}
|
|
13
13
|
export function AcceptInvitePage() {
|
|
14
14
|
const { id } = useParams({ strict: false });
|
|
15
|
+
// Email links carry email/inviter/scopeName as query params so the
|
|
16
|
+
// unauthenticated branch can forward them to /signup, where the
|
|
17
|
+
// `inviteOnlySignup` policy unlocks the form when an invitation
|
|
18
|
+
// context is present.
|
|
19
|
+
const search = useSearch({ strict: false });
|
|
15
20
|
const { session, isPending: authPending } = useAuth();
|
|
16
21
|
const [error, setError] = useState(null);
|
|
17
22
|
const [accepting, setAccepting] = useState(false);
|
|
@@ -79,7 +84,13 @@ export function AcceptInvitePage() {
|
|
|
79
84
|
}
|
|
80
85
|
// ── Not logged in (fallback) ─────────────────────────────────
|
|
81
86
|
if (currentFlowStep === "unauthenticated") {
|
|
82
|
-
|
|
87
|
+
const forwardedSearch = {
|
|
88
|
+
redirect: `/invite/${id}`,
|
|
89
|
+
...(search.email ? { email: search.email } : {}),
|
|
90
|
+
...(search.inviter ? { inviter: search.inviter } : {}),
|
|
91
|
+
...(search.scopeName ? { scopeName: search.scopeName } : {}),
|
|
92
|
+
};
|
|
93
|
+
return (_jsx(WizardShell, { children: _jsx(WizardPage, { icon: UserPlus, title: "You've been invited", subtitle: "Log in or create an account to accept this invitation.", children: _jsxs("div", { className: "flex flex-col gap-3", children: [_jsxs(Link, { to: "/login", search: forwardedSearch, className: "flex items-center justify-center gap-2 w-full h-12 rounded-xl bg-foreground text-background text-sm font-semibold shadow-md hover:opacity-90 transition-opacity", children: [_jsx(LogIn, { className: "h-4 w-4" }), "Log In"] }), _jsx(Link, { to: "/signup", search: forwardedSearch, className: "flex items-center justify-center gap-2 w-full h-12 rounded-xl border border-border bg-card text-sm font-medium text-foreground hover:bg-muted transition-colors", children: "Create Account" })] }) }) }));
|
|
83
94
|
}
|
|
84
95
|
// ── Passkey step ─────────────────────────────────────────────
|
|
85
96
|
if (currentFlowStep === "passkey") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptInvitePage.js","sourceRoot":"","sources":["../../../src/pages/AcceptInvitePage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"AcceptInvitePage.js","sourceRoot":"","sources":["../../../src/pages/AcceptInvitePage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAkC,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC9F,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA8B,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAwC,CAAA;AACvE,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAK,EACL,CAAC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