@burdenoff/microfe-organization 2026.525.1 → 2026.525.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.
- package/package.json +1 -1
- package/dist/generated/global-operations.d.ts +0 -1738
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -56
- package/dist/index.d.ts.map +0 -1
- package/dist/organization-management/AdminOrganizationRoot.d.ts +0 -16
- package/dist/organization-management/AdminOrganizationRoot.d.ts.map +0 -1
- package/dist/organization-management/AdminOrganizationRoutes.d.ts +0 -16
- package/dist/organization-management/AdminOrganizationRoutes.d.ts.map +0 -1
- package/dist/organization-management/UserOrganizationRoot.d.ts +0 -24
- package/dist/organization-management/UserOrganizationRoot.d.ts.map +0 -1
- package/dist/organization-management/UserOrganizationRoutes.d.ts +0 -34
- package/dist/organization-management/UserOrganizationRoutes.d.ts.map +0 -1
- package/dist/organization-management/constants/permissions.d.ts +0 -30
- package/dist/organization-management/constants/permissions.d.ts.map +0 -1
- package/dist/organization-management/hooks/useOrganizationEventEmitter.d.ts +0 -19
- package/dist/organization-management/hooks/useOrganizationEventEmitter.d.ts.map +0 -1
- package/dist/organization-management/hooks/useOrganizationPageView.d.ts +0 -11
- package/dist/organization-management/hooks/useOrganizationPageView.d.ts.map +0 -1
- package/dist/organization-management/modules/members/components/InviteMemberForm.d.ts +0 -18
- package/dist/organization-management/modules/members/components/InviteMemberForm.d.ts.map +0 -1
- package/dist/organization-management/modules/members/components/InviteStatusBadge.d.ts +0 -6
- package/dist/organization-management/modules/members/components/InviteStatusBadge.d.ts.map +0 -1
- package/dist/organization-management/modules/members/components/MemberRoleBadge.d.ts +0 -11
- package/dist/organization-management/modules/members/components/MemberRoleBadge.d.ts.map +0 -1
- package/dist/organization-management/modules/members/components/MyInviteCard.d.ts +0 -22
- package/dist/organization-management/modules/members/components/MyInviteCard.d.ts.map +0 -1
- package/dist/organization-management/modules/members/components/PendingInvitesList.d.ts +0 -6
- package/dist/organization-management/modules/members/components/PendingInvitesList.d.ts.map +0 -1
- package/dist/organization-management/modules/members/hooks/useInvites.d.ts +0 -80
- package/dist/organization-management/modules/members/hooks/useInvites.d.ts.map +0 -1
- package/dist/organization-management/modules/members/hooks/useMembers.d.ts +0 -84
- package/dist/organization-management/modules/members/hooks/useMembers.d.ts.map +0 -1
- package/dist/organization-management/modules/members/pages/InviteMemberPage.d.ts +0 -6
- package/dist/organization-management/modules/members/pages/InviteMemberPage.d.ts.map +0 -1
- package/dist/organization-management/modules/members/pages/MemberDetailPage.d.ts +0 -6
- package/dist/organization-management/modules/members/pages/MemberDetailPage.d.ts.map +0 -1
- package/dist/organization-management/modules/members/pages/MembersListPage.d.ts +0 -2
- package/dist/organization-management/modules/members/pages/MembersListPage.d.ts.map +0 -1
- package/dist/organization-management/modules/members/pages/MyInvitesPage.d.ts +0 -6
- package/dist/organization-management/modules/members/pages/MyInvitesPage.d.ts.map +0 -1
- package/dist/organization-management/modules/members/types/index.d.ts +0 -35
- package/dist/organization-management/modules/members/types/index.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/components/OrganizationForm.d.ts +0 -13
- package/dist/organization-management/modules/organizations/components/OrganizationForm.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.d.ts +0 -13
- package/dist/organization-management/modules/organizations/components/OrganizationStatusBadge.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/hooks/useOrganizations.d.ts +0 -118
- package/dist/organization-management/modules/organizations/hooks/useOrganizations.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/hooks/useOrgsWithPermission.d.ts +0 -26
- package/dist/organization-management/modules/organizations/hooks/useOrgsWithPermission.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/pages/OrganizationCreatePage.d.ts +0 -6
- package/dist/organization-management/modules/organizations/pages/OrganizationCreatePage.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.d.ts +0 -2
- package/dist/organization-management/modules/organizations/pages/OrganizationDetailPage.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/pages/OrganizationEditPage.d.ts +0 -6
- package/dist/organization-management/modules/organizations/pages/OrganizationEditPage.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.d.ts +0 -19
- package/dist/organization-management/modules/organizations/pages/OrganizationsListPage.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/schemas/index.d.ts +0 -53
- package/dist/organization-management/modules/organizations/schemas/index.d.ts.map +0 -1
- package/dist/organization-management/modules/organizations/types/index.d.ts +0 -34
- package/dist/organization-management/modules/organizations/types/index.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/components/AddWorkspaceMemberDialog.d.ts +0 -13
- package/dist/organization-management/modules/workspaces/components/AddWorkspaceMemberDialog.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/components/WorkspaceCard.d.ts +0 -16
- package/dist/organization-management/modules/workspaces/components/WorkspaceCard.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/components/WorkspaceForm.d.ts +0 -16
- package/dist/organization-management/modules/workspaces/components/WorkspaceForm.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.d.ts +0 -13
- package/dist/organization-management/modules/workspaces/components/WorkspaceStatusBadge.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/hooks/useWorkspaceMembers.d.ts +0 -47
- package/dist/organization-management/modules/workspaces/hooks/useWorkspaceMembers.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/hooks/useWorkspaces.d.ts +0 -133
- package/dist/organization-management/modules/workspaces/hooks/useWorkspaces.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/pages/WorkspaceCreatePage.d.ts +0 -2
- package/dist/organization-management/modules/workspaces/pages/WorkspaceCreatePage.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.d.ts +0 -2
- package/dist/organization-management/modules/workspaces/pages/WorkspaceDetailPage.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/pages/WorkspaceEditPage.d.ts +0 -2
- package/dist/organization-management/modules/workspaces/pages/WorkspaceEditPage.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.d.ts +0 -2
- package/dist/organization-management/modules/workspaces/pages/WorkspacesListPage.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/schemas/index.d.ts +0 -44
- package/dist/organization-management/modules/workspaces/schemas/index.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/types/index.d.ts +0 -39
- package/dist/organization-management/modules/workspaces/types/index.d.ts.map +0 -1
- package/dist/organization-management/modules/workspaces/types/workspace-member.d.ts +0 -48
- package/dist/organization-management/modules/workspaces/types/workspace-member.d.ts.map +0 -1
- package/dist/organization-management/providers/OrgConsoleProvider.d.ts +0 -19
- package/dist/organization-management/providers/OrgConsoleProvider.d.ts.map +0 -1
- package/dist/organization-management/providers/OrgScopedPermissions.d.ts +0 -22
- package/dist/organization-management/providers/OrgScopedPermissions.d.ts.map +0 -1
- package/dist/organization-management/shared/components/dialog/ConfirmDialog.d.ts +0 -28
- package/dist/organization-management/shared/components/dialog/ConfirmDialog.d.ts.map +0 -1
- package/dist/organization-management/shared/components/feedback/EmptyState.d.ts +0 -14
- package/dist/organization-management/shared/components/feedback/EmptyState.d.ts.map +0 -1
- package/dist/organization-management/shared/components/feedback/ErrorState.d.ts +0 -11
- package/dist/organization-management/shared/components/feedback/ErrorState.d.ts.map +0 -1
- package/dist/organization-management/shared/components/feedback/LoadingState.d.ts +0 -6
- package/dist/organization-management/shared/components/feedback/LoadingState.d.ts.map +0 -1
- package/dist/organization-management/shared/components/input/SearchInput.d.ts +0 -15
- package/dist/organization-management/shared/components/input/SearchInput.d.ts.map +0 -1
- package/dist/organization-management/shared/components/input/SelectionCheckbox.d.ts +0 -10
- package/dist/organization-management/shared/components/input/SelectionCheckbox.d.ts.map +0 -1
- package/dist/organization-management/shared/hooks/useDebouncedValue.d.ts +0 -2
- package/dist/organization-management/shared/hooks/useDebouncedValue.d.ts.map +0 -1
- package/dist/organization-management/shared/hooks/useTr.d.ts +0 -14
- package/dist/organization-management/shared/hooks/useTr.d.ts.map +0 -1
- package/dist/organization-management/shared/logger.d.ts +0 -11
- package/dist/organization-management/shared/logger.d.ts.map +0 -1
- package/dist/organization-management/shared/recaptcha.d.ts +0 -2
- package/dist/organization-management/shared/recaptcha.d.ts.map +0 -1
- package/dist/organization-management/shared/types/graphql.d.ts +0 -131
- package/dist/organization-management/shared/types/graphql.d.ts.map +0 -1
- package/dist/organization-management/shared/utils/cn.d.ts +0 -8
- package/dist/organization-management/shared/utils/cn.d.ts.map +0 -1
- package/dist/organization-management/types/index.d.ts +0 -46
- package/dist/organization-management/types/index.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { WorkspaceStatus } from '../types';
|
|
3
|
-
|
|
4
|
-
export declare const createWorkspaceSchema: z.ZodObject<{
|
|
5
|
-
status: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceStatus>>;
|
|
6
|
-
name: z.ZodString;
|
|
7
|
-
slug: z.ZodString;
|
|
8
|
-
type: z.ZodOptional<z.ZodString>;
|
|
9
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
-
tenantId: z.ZodString;
|
|
11
|
-
organizationId: z.ZodString;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
tenantId: string;
|
|
14
|
-
organizationId: string;
|
|
15
|
-
name: string;
|
|
16
|
-
slug: string;
|
|
17
|
-
status?: WorkspaceStatus | undefined;
|
|
18
|
-
type?: string | undefined;
|
|
19
|
-
metadata?: Record<string, unknown> | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
tenantId: string;
|
|
22
|
-
organizationId: string;
|
|
23
|
-
name: string;
|
|
24
|
-
slug: string;
|
|
25
|
-
status?: WorkspaceStatus | undefined;
|
|
26
|
-
type?: string | undefined;
|
|
27
|
-
metadata?: Record<string, unknown> | undefined;
|
|
28
|
-
}>;
|
|
29
|
-
export declare const updateWorkspaceSchema: z.ZodObject<{
|
|
30
|
-
name: z.ZodOptional<z.ZodString>;
|
|
31
|
-
type: z.ZodOptional<z.ZodString>;
|
|
32
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
name?: string | undefined;
|
|
35
|
-
type?: string | undefined;
|
|
36
|
-
metadata?: Record<string, unknown> | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
type?: string | undefined;
|
|
40
|
-
metadata?: Record<string, unknown> | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
export type CreateWorkspaceFormData = z.infer<typeof createWorkspaceSchema>;
|
|
43
|
-
export type UpdateWorkspaceFormData = z.infer<typeof updateWorkspaceSchema>;
|
|
44
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/modules/workspaces/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA6B3C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAGH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC5E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Workspace, WorkspaceStatus } from '../../../shared/types/graphql';
|
|
2
|
-
|
|
3
|
-
export type { Workspace };
|
|
4
|
-
export { WorkspaceStatus };
|
|
5
|
-
export type { WorkspaceMember, WorkspaceMembersConnection, AddWorkspaceMemberInput, UpdateWorkspaceMemberInput, UserRole, } from './workspace-member';
|
|
6
|
-
export { WorkspaceMemberRole } from './workspace-member';
|
|
7
|
-
export interface WorkspacesConnection {
|
|
8
|
-
items: Workspace[];
|
|
9
|
-
total: number;
|
|
10
|
-
limit: number;
|
|
11
|
-
offset: number;
|
|
12
|
-
hasMore: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface WorkspaceFilterInput {
|
|
15
|
-
status?: WorkspaceStatus;
|
|
16
|
-
organizationId?: string;
|
|
17
|
-
tenantId?: string;
|
|
18
|
-
search?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface WorkspaceStats {
|
|
21
|
-
totalMembers: number;
|
|
22
|
-
activeMembers: number;
|
|
23
|
-
storageUsed: number;
|
|
24
|
-
storageLimit: number;
|
|
25
|
-
}
|
|
26
|
-
export interface CreateWorkspaceInput {
|
|
27
|
-
name: string;
|
|
28
|
-
slug: string;
|
|
29
|
-
tenantId: string;
|
|
30
|
-
organizationId: string;
|
|
31
|
-
type?: string;
|
|
32
|
-
metadata?: Record<string, unknown>;
|
|
33
|
-
}
|
|
34
|
-
export interface UpdateWorkspaceInput {
|
|
35
|
-
name?: string;
|
|
36
|
-
type?: string;
|
|
37
|
-
metadata?: Record<string, unknown>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/modules/workspaces/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,YAAY,EAAE,SAAS,EAAE,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,CAAC;AAG3B,YAAY,EACV,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAGD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAGD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Workspace Member Types
|
|
3
|
-
* Aligned with backend WorkspaceMember schema
|
|
4
|
-
*/
|
|
5
|
-
export type UserRole = 'SUPER_ADMIN' | 'TENANT_ADMIN' | 'ORG_ADMIN' | 'WORKSPACE_ADMIN' | 'MEMBER' | 'GUEST';
|
|
6
|
-
export declare const WorkspaceMemberRole: {
|
|
7
|
-
SUPER_ADMIN: "SUPER_ADMIN";
|
|
8
|
-
TENANT_ADMIN: "TENANT_ADMIN";
|
|
9
|
-
ORG_ADMIN: "ORG_ADMIN";
|
|
10
|
-
WORKSPACE_ADMIN: "WORKSPACE_ADMIN";
|
|
11
|
-
MEMBER: "MEMBER";
|
|
12
|
-
GUEST: "GUEST";
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Workspace Member type matching backend schema
|
|
16
|
-
*/
|
|
17
|
-
export interface WorkspaceMember {
|
|
18
|
-
id: string;
|
|
19
|
-
userId: string;
|
|
20
|
-
role: UserRole;
|
|
21
|
-
invitedBy?: string | null;
|
|
22
|
-
joinedAt: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Workspace Member List response (paginated)
|
|
26
|
-
*/
|
|
27
|
-
export interface WorkspaceMembersConnection {
|
|
28
|
-
items: WorkspaceMember[];
|
|
29
|
-
total: number;
|
|
30
|
-
limit: number;
|
|
31
|
-
offset: number;
|
|
32
|
-
hasMore: boolean;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Input for adding a workspace member
|
|
36
|
-
*/
|
|
37
|
-
export interface AddWorkspaceMemberInput {
|
|
38
|
-
workspaceId: string;
|
|
39
|
-
userId: string;
|
|
40
|
-
role?: UserRole;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Input for updating a workspace member's role
|
|
44
|
-
*/
|
|
45
|
-
export interface UpdateWorkspaceMemberInput {
|
|
46
|
-
role: UserRole;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=workspace-member.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-member.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/modules/workspaces/types/workspace-member.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,MAAM,QAAQ,GAChB,aAAa,GACb,cAAc,GACd,WAAW,GACX,iBAAiB,GACjB,QAAQ,GACR,OAAO,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;CAO/B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,QAAQ,CAAC;CAChB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { OrganizationRootProps } from '../types';
|
|
3
|
-
|
|
4
|
-
type OrgConsoleContextValue = OrganizationRootProps;
|
|
5
|
-
export interface OrgConsoleProviderProps extends OrganizationRootProps {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* OrgConsoleProvider
|
|
10
|
-
* Provides global console context to all child components
|
|
11
|
-
*/
|
|
12
|
-
export declare function OrgConsoleProvider({ children, ...props }: OrgConsoleProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
/**
|
|
14
|
-
* Hook to access global console context
|
|
15
|
-
* @throws Error if used outside OrgConsoleProvider
|
|
16
|
-
*/
|
|
17
|
-
export declare function useOrgConsole(): OrgConsoleContextValue;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=OrgConsoleProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrgConsoleProvider.d.ts","sourceRoot":"","sources":["../../../src/organization-management/providers/OrgConsoleProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,KAAK,sBAAsB,GAAG,qBAAqB,CAAC;AAIpD,MAAM,WAAW,uBAAwB,SAAQ,qBAAqB;IACpE,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,2CAQjF;AAED;;;GAGG;AACH,wBAAgB,aAAa,IAAI,sBAAsB,CAMtD"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Wrap a per-organization route's content with a `PermissionProvider`
|
|
5
|
-
* scoped to that organization's id.
|
|
6
|
-
*
|
|
7
|
-
* The outer `OrgConsoleProvider` mounts a tenant-scoped `PermissionProvider`,
|
|
8
|
-
* which is correct for tenant-wide pages (org list, create). On org-specific
|
|
9
|
-
* pages (detail, edit, members, workspaces) we need scope = the org's id so
|
|
10
|
-
* `hasPermission(...)` reflects the user's per-org role (Owner / Admin /
|
|
11
|
-
* Editor / Viewer) — assignments which live at the org's scope and would
|
|
12
|
-
* otherwise be invisible in a tenant-scoped query.
|
|
13
|
-
*
|
|
14
|
-
* Nested `PermissionProvider`s override the outer one for any consumer
|
|
15
|
-
* inside this subtree; global-scope roles (e.g. Authenticated User) still
|
|
16
|
-
* flow in via the rbac service's `[scopeId, 'global']` merge.
|
|
17
|
-
*/
|
|
18
|
-
export declare function OrgScopedPermissions({ organizationId, children, }: {
|
|
19
|
-
organizationId: string;
|
|
20
|
-
children: ReactNode;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
//# sourceMappingURL=OrgScopedPermissions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrgScopedPermissions.d.ts","sourceRoot":"","sources":["../../../src/organization-management/providers/OrgScopedPermissions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,cAAc,EACd,QAAQ,GACT,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAMA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
type ConfirmDialogVariant = 'default' | 'warning' | 'danger';
|
|
2
|
-
interface ConfirmDialogProps {
|
|
3
|
-
open: boolean;
|
|
4
|
-
onOpenChange: (open: boolean) => void;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
confirmText?: string;
|
|
8
|
-
cancelText?: string;
|
|
9
|
-
variant?: ConfirmDialogVariant;
|
|
10
|
-
onConfirm: () => void;
|
|
11
|
-
}
|
|
12
|
-
interface ConfirmDialogState {
|
|
13
|
-
open: boolean;
|
|
14
|
-
title: string;
|
|
15
|
-
description: string;
|
|
16
|
-
confirmText?: string;
|
|
17
|
-
cancelText?: string;
|
|
18
|
-
variant?: ConfirmDialogVariant;
|
|
19
|
-
}
|
|
20
|
-
export declare function ConfirmDialog({ open, onOpenChange, title, description, confirmText, cancelText, variant, onConfirm, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function useConfirmDialog(): {
|
|
22
|
-
openConfirmDialog: (config: Omit<ConfirmDialogState, "open"> & {
|
|
23
|
-
onConfirm: () => void;
|
|
24
|
-
}) => void;
|
|
25
|
-
ConfirmDialog: import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/dialog/ConfirmDialog.tsx"],"names":[],"mappings":"AAcA,KAAK,oBAAoB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7D,UAAU,kBAAkB;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,UAAU,kBAAkB;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAkCD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,WAAW,EACX,WAAW,EACX,UAAU,EACV,OAAmB,EACnB,SAAS,GACV,EAAE,kBAAkB,2CA8CpB;AAED,wBAAgB,gBAAgB;gCASnB,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG;QAAE,SAAS,EAAE,MAAM,IAAI,CAAA;KAAE;;EAkCxE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface EmptyStateProps {
|
|
4
|
-
icon: ReactNode;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
action?: {
|
|
8
|
-
label: string;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare function EmptyState({ icon, title, description, action }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/feedback/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,eAAe,2CAyB/E"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface ErrorStateProps {
|
|
2
|
-
title?: string;
|
|
3
|
-
message: string;
|
|
4
|
-
action?: {
|
|
5
|
-
label: string;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare function ErrorState({ title, message, action }: ErrorStateProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=ErrorState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorState.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/feedback/ErrorState.tsx"],"names":[],"mappings":"AAGA,UAAU,eAAe;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,eAAe,2CAkCrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingState.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/feedback/LoadingState.tsx"],"names":[],"mappings":"AAGA,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,2CAc1D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface SearchInputProps {
|
|
2
|
-
value: string;
|
|
3
|
-
onChange: (value: string) => void;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
inputId?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* SearchInput
|
|
11
|
-
* Reusable search input component with clear button
|
|
12
|
-
*/
|
|
13
|
-
export declare function SearchInput({ value, onChange, placeholder, className, label, inputId, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/input/SearchInput.tsx"],"names":[],"mappings":"AAGA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,SAAc,EACd,KAAK,EACL,OAAO,GACR,EAAE,gBAAgB,2CAmDlB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface SelectionCheckboxProps {
|
|
2
|
-
checked: boolean;
|
|
3
|
-
indeterminate?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onChange: (checked: boolean) => void;
|
|
6
|
-
ariaLabel: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function SelectionCheckbox({ checked, indeterminate, disabled, onChange, ariaLabel, }: SelectionCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=SelectionCheckbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCheckbox.d.ts","sourceRoot":"","sources":["../../../../../src/organization-management/shared/components/input/SelectionCheckbox.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,aAAqB,EACrB,QAAgB,EAChB,QAAQ,EACR,SAAS,GACV,EAAE,sBAAsB,2CAoBxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebouncedValue.d.ts","sourceRoot":"","sources":["../../../../src/organization-management/shared/hooks/useDebouncedValue.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,SAAM,GAAG,CAAC,CAc7D"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useTr — translation hook with fallback semantics.
|
|
3
|
-
*
|
|
4
|
-
* Wraps `useI18n().t()` so that when a key has no translation (i.e. the
|
|
5
|
-
* provider returns the key itself), the caller's English fallback is used
|
|
6
|
-
* instead. This keeps consumer call sites consistent and avoids leaking
|
|
7
|
-
* untranslated keys into the UI.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* const tr = useTr();
|
|
11
|
-
* return <h1>{tr('organizations.title', 'Organizations')}</h1>;
|
|
12
|
-
*/
|
|
13
|
-
export declare function useTr(): (key: string, fallback: string) => string;
|
|
14
|
-
//# sourceMappingURL=useTr.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTr.d.ts","sourceRoot":"","sources":["../../../../src/organization-management/shared/hooks/useTr.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,KAAK,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CASjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** Redact a free-form ID by exposing only the first/last 4 characters. */
|
|
2
|
-
export declare function redactId(id: string | null | undefined): string | undefined;
|
|
3
|
-
type LogData = Record<string, unknown>;
|
|
4
|
-
interface OrganizationLogger {
|
|
5
|
-
info: (event: string, data?: LogData) => void;
|
|
6
|
-
warn: (event: string, data?: LogData) => void;
|
|
7
|
-
error: (event: string, data?: LogData, error?: unknown) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const logger: OrganizationLogger;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/organization-management/shared/logger.ts"],"names":[],"mappings":"AAkBA,0EAA0E;AAC1E,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAI1E;AAED,KAAK,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvC,UAAU,kBAAkB;IAC1B,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACjE;AAQD,eAAO,MAAM,MAAM,EAAE,kBA4BpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recaptcha.d.ts","sourceRoot":"","sources":["../../../src/organization-management/shared/recaptcha.ts"],"names":[],"mappings":"AAmDA,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAiBlF"}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared GraphQL types
|
|
3
|
-
* Generated types will be added via GraphQL Codegen
|
|
4
|
-
*/
|
|
5
|
-
export interface PageInfo {
|
|
6
|
-
totalCount: number;
|
|
7
|
-
hasNextPage: boolean;
|
|
8
|
-
hasPreviousPage: boolean;
|
|
9
|
-
startCursor?: string;
|
|
10
|
-
endCursor?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PaginationInput {
|
|
13
|
-
first?: number;
|
|
14
|
-
after?: string;
|
|
15
|
-
last?: number;
|
|
16
|
-
before?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface Connection<T> {
|
|
19
|
-
items: T[];
|
|
20
|
-
pageInfo: PageInfo;
|
|
21
|
-
}
|
|
22
|
-
export declare enum TenantStatus {
|
|
23
|
-
ACTIVE = "ACTIVE",
|
|
24
|
-
INACTIVE = "INACTIVE",
|
|
25
|
-
SUSPENDED = "SUSPENDED"
|
|
26
|
-
}
|
|
27
|
-
export declare enum OrganizationStatus {
|
|
28
|
-
ACTIVE = "ACTIVE",
|
|
29
|
-
INACTIVE = "INACTIVE",
|
|
30
|
-
ARCHIVED = "ARCHIVED"
|
|
31
|
-
}
|
|
32
|
-
export declare enum WorkspaceStatus {
|
|
33
|
-
ACTIVE = "ACTIVE",
|
|
34
|
-
INACTIVE = "INACTIVE",
|
|
35
|
-
ARCHIVED = "ARCHIVED"
|
|
36
|
-
}
|
|
37
|
-
export declare enum WorkspaceVisibility {
|
|
38
|
-
PRIVATE = "PRIVATE",
|
|
39
|
-
PUBLIC = "PUBLIC",
|
|
40
|
-
INTERNAL = "INTERNAL"
|
|
41
|
-
}
|
|
42
|
-
export declare enum OrganizationRole {
|
|
43
|
-
SUPER_ADMIN = "SUPER_ADMIN",
|
|
44
|
-
TENANT_ADMIN = "TENANT_ADMIN",
|
|
45
|
-
ORG_ADMIN = "ORG_ADMIN",
|
|
46
|
-
WORKSPACE_ADMIN = "WORKSPACE_ADMIN",
|
|
47
|
-
MEMBER = "MEMBER",
|
|
48
|
-
GUEST = "GUEST"
|
|
49
|
-
}
|
|
50
|
-
export declare enum WorkspaceRole {
|
|
51
|
-
SUPER_ADMIN = "SUPER_ADMIN",
|
|
52
|
-
TENANT_ADMIN = "TENANT_ADMIN",
|
|
53
|
-
ORG_ADMIN = "ORG_ADMIN",
|
|
54
|
-
WORKSPACE_ADMIN = "WORKSPACE_ADMIN",
|
|
55
|
-
MEMBER = "MEMBER",
|
|
56
|
-
GUEST = "GUEST"
|
|
57
|
-
}
|
|
58
|
-
export declare enum ProductStatus {
|
|
59
|
-
ACTIVE = "ACTIVE",
|
|
60
|
-
BETA = "BETA",
|
|
61
|
-
DEPRECATED = "DEPRECATED",
|
|
62
|
-
COMING_SOON = "COMING_SOON"
|
|
63
|
-
}
|
|
64
|
-
export interface Tenant {
|
|
65
|
-
id: string;
|
|
66
|
-
name: string;
|
|
67
|
-
slug: string;
|
|
68
|
-
status: TenantStatus;
|
|
69
|
-
subscriptionTier?: string;
|
|
70
|
-
billingAccountId?: string;
|
|
71
|
-
customDomain?: string;
|
|
72
|
-
logoUrl?: string;
|
|
73
|
-
metadata?: Record<string, unknown>;
|
|
74
|
-
createdAt: string;
|
|
75
|
-
updatedAt: string;
|
|
76
|
-
organizations?: Organization[];
|
|
77
|
-
products?: PlatformProduct[];
|
|
78
|
-
}
|
|
79
|
-
export interface Organization {
|
|
80
|
-
id: string;
|
|
81
|
-
tenantId: string;
|
|
82
|
-
name: string;
|
|
83
|
-
slug: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
logo?: string;
|
|
86
|
-
website?: string;
|
|
87
|
-
status: OrganizationStatus;
|
|
88
|
-
metadata?: Record<string, unknown>;
|
|
89
|
-
createdAt: string;
|
|
90
|
-
updatedAt: string;
|
|
91
|
-
memberCount?: number;
|
|
92
|
-
workspaceCount?: number;
|
|
93
|
-
workspaces?: Workspace[];
|
|
94
|
-
}
|
|
95
|
-
export interface Workspace {
|
|
96
|
-
id: string;
|
|
97
|
-
organizationId: string;
|
|
98
|
-
tenantId: string;
|
|
99
|
-
name: string;
|
|
100
|
-
slug: string;
|
|
101
|
-
status: WorkspaceStatus;
|
|
102
|
-
type: string;
|
|
103
|
-
memberCount?: number;
|
|
104
|
-
endpoint?: string;
|
|
105
|
-
region?: string;
|
|
106
|
-
metadata?: Record<string, unknown>;
|
|
107
|
-
createdAt: string;
|
|
108
|
-
updatedAt: string;
|
|
109
|
-
}
|
|
110
|
-
export interface Member {
|
|
111
|
-
id: string;
|
|
112
|
-
userId: string;
|
|
113
|
-
organizationId: string;
|
|
114
|
-
role: string;
|
|
115
|
-
invitedBy?: string;
|
|
116
|
-
joinedAt?: string;
|
|
117
|
-
}
|
|
118
|
-
export interface PlatformProduct {
|
|
119
|
-
id: string;
|
|
120
|
-
name: string;
|
|
121
|
-
slug: string;
|
|
122
|
-
description?: string;
|
|
123
|
-
category?: string;
|
|
124
|
-
status: ProductStatus;
|
|
125
|
-
iconUrl?: string;
|
|
126
|
-
version?: string;
|
|
127
|
-
metadata?: Record<string, unknown>;
|
|
128
|
-
createdAt: string;
|
|
129
|
-
updatedAt: string;
|
|
130
|
-
}
|
|
131
|
-
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/organization-management/shared/types/graphql.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,M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,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../../src/organization-management/shared/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface NavItem {
|
|
4
|
-
id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
path: string;
|
|
7
|
-
icon?: ReactNode;
|
|
8
|
-
order: number;
|
|
9
|
-
group?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface FooterItem {
|
|
12
|
-
id: string;
|
|
13
|
-
label: string;
|
|
14
|
-
order: number;
|
|
15
|
-
type?: string;
|
|
16
|
-
section?: 'left' | 'right' | 'center';
|
|
17
|
-
}
|
|
18
|
-
export interface User {
|
|
19
|
-
id: string;
|
|
20
|
-
email: string;
|
|
21
|
-
firstName?: string;
|
|
22
|
-
lastName?: string;
|
|
23
|
-
avatarUrl?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface OrganizationRootProps {
|
|
26
|
-
basePath?: string;
|
|
27
|
-
navigate: (path: string) => void;
|
|
28
|
-
currentUser?: User;
|
|
29
|
-
tenantId?: string;
|
|
30
|
-
workspaceId?: string;
|
|
31
|
-
apiGatewayUrl?: string;
|
|
32
|
-
authToken?: string;
|
|
33
|
-
capabilities?: {
|
|
34
|
-
canManageOrganizations?: boolean;
|
|
35
|
-
canManageWorkspaces?: boolean;
|
|
36
|
-
canManageMembers?: boolean;
|
|
37
|
-
};
|
|
38
|
-
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
39
|
-
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
40
|
-
callbacks?: {
|
|
41
|
-
onOrganizationCreate?: (orgId: string) => void;
|
|
42
|
-
onWorkspaceCreate?: (workspaceId: string) => void;
|
|
43
|
-
onMemberInvite?: (memberId: string) => void;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization-management/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GA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, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
-
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
|
3
|
-
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|