@vritti/quantum-ui 0.3.22 → 0.3.24

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/CopyField.js CHANGED
@@ -3,7 +3,7 @@ import { useState, useRef, useEffect, useCallback } from 'react';
3
3
  import { c as cn } from './utils.js';
4
4
  import { B as Button } from './Button.js';
5
5
  import { T as Tooltip } from './Tooltip.js';
6
- import { e as FieldLabel, b as FieldDescription } from './field.js';
6
+ import { F as Field, e as FieldLabel, b as FieldDescription } from './field.js';
7
7
  import { C as Check } from './check.js';
8
8
  import { C as Copy } from './copy.js';
9
9
 
@@ -30,8 +30,8 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
30
30
  }
31
31
  }, [value]);
32
32
  const ariaLabel = label ? `Copy ${typeof label === "string" ? label : "value"}` : "Copy value";
33
- return /* @__PURE__ */ jsxs("div", { className, children: [
34
- label && /* @__PURE__ */ jsx(FieldLabel, { className: "mb-1", children: label }),
33
+ return /* @__PURE__ */ jsxs(Field, { className, children: [
34
+ label && /* @__PURE__ */ jsx(FieldLabel, { children: label }),
35
35
  /* @__PURE__ */ jsxs(
36
36
  "div",
37
37
  {
@@ -40,13 +40,7 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
40
40
  "transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring hover:border-ring/60"
41
41
  ),
42
42
  children: [
43
- /* @__PURE__ */ jsx(
44
- "span",
45
- {
46
- className: cn("min-w-0 flex-1 select-all break-all text-sm", mono && "font-mono"),
47
- children: value
48
- }
49
- ),
43
+ /* @__PURE__ */ jsx("span", { className: cn("min-w-0 flex-1 select-all break-all text-sm", mono && "font-mono"), children: value }),
50
44
  /* @__PURE__ */ jsx(Tooltip, { content: copied ? "Copied" : "Copy", children: /* @__PURE__ */ jsx(
51
45
  Button,
52
46
  {
@@ -62,7 +56,7 @@ const CopyField = ({ value, label, description, mono = true, className }) => {
62
56
  ]
63
57
  }
64
58
  ),
65
- description && /* @__PURE__ */ jsx(FieldDescription, { className: "mt-1.5", children: description })
59
+ description && /* @__PURE__ */ jsx(FieldDescription, { children: description })
66
60
  ] });
67
61
  };
68
62
  CopyField.displayName = "CopyField";
@@ -1 +1 @@
1
- {"version":3,"file":"CopyField.js","sources":["../lib/components/CopyField/CopyField.tsx"],"sourcesContent":["import { Check, Copy } from 'lucide-react';\nimport type React from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Button } from '../Button';\nimport { FieldDescription, FieldLabel } from '../Field';\nimport { Tooltip } from '../Tooltip';\n\n/**\n * Props for the CopyField component\n */\nexport interface CopyFieldProps {\n /** The value shown and copied to the clipboard */\n value: string;\n /** Optional label rendered above the field; omit for a bare copy row */\n label?: React.ReactNode;\n /** Optional helper text rendered below the field */\n description?: React.ReactNode;\n /** Render the value in a monospace font (default: true) */\n mono?: boolean;\n /** Additional CSS classes applied to the field container */\n className?: string;\n}\n\n/**\n * CopyField renders a labeled, read-only value with an integrated copy-to-clipboard button.\n *\n * @example\n * ```tsx\n * <CopyField label=\"API Key\" value=\"sk_live_123\" />\n * ```\n */\nexport const CopyField: React.FC<CopyFieldProps> = ({ value, label, description, mono = true, className }) => {\n const [copied, setCopied] = useState(false);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Clear any pending revert timer on unmount to avoid setting state on an unmounted component\n useEffect(\n () => () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n },\n [],\n );\n\n // Write the value to the clipboard and briefly show the copied confirmation\n const handleCopy = useCallback(async () => {\n try {\n await navigator.clipboard.writeText(value);\n setCopied(true);\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n timeoutRef.current = setTimeout(() => setCopied(false), 1500);\n } catch {\n // Clipboard access can be denied or unavailable; fail silently without breaking the UI\n }\n }, [value]);\n\n const ariaLabel = label ? `Copy ${typeof label === 'string' ? label : 'value'}` : 'Copy value';\n\n return (\n <div className={className}>\n {label && <FieldLabel className=\"mb-1\">{label}</FieldLabel>}\n <div\n className={cn(\n 'group flex items-center gap-2 rounded-md border border-border bg-secondary pl-3 pr-1 py-1',\n 'transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring hover:border-ring/60',\n )}\n >\n <span\n className={cn('min-w-0 flex-1 select-all break-all text-sm', mono && 'font-mono')}\n >\n {value}\n </span>\n <Tooltip content={copied ? 'Copied' : 'Copy'}>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n aria-label={ariaLabel}\n onClick={handleCopy}\n className=\"size-7 shrink-0 text-muted-foreground hover:text-foreground\"\n >\n {copied ? <Check className=\"size-4 text-success\" /> : <Copy className=\"size-4\" />}\n </Button>\n </Tooltip>\n </div>\n {description && <FieldDescription className=\"mt-1.5\">{description}</FieldDescription>}\n </div>\n );\n};\n\nCopyField.displayName = 'CopyField';\n"],"names":[],"mappings":";;;;;;;;;AAgCO,MAAM,SAAA,GAAsC,CAAC,EAAE,KAAA,EAAO,OAAO,WAAA,EAAa,IAAA,GAAO,IAAA,EAAM,SAAA,EAAU,KAAM;AAC5G,EAAA,MAAM,CAAC,MAAA,EAAQ,SAAS,CAAA,GAAI,SAAS,KAAK,CAAA;AAC1C,EAAA,MAAM,UAAA,GAAa,OAA6C,IAAI,CAAA;AAGpE,EAAA,SAAA;AAAA,IACE,MAAM,MAAM;AACV,MAAA,IAAI,WAAW,OAAA,EAAS;AACtB,QAAA,YAAA,CAAa,WAAW,OAAO,CAAA;AAAA,MACjC;AAAA,IACF,CAAA;AAAA,IACA;AAAC,GACH;AAGA,EAAA,MAAM,UAAA,GAAa,YAAY,YAAY;AACzC,IAAA,IAAI;AACF,MAAA,MAAM,SAAA,CAAU,SAAA,CAAU,SAAA,CAAU,KAAK,CAAA;AACzC,MAAA,SAAA,CAAU,IAAI,CAAA;AACd,MAAA,IAAI,WAAW,OAAA,EAAS;AACtB,QAAA,YAAA,CAAa,WAAW,OAAO,CAA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QAAA,EAAS;AAAA;AAAA,WACjF,EACF;AAAA;AAAA;AAAA,KACF;AAAA,IACC,WAAA,oBAAe,GAAA,CAAC,gBAAA,EAAA,EAAiB,SAAA,EAAU,UAAU,QAAA,EAAA,WAAA,EAAY;AAAA,GAAA,EACpE,CAAA;AAEJ;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA;;;;"}
1
+ {"version":3,"file":"CopyField.js","sources":["../lib/components/CopyField/CopyField.tsx"],"sourcesContent":["import { Check, Copy } from 'lucide-react';\nimport type React from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Button } from '../Button';\nimport { Field, FieldDescription, FieldLabel } from '../Field';\nimport { Tooltip } from '../Tooltip';\n\n/**\n * Props for the CopyField component\n */\nexport interface CopyFieldProps {\n /** The value shown and copied to the clipboard */\n value: string;\n /** Optional label rendered above the field; omit for a bare copy row */\n label?: React.ReactNode;\n /** Optional helper text rendered below the field */\n description?: React.ReactNode;\n /** Render the value in a monospace font (default: true) */\n mono?: boolean;\n /** Additional CSS classes applied to the field container */\n className?: string;\n}\n\n/**\n * CopyField renders a labeled, read-only value with an integrated copy-to-clipboard button.\n *\n * @example\n * ```tsx\n * <CopyField label=\"API Key\" value=\"sk_live_123\" />\n * ```\n */\nexport const CopyField: React.FC<CopyFieldProps> = ({ value, label, description, mono = true, className }) => {\n const [copied, setCopied] = useState(false);\n const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Clear any pending revert timer on unmount to avoid setting state on an unmounted component\n useEffect(\n () => () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n },\n [],\n );\n\n // Write the value to the clipboard and briefly show the copied confirmation\n const handleCopy = useCallback(async () => {\n try {\n await navigator.clipboard.writeText(value);\n setCopied(true);\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n timeoutRef.current = setTimeout(() => setCopied(false), 1500);\n } catch {\n // Clipboard access can be denied or unavailable; fail silently without breaking the UI\n }\n }, [value]);\n\n const ariaLabel = label ? `Copy ${typeof label === 'string' ? label : 'value'}` : 'Copy value';\n\n return (\n <Field className={className}>\n {label && <FieldLabel>{label}</FieldLabel>}\n <div\n className={cn(\n 'group flex items-center gap-2 rounded-md border border-border bg-secondary pl-3 pr-1 py-1',\n 'transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring hover:border-ring/60',\n )}\n >\n <span className={cn('min-w-0 flex-1 select-all break-all text-sm', mono && 'font-mono')}>{value}</span>\n <Tooltip content={copied ? 'Copied' : 'Copy'}>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n aria-label={ariaLabel}\n onClick={handleCopy}\n className=\"size-7 shrink-0 text-muted-foreground hover:text-foreground\"\n >\n {copied ? <Check className=\"size-4 text-success\" /> : <Copy className=\"size-4\" />}\n </Button>\n </Tooltip>\n </div>\n {description && <FieldDescription>{description}</FieldDescription>}\n </Field>\n );\n};\n\nCopyField.displayName = 'CopyField';\n"],"names":[],"mappings":";;;;;;;;;AAgCO,MAAM,SAAA,GAAsC,CAAC,EAAE,KAAA,EAAO,OAAO,WAAA,EAAa,IAAA,GAAO,IAAA,EAAM,SAAA,EAAU,KAAM;AAC5G,EAAA,MAAM,CAAC,MAAA,EAAQ,SAAS,CAAA,GAAI,SAAS,KAAK,CAAA;AAC1C,EAAA,MAAM,UAAA,GAAa,OAA6C,IAAI,CAAA;AAGpE,EAAA,SAAA;AAAA,IACE,MAAM,MAAM;AACV,MAAA,IAAI,WAAW,OAAA,EAAS;AACtB,QAAA,YAAA,CAAa,WAAW,OAAO,CAAA;AAAA,MACjC;AAAA,IACF,CAAA;AAAA,IACA;AAAC,GACH;AAGA,EAAA,MAAM,UAAA,GAAa,YAAY,YAAY;AACzC,IAAA,IAAI;AACF,MAAA,MAAM,SAAA,CAAU,SAAA,CAAU,SAAA,CAAU,KAAK,CAAA;AACzC,MAAA,SAAA,CAAU,IAAI,CAAA;AACd,MAAA,IAAI,WA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jF,EACF;AAAA;AAAA;AAAA,KACF;AAAA,IACC,WAAA,oBAAe,GAAA,CAAC,gBAAA,EAAA,EAAkB,QAAA,EAAA,WAAA,EAAY;AAAA,GAAA,EACjD,CAAA;AAEJ;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CopyField.d.ts","sourceRoot":"","sources":["../../../../lib/components/CopyField/CopyField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,cAAc;IAE7B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4D9C,CAAC"}
1
+ {"version":3,"file":"CopyField.d.ts","sourceRoot":"","sources":["../../../../lib/components/CopyField/CopyField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,cAAc;IAE7B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwD9C,CAAC"}
@@ -1,16 +1,25 @@
1
- export type PlatformBucket = 'web' | 'mobile' | 'app';
1
+ export type PlatformBucket = 'web' | 'mobile' | 'graphql' | 'http';
2
2
  export declare const PLATFORMS: PlatformBucket[];
3
- export type UiPlatformBucket = Exclude<PlatformBucket, 'app'>;
3
+ export type UiPlatformBucket = 'web' | 'mobile';
4
4
  export declare const UI_PLATFORMS: UiPlatformBucket[];
5
+ export declare const API_SURFACES: readonly ["GRAPHQL", "HTTP"];
6
+ export type ApiSurface = (typeof API_SURFACES)[number];
7
+ export type ApiBucket = Exclude<PlatformBucket, UiPlatformBucket>;
8
+ export declare const API_BUCKETS: ApiBucket[];
9
+ export declare const SURFACE_BY_BUCKET: Record<ApiBucket, ApiSurface>;
10
+ export declare const BUCKET_BY_SURFACE: Record<ApiSurface, ApiBucket>;
11
+ export declare function isApiBucket(bucket: PlatformBucket): bucket is ApiBucket;
5
12
  export interface PlatformCodes {
6
13
  web?: string[];
7
14
  mobile?: string[];
8
- app?: string[];
15
+ graphql?: string[];
16
+ http?: string[];
9
17
  }
10
18
  export interface PlatformDenyCodes {
11
19
  web?: string[] | null;
12
20
  mobile?: string[] | null;
13
- app?: string[] | null;
21
+ graphql?: string[] | null;
22
+ http?: string[] | null;
14
23
  }
15
24
  export type FeatureUnlocks = Record<string, PlatformCodes>;
16
25
  export type FeatureLocks = Record<string, PlatformDenyCodes>;
@@ -56,6 +65,7 @@ export interface SnapshotFeature {
56
65
  permissions: SnapshotPermission[];
57
66
  microfrontends: SnapshotMicrofrontends;
58
67
  requiredServices?: ServiceCode[];
68
+ apiSurfaces?: ApiSurface[];
59
69
  }
60
70
  export interface SnapshotAppFeatureRef {
61
71
  code: string;
@@ -106,7 +116,7 @@ export interface VersionSnapshot {
106
116
  businesses: Record<string, SnapshotBusiness>;
107
117
  }
108
118
  export declare function snapshotFeatureKey(code: string, scope: ScopeType): string;
109
- export declare const SNAPSHOT_SCHEMA_VERSION = 2;
119
+ export declare const SNAPSHOT_SCHEMA_VERSION = 4;
110
120
  export type LockReason = 'PLAN' | 'SITE' | 'SERVICE';
111
121
  export interface CatalogPermission {
112
122
  code: string;
@@ -154,7 +164,8 @@ export interface SiteMatrixPermission {
154
164
  dependsOn: string[];
155
165
  web: SiteMatrixCell | null;
156
166
  mobile: SiteMatrixCell | null;
157
- app: SiteMatrixCell | null;
167
+ graphql: SiteMatrixCell | null;
168
+ http: SiteMatrixCell | null;
158
169
  }
159
170
  export interface SiteMatrixFeature {
160
171
  code: string;
@@ -165,6 +176,7 @@ export interface SiteMatrixFeature {
165
176
  platforms: PlatformBucket[];
166
177
  inPlan: boolean;
167
178
  availableIn: string[];
179
+ apiSurfaces?: ApiSurface[];
168
180
  permissions: SiteMatrixPermission[];
169
181
  }
170
182
  export interface SiteMatrixApp {
@@ -184,7 +196,7 @@ export interface SiteMatrix {
184
196
  locks: SiteFeatureLocks;
185
197
  }
186
198
  export type RevokedGrants = Record<string, PlatformDenyCodes>;
187
- export type ClientPlatform = 'web' | 'ios' | 'android' | 'app';
199
+ export type ClientPlatform = 'web' | 'ios' | 'android' | 'graphql' | 'http';
188
200
  export interface LockedPermission {
189
201
  code: string;
190
202
  reason: LockReason | null;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-resolver.d.ts","sourceRoot":"","sources":["../../../lib/types/catalog-resolver.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEtD,eAAO,MAAM,SAAS,EAAE,cAAc,EAA6B,CAAC;AAGpE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,gBAAgB,EAAsB,CAAC;AAElE,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACzB,GAAG,CAAC,EAAE,MA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Q,EAAE,eAAe,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,cAAc,CAAC;IAC7B,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,cAAc,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,SAAS,CAAC;CACpC"}
@@ -1,10 +1,17 @@
1
- const PLATFORMS = ["web", "mobile", "app"];
1
+ const PLATFORMS = ["web", "mobile", "graphql", "http"];
2
2
  const UI_PLATFORMS = ["web", "mobile"];
3
+ const API_SURFACES = ["GRAPHQL", "HTTP"];
4
+ const API_BUCKETS = ["graphql", "http"];
5
+ const SURFACE_BY_BUCKET = { graphql: "GRAPHQL", http: "HTTP" };
6
+ const BUCKET_BY_SURFACE = { GRAPHQL: "graphql", HTTP: "http" };
7
+ function isApiBucket(bucket) {
8
+ return bucket === "graphql" || bucket === "http";
9
+ }
3
10
  const SERVICE_CODES = ["GITEA"];
4
11
  function snapshotFeatureKey(code, scope) {
5
12
  return `${scope}.${code}`;
6
13
  }
7
- const SNAPSHOT_SCHEMA_VERSION = 2;
14
+ const SNAPSHOT_SCHEMA_VERSION = 4;
8
15
 
9
- export { PLATFORMS, SERVICE_CODES, SNAPSHOT_SCHEMA_VERSION, UI_PLATFORMS, snapshotFeatureKey };
16
+ export { API_BUCKETS, API_SURFACES, BUCKET_BY_SURFACE, PLATFORMS, SERVICE_CODES, SNAPSHOT_SCHEMA_VERSION, SURFACE_BY_BUCKET, UI_PLATFORMS, isApiBucket, snapshotFeatureKey };
10
17
  //# sourceMappingURL=catalog-resolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\n\n/**\n * The surfaces a permission can be granted on.\n *\n * `web` and `mobile` are UI buckets, reached by loading a microfrontend. `app` is an API client\n * signing its own requests — no microfrontend and no route, so a headless feature is grantable\n * there and nowhere else.\n */\nexport type PlatformBucket = 'web' | 'mobile' | 'app';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile', 'app'];\n\n/** Buckets that reach their feature through a microfrontend, and so require one to resolve. */\nexport type UiPlatformBucket = Exclude<PlatformBucket, 'app'>;\n\nexport const UI_PLATFORMS: UiPlatformBucket[] = ['web', 'mobile'];\n\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n app?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n app?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type SiteFeatureLocks = FeatureLocks;\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport const SERVICE_CODES = ['GITEA'] as const;\nexport type ServiceCode = (typeof SERVICE_CODES)[number];\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n requiredServices?: ServiceCode[];\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n apps: SnapshotApp[];\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 2;\n\nexport type LockReason = 'PLAN' | 'SITE' | 'SERVICE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n app: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n unlockedCount: number;\n totalCount: number;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: SiteFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android' | 'app';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n // Which declared services the org has not provisioned — empty unless lockReason is 'SERVICE'\n missingServices: ServiceCode[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n siteLocks: SiteFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAWO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAA,EAAU,KAAK;AAK3D,MAAM,YAAA,GAAmC,CAAC,KAAA,EAAO,QAAQ;AAmDzD,MAAM,aAAA,GAAgB,CAAC,OAAO;AAuE9B,SAAS,kBAAA,CAAmB,MAAc,KAAA,EAA0B;AACzE,EAAA,OAAO,CAAA,EAAG,KAAK,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AACzB;AAEO,MAAM,uBAAA,GAA0B;;;;"}
1
+ {"version":3,"file":"catalog-resolver.js","sources":["../../lib/types/catalog-resolver.ts"],"sourcesContent":["// Frontend mirror of @vritti/api-sdk/catalog-resolver types — keep field-for-field in sync\n\n/**\n * The surfaces a permission can be granted on.\n *\n * `web` and `mobile` are UI buckets, reached by loading a microfrontend. `graphql` and `http` are\n * API surfaces a credential signs its own requests against — no microfrontend and no route, so a\n * headless feature is grantable there and nowhere else, and each surface is entitled independently.\n */\nexport type PlatformBucket = 'web' | 'mobile' | 'graphql' | 'http';\n\nexport const PLATFORMS: PlatformBucket[] = ['web', 'mobile', 'graphql', 'http'];\n\n/** Buckets that reach their feature through a microfrontend, and so require one to resolve. */\nexport type UiPlatformBucket = 'web' | 'mobile';\n\nexport const UI_PLATFORMS: UiPlatformBucket[] = ['web', 'mobile'];\n\n// The API surfaces an app credential can present — the values of core's `app_type` enum\nexport const API_SURFACES = ['GRAPHQL', 'HTTP'] as const;\nexport type ApiSurface = (typeof API_SURFACES)[number];\n\n/** Buckets that admit an API credential rather than a person — exactly one per surface. */\nexport type ApiBucket = Exclude<PlatformBucket, UiPlatformBucket>;\n\nexport const API_BUCKETS: ApiBucket[] = ['graphql', 'http'];\n\nexport const SURFACE_BY_BUCKET: Record<ApiBucket, ApiSurface> = { graphql: 'GRAPHQL', http: 'HTTP' };\nexport const BUCKET_BY_SURFACE: Record<ApiSurface, ApiBucket> = { GRAPHQL: 'graphql', HTTP: 'http' };\n\nexport function isApiBucket(bucket: PlatformBucket): bucket is ApiBucket {\n return bucket === 'graphql' || bucket === 'http';\n}\n\n// A legacy single `app` bucket may still occur in stored documents from before the split; it is\n// deliberately not part of these shapes — the server's resolvers honour it at read time only.\nexport interface PlatformCodes {\n web?: string[];\n mobile?: string[];\n graphql?: string[];\n http?: string[];\n}\n\nexport interface PlatformDenyCodes {\n web?: string[] | null;\n mobile?: string[] | null;\n graphql?: string[] | null;\n http?: string[] | null;\n}\n\nexport type FeatureUnlocks = Record<string, PlatformCodes>;\n\nexport type FeatureLocks = Record<string, PlatformDenyCodes>;\nexport type SiteFeatureLocks = FeatureLocks;\n\nexport interface SnapshotPermission {\n code: string;\n label: string;\n isGlobal: boolean;\n businesses: string[];\n dependsOn: string[];\n}\n\nexport interface SnapshotMicrofrontendWeb {\n code: string;\n name: string;\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontendMobile {\n code: string;\n name: string;\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n}\n\nexport interface SnapshotMicrofrontends {\n web?: SnapshotMicrofrontendWeb;\n mobile?: SnapshotMicrofrontendMobile;\n}\n\nexport type ScopeType = 'ORG' | 'LE' | 'SITE_GROUP' | 'SITE';\nexport type SiteType = 'OUTLET' | 'WAREHOUSE' | 'PRODUCTION';\nexport const SERVICE_CODES = ['GITEA'] as const;\nexport type ServiceCode = (typeof SERVICE_CODES)[number];\nexport interface SnapshotFeature {\n code: string;\n name: string;\n lucideIcon: string;\n sfSymbol: string;\n materialSymbol: string;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n permissions: SnapshotPermission[];\n microfrontends: SnapshotMicrofrontends;\n requiredServices?: ServiceCode[];\n // Absent on pre-flag snapshots, which reads as \"reachable by any app credential\"\n apiSurfaces?: ApiSurface[];\n}\n\nexport interface SnapshotAppFeatureRef {\n code: string;\n scope: ScopeType;\n}\n\nexport interface SnapshotApp {\n code: string;\n name: string;\n icon: string;\n sortOrder: number;\n features: SnapshotAppFeatureRef[];\n}\n\nexport interface SnapshotRoleTemplate {\n name: string;\n code: string;\n scope: ScopeType;\n siteType: SiteType;\n features: FeatureUnlocks;\n}\n\nexport interface SnapshotPlan {\n code: string;\n name: string;\n isCustom: boolean;\n maxSites: number | null;\n unlockedPermissions: FeatureUnlocks;\n}\n\nexport interface VocabularyEntry {\n singular: string;\n plural: string;\n}\nexport interface BusinessVocabulary {\n site?: VocabularyEntry;\n siteGroup?: VocabularyEntry;\n outlet?: VocabularyEntry;\n warehouse?: VocabularyEntry;\n production?: VocabularyEntry;\n}\nexport interface SnapshotBusiness {\n name: string;\n vocabulary?: BusinessVocabulary;\n apps: SnapshotApp[];\n roleTemplates: Record<string, SnapshotRoleTemplate>;\n plans: Record<string, SnapshotPlan>;\n}\n\nexport interface VersionSnapshot {\n schemaVersion?: number;\n // Flat feature dictionary keyed by `${scope}.${code}` (see snapshotFeatureKey) — same-code features at different scopes stay distinct\n features: Record<string, SnapshotFeature>;\n businesses: Record<string, SnapshotBusiness>;\n}\n\n// Composite key for the snapshot feature dictionary — feature identity is (scope, code)\nexport function snapshotFeatureKey(code: string, scope: ScopeType): string {\n return `${scope}.${code}`;\n}\n\nexport const SNAPSHOT_SCHEMA_VERSION = 4;\n\nexport type LockReason = 'PLAN' | 'SITE' | 'SERVICE';\n\nexport interface CatalogPermission {\n code: string;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface FeatureCatalogEntry {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n web: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n mobile: {\n remoteEntryAndroid: string;\n remoteEntryIos: string;\n exposedModule: string;\n routePrefix: string;\n } | null;\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n permissions: CatalogPermission[];\n}\n\nexport type RoleItem = SnapshotRoleTemplate;\n\nexport interface SiteMatrixCell {\n inPlan: boolean;\n selected: boolean;\n availableIn: string[];\n}\n\nexport interface SiteMatrixPermission {\n code: string;\n label: string;\n dependsOn: string[];\n web: SiteMatrixCell | null;\n mobile: SiteMatrixCell | null;\n graphql: SiteMatrixCell | null;\n http: SiteMatrixCell | null;\n}\n\nexport interface SiteMatrixFeature {\n code: string;\n name: string;\n icon: string | null;\n scope: ScopeType;\n applicableSiteTypes: SiteType[];\n platforms: PlatformBucket[];\n inPlan: boolean;\n availableIn: string[];\n // API surfaces the feature declares — lets the app-credential editor filter by credential type\n apiSurfaces?: ApiSurface[];\n permissions: SiteMatrixPermission[];\n}\n\nexport interface SiteMatrixApp {\n code: string;\n name: string;\n icon: string | null;\n unlockedCount: number;\n totalCount: number;\n features: SiteMatrixFeature[];\n}\n\nexport interface SiteMatrix {\n plan: { code: string; name: string };\n apps: SiteMatrixApp[];\n locks: SiteFeatureLocks;\n}\n\nexport type RevokedGrants = Record<string, PlatformDenyCodes>;\n\nexport type ClientPlatform = 'web' | 'ios' | 'android' | 'graphql' | 'http';\n\nexport interface LockedPermission {\n code: string;\n reason: LockReason | null;\n unlockPlans: string[];\n missingServices: ServiceCode[];\n}\n\nexport interface PlanUpsell {\n plan: string;\n features: string[];\n}\n\nexport interface PermissionFeature {\n code: string;\n name: string;\n lucideIcon: string | null;\n sfSymbol: string;\n materialSymbol: string;\n permissions: string[];\n locked: boolean;\n lockReason: LockReason | null;\n unlockPlans: string[];\n // Which declared services the org has not provisioned — empty unless lockReason is 'SERVICE'\n missingServices: ServiceCode[];\n lockedPermissions: LockedPermission[];\n upsell: PlanUpsell[];\n route: {\n remoteEntry: string;\n exposedModule: string;\n routePrefix: string;\n };\n appCode: string;\n appName: string;\n appIcon: string | null;\n appSortOrder: number;\n}\n\nexport interface ResolveUserFeaturesParams {\n snapshot: VersionSnapshot;\n businessCode: string;\n planCode: string | undefined;\n siteLocks: SiteFeatureLocks | undefined;\n roleFeatures: FeatureUnlocks;\n platform: ClientPlatform;\n}\n\nexport interface ComposeRoleGrantsParams {\n baseFeatures: FeatureUnlocks | undefined;\n additions: FeatureUnlocks;\n revoked: RevokedGrants | undefined;\n}\n"],"names":[],"mappings":"AAWO,MAAM,SAAA,GAA8B,CAAC,KAAA,EAAO,QAAA,EAAU,WAAW,MAAM;AAKvE,MAAM,YAAA,GAAmC,CAAC,KAAA,EAAO,QAAQ;AAGzD,MAAM,YAAA,GAAe,CAAC,SAAA,EAAW,MAAM;AAMvC,MAAM,WAAA,GAA2B,CAAC,SAAA,EAAW,MAAM;AAEnD,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AACrF,MAAM,iBAAA,GAAmD,EAAE,OAAA,EAAS,SAAA,EAAW,MAAM,MAAA;AAErF,SAAS,YAAY,MAAA,EAA6C;AACvE,EAAA,OAAO,MAAA,KAAW,aAAa,MAAA,KAAW,MAAA;AAC5C;AAuDO,MAAM,aAAA,GAAgB,CAAC,OAAO;AAyE9B,SAAS,kBAAA,CAAmB,MAAc,KAAA,EAA0B;AACzE,EAAA,OAAO,CAAA,EAAG,KAAK,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AACzB;AAEO,MAAM,uBAAA,GAA0B;;;;"}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.3.22",
8
+ "version": "0.3.24",
9
9
  "type": "module",
10
10
  "sideEffects": false,
11
11
  "repository": {