@shipfox/client-auth 14.0.1 → 16.0.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +10 -0
- package/dist/components/auth-guard.d.ts +3 -3
- package/dist/components/workspace-switcher.stories.d.ts.map +1 -1
- package/dist/pages/invitation-context.d.ts +4 -4
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/login.d.ts.map +1 -1
- package/dist/routes/logout.d.ts.map +1 -1
- package/dist/routes/reset.d.ts.map +1 -1
- package/dist/routes/signup.d.ts.map +1 -1
- package/dist/routes/workspace-onboarding.d.ts.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled: 42 files with swc (
|
|
2
|
+
Successfully compiled: 42 files with swc (539.22ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @shipfox/client-auth
|
|
2
2
|
|
|
3
|
+
## 16.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [80cde6b]
|
|
8
|
+
- @shipfox/react-ui@1.1.0
|
|
9
|
+
- @shipfox/client-ui@16.0.0
|
|
10
|
+
- @shipfox/client-invitations@16.0.0
|
|
11
|
+
- @shipfox/client-shell@16.0.0
|
|
12
|
+
|
|
3
13
|
## 14.0.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export declare function AuthGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
3
|
-
export declare function GuestGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
4
|
-
export declare function WorkspaceGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
2
|
+
export declare function AuthGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
|
3
|
+
export declare function GuestGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
|
4
|
+
export declare function WorkspaceGuard({ children }: PropsWithChildren): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
|
5
5
|
//# sourceMappingURL=auth-guard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-switcher.stories.d.ts","sourceRoot":"","sources":["../../src/components/workspace-switcher.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAO,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAYrD,OAAO,EAAgB,KAAK,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAmB7D,UAAU,2BAA2B;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAWD,iBAAS,sBAAsB,CAAC,EAAC,iBAAiB,EAAE,UAAU,EAAC,EAAE,2BAA2B,+BAkC3F;AAED,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"workspace-switcher.stories.d.ts","sourceRoot":"","sources":["../../src/components/workspace-switcher.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAO,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAYrD,OAAO,EAAgB,KAAK,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAmB7D,UAAU,2BAA2B;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAWD,iBAAS,sBAAsB,CAAC,EAAC,iBAAiB,EAAE,UAAU,EAAC,EAAE,2BAA2B,+BAkC3F;AAED,QAAA,MAAM,IAAI;;;;QAIN,MAAM;;;;;;CAMqC,CAAC;eAEjC,IAAI;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AASnC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAO9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAyBlC,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { type InvitationPreview, pendingInvitation } from '@shipfox/client-invitations';
|
|
2
2
|
export declare function extractInvitationToken(redirect: unknown): string | undefined;
|
|
3
3
|
export declare function useInvitationContext(token: string | undefined): import("@tanstack/react-query").UseQueryResult<NoInfer<{
|
|
4
|
-
status:
|
|
4
|
+
status: 'pending';
|
|
5
5
|
workspaceId: string;
|
|
6
6
|
workspaceName: string;
|
|
7
7
|
email: string;
|
|
8
8
|
invitedByDisplay?: string;
|
|
9
9
|
expiresAt: string;
|
|
10
10
|
} | {
|
|
11
|
-
status:
|
|
11
|
+
status: 'expired';
|
|
12
12
|
workspaceName: string;
|
|
13
13
|
expiresAt: string;
|
|
14
14
|
} | {
|
|
15
|
-
status:
|
|
15
|
+
status: 'already_used';
|
|
16
16
|
workspaceName: string;
|
|
17
17
|
} | {
|
|
18
|
-
status:
|
|
18
|
+
status: 'invalid';
|
|
19
19
|
}>, Error>;
|
|
20
20
|
export { type InvitationPreview, pendingInvitation };
|
|
21
21
|
//# sourceMappingURL=invitation-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;;uCAI9B;QAAC,OAAO,EAAE,aAAa,CAAA;KAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;;uCAI9B;QAAC,OAAO,EAAE,aAAa,CAAA;KAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/routes/login.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/routes/login.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../src/routes/logout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../src/routes/logout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset.d.ts","sourceRoot":"","sources":["../../src/routes/reset.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,2BAA2B,EAAC,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"reset.d.ts","sourceRoot":"","sources":["../../src/routes/reset.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,2BAA2B,EAAC,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../src/routes/signup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../src/routes/signup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,sBAAsB,EAAC,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-onboarding.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-onboarding.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAGjE,OAAO,EAAC,uBAAuB,EAAC,MAAM,qCAAqC,CAAC;;iDAGxC;QAAC,OAAO,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE;YAAC,IAAI,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC
|
|
1
|
+
{"version":3,"file":"workspace-onboarding.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-onboarding.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAGjE,OAAO,EAAC,uBAAuB,EAAC,MAAM,qCAAqC,CAAC;;iDAGxC;QAAC,OAAO,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE;YAAC,IAAI,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC"}
|