convex-cms 0.0.9-alpha.1 → 0.0.9-alpha.3

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.
@@ -1,6 +1,6 @@
1
1
  import { useRouterState, useNavigate, Link } from '@tanstack/react-router'
2
2
  import { useAuth, useAdminConfig, useBreadcrumbContext } from '~/contexts'
3
- import { getRole } from '../../../src/component/roles'
3
+ import { getRole } from 'convex-cms'
4
4
  import {
5
5
  Breadcrumb,
6
6
  BreadcrumbItem,
@@ -27,7 +27,7 @@
27
27
 
28
28
  import type { ReactNode } from 'react';
29
29
  import { useAuth, type PermissionCheck } from '../contexts/AuthContext';
30
- import type { RoleName } from '../../../src/component/roles';
30
+ import type { RoleName } from 'convex-cms';
31
31
  import { Loader2 } from 'lucide-react';
32
32
 
33
33
  // =============================================================================
@@ -39,7 +39,7 @@ import {
39
39
  type Resource,
40
40
  type Action,
41
41
  type OwnershipScope,
42
- } from '../../../src/component/roles';
42
+ } from 'convex-cms';
43
43
 
44
44
  // =============================================================================
45
45
  // Types
@@ -30,7 +30,7 @@ import {
30
30
  type Action,
31
31
  type OwnershipScope,
32
32
  type Permission,
33
- } from '../../../src/component/roles';
33
+ } from 'convex-cms';
34
34
 
35
35
  // =============================================================================
36
36
  // Types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "convex-cms",
3
- "version": "0.0.9-alpha.1",
3
+ "version": "0.0.9-alpha.3",
4
4
  "description": "A developer-first Convex Component for content management with flexible RBAC and AI-ready architecture",
5
5
  "type": "module",
6
6
  "workspaces": [