@schemavaults/auth-ui 0.13.8 → 0.14.1

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.
Files changed (60) hide show
  1. package/dist/components/ApiServersCard/api_servers_card.d.ts +15 -0
  2. package/dist/components/ApiServersCard/api_servers_card.js +33 -3
  3. package/dist/components/ApiServersCard/api_servers_card.js.map +1 -1
  4. package/dist/components/ApiServersTable/ApiServerRowActions.js +20 -6
  5. package/dist/components/ApiServersTable/ApiServerRowActions.js.map +1 -1
  6. package/dist/components/ApiServersTable/ApiServersTable.d.ts +12 -1
  7. package/dist/components/ApiServersTable/ApiServersTable.js +14 -15
  8. package/dist/components/ApiServersTable/ApiServersTable.js.map +1 -1
  9. package/dist/components/ApiServersTable/ApiServersTableConfigContext.d.ts +6 -0
  10. package/dist/components/ApiServersTable/ApiServersTableConfigContext.js +1 -0
  11. package/dist/components/ApiServersTable/ApiServersTableConfigContext.js.map +1 -1
  12. package/dist/components/ApiServersTable/columns.js +3 -1
  13. package/dist/components/ApiServersTable/columns.js.map +1 -1
  14. package/dist/components/ApiServersTable/useApiServersList.d.ts +6 -0
  15. package/dist/components/AppsCard/apps_card.d.ts +15 -0
  16. package/dist/components/AppsCard/apps_card.js +36 -5
  17. package/dist/components/AppsCard/apps_card.js.map +1 -1
  18. package/dist/components/AppsTable/AppsTable.d.ts +12 -1
  19. package/dist/components/AppsTable/AppsTable.js +14 -8
  20. package/dist/components/AppsTable/AppsTable.js.map +1 -1
  21. package/dist/components/AppsTable/columns.d.ts +1 -1
  22. package/dist/components/AppsTable/columns.js +5 -3
  23. package/dist/components/AppsTable/columns.js.map +1 -1
  24. package/dist/components/AppsTable/frontend_app_actions.d.ts +2 -1
  25. package/dist/components/AppsTable/frontend_app_actions.js +19 -3
  26. package/dist/components/AppsTable/frontend_app_actions.js.map +1 -1
  27. package/dist/components/CreateApiServerDialog/CreateApiServerDialog.d.ts +7 -2
  28. package/dist/components/CreateApiServerDialog/CreateApiServerDialog.js +2 -4
  29. package/dist/components/CreateApiServerDialog/CreateApiServerDialog.js.map +1 -1
  30. package/dist/components/CreateApiServerDialog/CreateApiServerForm.d.ts +7 -3
  31. package/dist/components/CreateApiServerDialog/CreateApiServerForm.js +8 -4
  32. package/dist/components/CreateApiServerDialog/CreateApiServerForm.js.map +1 -1
  33. package/dist/components/CreateAppDialog/CreateAppDialog.d.ts +7 -2
  34. package/dist/components/CreateAppDialog/CreateAppDialog.js +2 -4
  35. package/dist/components/CreateAppDialog/CreateAppDialog.js.map +1 -1
  36. package/dist/components/CreateAppDialog/CreateAppForm.d.ts +7 -3
  37. package/dist/components/CreateAppDialog/CreateAppForm.js +8 -11
  38. package/dist/components/CreateAppDialog/CreateAppForm.js.map +1 -1
  39. package/dist/components/CreateAppDialog/requested-ownership-fields.d.ts +9 -0
  40. package/dist/components/CreateAppDialog/requested-ownership-fields.js +26 -0
  41. package/dist/components/CreateAppDialog/requested-ownership-fields.js.map +1 -0
  42. package/dist/components/OwnerTypeFilter/OwnerTypeFilter.d.ts +39 -0
  43. package/dist/components/OwnerTypeFilter/OwnerTypeFilter.js +65 -0
  44. package/dist/components/OwnerTypeFilter/OwnerTypeFilter.js.map +1 -0
  45. package/dist/components/OwnerTypeFilter/index.d.ts +2 -0
  46. package/dist/components/OwnerTypeFilter/index.js +2 -0
  47. package/dist/components/OwnerTypeFilter/index.js.map +1 -0
  48. package/dist/components/ResourceOwnerLabel/ResourceOwnerLabel.d.ts +20 -0
  49. package/dist/components/ResourceOwnerLabel/ResourceOwnerLabel.js +52 -0
  50. package/dist/components/ResourceOwnerLabel/ResourceOwnerLabel.js.map +1 -0
  51. package/dist/components/ResourceOwnerLabel/index.d.ts +4 -0
  52. package/dist/components/ResourceOwnerLabel/index.js +3 -0
  53. package/dist/components/ResourceOwnerLabel/index.js.map +1 -0
  54. package/dist/components/ResourceOwnerLabel/useCanManageListedResource.d.ts +32 -0
  55. package/dist/components/ResourceOwnerLabel/useCanManageListedResource.js +44 -0
  56. package/dist/components/ResourceOwnerLabel/useCanManageListedResource.js.map +1 -0
  57. package/dist/components/index.d.ts +4 -0
  58. package/dist/components/index.js +2 -0
  59. package/dist/components/index.js.map +1 -1
  60. package/package.json +4 -4
@@ -0,0 +1,52 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import Link from "next/link";
4
+ import { resolveResourceOwnership, } from "@schemavaults/app-definitions";
5
+ import { useCurrentUser } from "@schemavaults/auth-react-provider";
6
+ import { Building2, Server, User as UserIcon } from "lucide-react";
7
+ import { cn } from "@schemavaults/ui";
8
+ import { useAuthUiOwnerOrganizationId } from "../OwnerOrganizationProvider";
9
+ import { useAuthUiFriendlyName } from "../FriendlyNameProvider";
10
+ /**
11
+ * @description Resolves the ownership of an app/API server definition in
12
+ * browser code, using the platform owner organization id from context (the
13
+ * env var is not available in client bundles).
14
+ */
15
+ export function useResolvedResourceOwnership(resource) {
16
+ const platformOrganizationId = useAuthUiOwnerOrganizationId();
17
+ try {
18
+ return resolveResourceOwnership(resource, {
19
+ platform_owner_organization_id: platformOrganizationId,
20
+ });
21
+ }
22
+ catch (e) {
23
+ console.error("Failed to resolve resource ownership: ", e);
24
+ return null;
25
+ }
26
+ }
27
+ /**
28
+ * @description Renders who owns a client application or API server: the
29
+ * platform (with the auth server's friendly name), an organization (linked
30
+ * to its page), or a user account ("You" for the current user).
31
+ */
32
+ export function ResourceOwnerLabel({ resource, className, }) {
33
+ const ownership = useResolvedResourceOwnership(resource);
34
+ const currentUser = useCurrentUser();
35
+ const friendlyName = useAuthUiFriendlyName();
36
+ const wrapperClassName = cn("inline-flex flex-row flex-nowrap items-center gap-2", className);
37
+ if (!ownership) {
38
+ return _jsx("span", { className: cn(wrapperClassName, "text-destructive"), children: "Unknown owner" });
39
+ }
40
+ switch (ownership.owner_type) {
41
+ case "platform":
42
+ return (_jsxs("span", { className: wrapperClassName, title: `Owned by the ${friendlyName} platform (${ownership.owner_organization_id})`, "data-owner-type": "platform", children: [_jsx(Server, { className: "h-4 w-4 text-muted-foreground" }), _jsx("span", { children: friendlyName })] }));
43
+ case "organization":
44
+ return (_jsxs(Link, { href: `/orgs/${ownership.owner_organization_id}`, className: cn(wrapperClassName, "hover:underline text-primary"), title: "Owned by an organization", "data-owner-type": "organization", children: [_jsx(Building2, { className: "h-4 w-4" }), _jsx("span", { children: ownership.owner_organization_id })] }));
45
+ case "user": {
46
+ const isCurrentUser = !!currentUser && currentUser.uid === ownership.owner_uid;
47
+ return (_jsxs("span", { className: wrapperClassName, title: `Owned by user ${ownership.owner_uid}`, "data-owner-type": "user", children: [_jsx(UserIcon, { className: "h-4 w-4 text-muted-foreground" }), _jsx("span", { children: isCurrentUser ? "You" : ownership.owner_uid })] }));
48
+ }
49
+ }
50
+ }
51
+ export default ResourceOwnerLabel;
52
+ //# sourceMappingURL=ResourceOwnerLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceOwnerLabel.js","sourceRoot":"","sources":["../../../src/components/ResourceOwnerLabel/ResourceOwnerLabel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,wBAAwB,GAGzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAQ1E;;;;GAIG;AACH,MAAM,UAAU,4BAA4B,CAC1C,QAAiC;IAEjC,MAAM,sBAAsB,GAAW,4BAA4B,EAAE,CAAC;IACtE,IAAI,CAAC;QACH,OAAO,wBAAwB,C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AM,CAAC,CAAC,CAAC;YACZ,MAAM,aAAa,GACjB,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,GAAG,KAAK,SAAS,CAAC,SAAS,CAAC;YAC3D,OAAO,CACL,gBACE,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,iBAAiB,SAAS,CAAC,SAAS,EAAE,qBAC7B,MAAM,aAEtB,KAAC,QAAQ,IAAC,SAAS,EAAC,+BAA+B,GAAG,EACtD,yBAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,GAAQ,IACrD,CACR,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ResourceOwnerLabel, ResourceOwnerLabel as default, useResolvedResourceOwnership, } from "./ResourceOwnerLabel";
2
+ export type { ResourceOwnerLabelProps } from "./ResourceOwnerLabel";
3
+ export { useCanManageListedResource } from "./useCanManageListedResource";
4
+ export type { UseCanManageListedResourceOptions } from "./useCanManageListedResource";
@@ -0,0 +1,3 @@
1
+ export { ResourceOwnerLabel, ResourceOwnerLabel as default, useResolvedResourceOwnership, } from "./ResourceOwnerLabel";
2
+ export { useCanManageListedResource } from "./useCanManageListedResource";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ResourceOwnerLabel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,IAAI,OAAO,EAC7B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,32 @@
1
+ import type { ResourceOwnershipFields } from "@schemavaults/app-definitions";
2
+ export interface UseCanManageListedResourceOptions {
3
+ /** The app or API server definition rendered in the row. */
4
+ resource: ResourceOwnershipFields;
5
+ /**
6
+ * The list query the row was loaded from: "all" (admin lists), "org"
7
+ * (an organization page), "owned" (the viewer's own resources),
8
+ * "accessible" (everything the viewer can reach), etc.
9
+ */
10
+ queryType: string | undefined;
11
+ /**
12
+ * On an organization page: whether the viewer is an owner/admin of that
13
+ * organization (the card's `isOrgOwner` prop).
14
+ */
15
+ isOrgOwner?: boolean;
16
+ /**
17
+ * On an "accessible" list: the ids of the organizations in which the
18
+ * viewer holds an owner/admin role, so organization-owned rows can be
19
+ * gated without a round trip per row.
20
+ */
21
+ managedOrganizationIds?: readonly string[];
22
+ }
23
+ /**
24
+ * @description Whether the viewer may manage (add domains to, delete, …) a
25
+ * listed app / API server. Mirrors the server's ownership rules
26
+ * (`canUserManageResource`): global admins always; the owning user of a
27
+ * user-owned resource; owners/admins of the owning organization. The
28
+ * server still enforces every action — this only decides which controls
29
+ * to show.
30
+ */
31
+ export declare function useCanManageListedResource({ resource, queryType, isOrgOwner, managedOrganizationIds, }: UseCanManageListedResourceOptions): boolean;
32
+ export default useCanManageListedResource;
@@ -0,0 +1,44 @@
1
+ "use client";
2
+ import { useAdmin, useCurrentUser } from "@schemavaults/auth-react-provider";
3
+ import { useResolvedResourceOwnership } from "./ResourceOwnerLabel";
4
+ /**
5
+ * @description Whether the viewer may manage (add domains to, delete, …) a
6
+ * listed app / API server. Mirrors the server's ownership rules
7
+ * (`canUserManageResource`): global admins always; the owning user of a
8
+ * user-owned resource; owners/admins of the owning organization. The
9
+ * server still enforces every action — this only decides which controls
10
+ * to show.
11
+ */
12
+ export function useCanManageListedResource({ resource, queryType, isOrgOwner, managedOrganizationIds, }) {
13
+ const admin = useAdmin();
14
+ const currentUser = useCurrentUser();
15
+ const ownership = useResolvedResourceOwnership(resource);
16
+ if (admin) {
17
+ return true;
18
+ }
19
+ if (!ownership) {
20
+ return false;
21
+ }
22
+ switch (queryType) {
23
+ case "org":
24
+ return !!isOrgOwner && ownership.owner_type === "organization";
25
+ case "owned":
26
+ return (ownership.owner_type === "user" &&
27
+ !!currentUser &&
28
+ ownership.owner_uid === currentUser.uid);
29
+ case "accessible":
30
+ switch (ownership.owner_type) {
31
+ case "user":
32
+ return !!currentUser && ownership.owner_uid === currentUser.uid;
33
+ case "organization":
34
+ return (!!managedOrganizationIds &&
35
+ managedOrganizationIds.includes(ownership.owner_organization_id));
36
+ default:
37
+ return false;
38
+ }
39
+ default:
40
+ return false;
41
+ }
42
+ }
43
+ export default useCanManageListedResource;
44
+ //# sourceMappingURL=useCanManageListedResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCanManageListedResource.js","sourceRoot":"","sources":["../../../src/components/ResourceOwnerLabel/useCanManageListedResource.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAGb,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAwBpE;;;;;;;GAOG;AACH,MAAM,UAAU,0BAA0B,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,UAAU,EACV,sBAAsB,GACY;IAClC,MAAM,KAAK,GAAY,QAAQ,EAAE,CAAC;IAClC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,SAAS,GAAG,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IAEzD,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,KAAK,CAAC;IACf,CAAC;IAED,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,KAAK;YACR,OAAO,CAAC,CAAC,UAAU,IAAI,SAAS,CAAC,UAAU,KAAK,cAAc,CAAC;QACjE,KAAK,OAAO;YACV,OAAO,CACL,SAAS,CAAC,UAAU,KAAK,MAAM;gBAC/B,CAAC,CAAC,WAAW;gBACb,SAAS,CAAC,SAAS,KAAK,WAAW,CAAC,GAAG,CACxC,CAAC;QACJ,KAAK,YAAY;YACf,QAAQ,SAAS,CAAC,UAAU,EAAE,CAAC;gBAC7B,KAAK,MAAM;oBACT,OAAO,CAAC,CAAC,WAAW,IAAI,SAAS,CAAC,SAAS,KAAK,WAAW,CAAC,GAAG,CAAC;gBAClE,KAAK,cAAc;oBACjB,OAAO,CACL,CAAC,CAAC,sBAAsB;wBACxB,sBAAsB,CAAC,QAAQ,CAAC,SAAS,CAAC,qBAAqB,CAAC,CACjE,CAAC;gBACJ;oBACE,OAAO,KAAK,CAAC;YACjB,CAAC;QACH;YACE,OAAO,KAAK,CAAC;IACjB,CAAC;AACH,CAAC;AAED,eAAe,0BAA0B,CAAC"}
@@ -4,6 +4,10 @@ export { AuthUiFriendlyNameProvider, useAuthUiFriendlyName, DEFAULT_AUTH_UI_FRIE
4
4
  export type { AuthUiFriendlyNameProviderProps } from "./FriendlyNameProvider";
5
5
  export { AuthUiOwnerOrganizationProvider, useAuthUiOwnerOrganizationId, } from "./OwnerOrganizationProvider";
6
6
  export type { AuthUiOwnerOrganizationProviderProps } from "./OwnerOrganizationProvider";
7
+ export { ResourceOwnerLabel, useResolvedResourceOwnership, useCanManageListedResource, } from "./ResourceOwnerLabel";
8
+ export type { ResourceOwnerLabelProps, UseCanManageListedResourceOptions, } from "./ResourceOwnerLabel";
9
+ export { OwnerTypeFilter, OWNER_TYPE_FILTER_VALUES, isOwnerTypeFilterValue, filterByOwnerType, useOwnerTypeFilteredResources, } from "./OwnerTypeFilter";
10
+ export type { OwnerTypeFilterProps, OwnerTypeFilterValue, } from "./OwnerTypeFilter";
7
11
  export * from "./SignOutButton";
8
12
  export type * from "./SignOutButton";
9
13
  export * from "./AppsCard";
@@ -1,6 +1,8 @@
1
1
  export * from "./AccountCard";
2
2
  export { AuthUiFriendlyNameProvider, useAuthUiFriendlyName, DEFAULT_AUTH_UI_FRIENDLY_NAME, } from "./FriendlyNameProvider";
3
3
  export { AuthUiOwnerOrganizationProvider, useAuthUiOwnerOrganizationId, } from "./OwnerOrganizationProvider";
4
+ export { ResourceOwnerLabel, useResolvedResourceOwnership, useCanManageListedResource, } from "./ResourceOwnerLabel";
5
+ export { OwnerTypeFilter, OWNER_TYPE_FILTER_VALUES, isOwnerTypeFilterValue, filterByOwnerType, useOwnerTypeFilteredResources, } from "./OwnerTypeFilter";
4
6
  export * from "./SignOutButton";
5
7
  export * from "./AppsCard";
6
8
  export * from "./ApiServersCard";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAG9B,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAGrC,cAAc,iBAAiB,CAAC;AAGhC,cAAc,YAAY,CAAC;AAK3B,cAAc,kBAAkB,CAAC;AAQjC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EACL,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AAMnC,OAAO,EAAE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M1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schemavaults/auth-ui",
3
- "version": "0.13.8",
3
+ "version": "0.14.1",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "description": "React.js UI components for authentication/authorization shared between different SchemaVaults apps",
@@ -17,9 +17,9 @@
17
17
  "react-dom": "^19.2.8",
18
18
  "next": "^16.2.11",
19
19
  "@schemavaults/ui": "^0.93.0",
20
- "@schemavaults/auth-react-provider": "0.16.27",
21
- "@schemavaults/app-definitions": "0.12.1",
22
- "@schemavaults/auth-common": "0.26.1",
20
+ "@schemavaults/auth-react-provider": "0.16.30",
21
+ "@schemavaults/app-definitions": "0.13.1",
22
+ "@schemavaults/auth-common": "0.26.4",
23
23
  "lucide-react": "0.575.0",
24
24
  "swr": "2.3.4",
25
25
  "postcss": "8.5.3",