@burdenoff/microfe-export 2026.525.2 → 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.
Files changed (61) hide show
  1. package/package.json +1 -1
  2. package/dist/dev/main.d.ts +0 -2
  3. package/dist/dev/main.d.ts.map +0 -1
  4. package/dist/export/ExportRoot.d.ts +0 -31
  5. package/dist/export/ExportRoot.d.ts.map +0 -1
  6. package/dist/export/ExportRoutes.d.ts +0 -14
  7. package/dist/export/ExportRoutes.d.ts.map +0 -1
  8. package/dist/export/components/ExportProgressBar.d.ts +0 -12
  9. package/dist/export/components/ExportProgressBar.d.ts.map +0 -1
  10. package/dist/export/components/ExportStatusBadge.d.ts +0 -12
  11. package/dist/export/components/ExportStatusBadge.d.ts.map +0 -1
  12. package/dist/export/components/PageLayout.d.ts +0 -55
  13. package/dist/export/components/PageLayout.d.ts.map +0 -1
  14. package/dist/export/components/ui.d.ts +0 -6
  15. package/dist/export/components/ui.d.ts.map +0 -1
  16. package/dist/export/constants/enums.d.ts +0 -79
  17. package/dist/export/constants/enums.d.ts.map +0 -1
  18. package/dist/export/constants/index.d.ts +0 -7
  19. package/dist/export/constants/index.d.ts.map +0 -1
  20. package/dist/export/hooks/useExportQueries.d.ts +0 -224
  21. package/dist/export/hooks/useExportQueries.d.ts.map +0 -1
  22. package/dist/export/index.d.ts +0 -29
  23. package/dist/export/index.d.ts.map +0 -1
  24. package/dist/export/pages/CreateExportPage.d.ts +0 -2
  25. package/dist/export/pages/CreateExportPage.d.ts.map +0 -1
  26. package/dist/export/pages/ExportDashboardPage.d.ts +0 -6
  27. package/dist/export/pages/ExportDashboardPage.d.ts.map +0 -1
  28. package/dist/export/pages/ExportDetailPage.d.ts +0 -7
  29. package/dist/export/pages/ExportDetailPage.d.ts.map +0 -1
  30. package/dist/export/pages/ExportHistoryPage.d.ts +0 -6
  31. package/dist/export/pages/ExportHistoryPage.d.ts.map +0 -1
  32. package/dist/export/pages/ExportLandingPage.d.ts +0 -9
  33. package/dist/export/pages/ExportLandingPage.d.ts.map +0 -1
  34. package/dist/export/pages/ExportTemplatesPage.d.ts +0 -6
  35. package/dist/export/pages/ExportTemplatesPage.d.ts.map +0 -1
  36. package/dist/export/pages/TemplateDetailPage.d.ts +0 -7
  37. package/dist/export/pages/TemplateDetailPage.d.ts.map +0 -1
  38. package/dist/export/providers/ExportProvider.d.ts +0 -13
  39. package/dist/export/providers/ExportProvider.d.ts.map +0 -1
  40. package/dist/export/store/exportStore.d.ts +0 -17
  41. package/dist/export/store/exportStore.d.ts.map +0 -1
  42. package/dist/export/types/index.d.ts +0 -230
  43. package/dist/export/types/index.d.ts.map +0 -1
  44. package/dist/export/utils/cn.d.ts +0 -8
  45. package/dist/export/utils/cn.d.ts.map +0 -1
  46. package/dist/export/utils/events.d.ts +0 -7
  47. package/dist/export/utils/events.d.ts.map +0 -1
  48. package/dist/export/utils/i18n.d.ts +0 -6
  49. package/dist/export/utils/i18n.d.ts.map +0 -1
  50. package/dist/generated/global-operations.d.ts +0 -2
  51. package/dist/generated/global-operations.d.ts.map +0 -1
  52. package/dist/generated/global-types.d.ts +0 -23527
  53. package/dist/generated/global-types.d.ts.map +0 -1
  54. package/dist/generated/wspace-operations.d.ts +0 -773
  55. package/dist/generated/wspace-operations.d.ts.map +0 -1
  56. package/dist/generated/wspace-types.d.ts +0 -57851
  57. package/dist/generated/wspace-types.d.ts.map +0 -1
  58. package/dist/index.d.ts +0 -6
  59. package/dist/index.d.ts.map +0 -1
  60. package/dist/utils/nativeBridge.d.ts +0 -3
  61. package/dist/utils/nativeBridge.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-export",
3
- "version": "2026.525.2",
3
+ "version": "2026.525.3",
4
4
  "description": "Burdenoff Export Microfrontend - Data export management interface",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/dev/main.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- import { FC } from 'react';
2
- import { ExportRootProps } from './types';
3
-
4
- /**
5
- * Root component for the Export microfrontend.
6
- *
7
- * This is the main entry point that host applications import and render.
8
- * It sets up the necessary providers and renders the internal routing.
9
- * Automatically registers navigation items with the shell if registration functions are provided.
10
- *
11
- * @example
12
- * ```tsx
13
- * import { ExportRoot, type ExportRootProps } from '@burdenoff/micro-fe/export';
14
- *
15
- * function App() {
16
- * const props: ExportRootProps = {
17
- * basePath: '/export',
18
- * navigate: (path) => router.push(path),
19
- * currentUser: { id: '1', email: 'user@example.com', firstName: 'John', lastName: 'Doe' },
20
- * workspaceId: 'ws-123',
21
- * apiGatewayUrl: 'https://api.example.com',
22
- * authToken: 'token',
23
- * registerNavItems: (items) => { return () => {}; },
24
- * };
25
- *
26
- * return <ExportRoot {...props} />;
27
- * }
28
- * ```
29
- */
30
- export declare const ExportRoot: FC<ExportRootProps>;
31
- //# sourceMappingURL=ExportRoot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportRoot.d.ts","sourceRoot":"","sources":["../../src/export/ExportRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,SAAS,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiG1C,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Internal router for the Export microfrontend.
3
- * This component handles routing within the microfrontend using React Router v7.
4
- *
5
- * Routes (relative to basePath, e.g., /export):
6
- * - / → Export dashboard page
7
- * - /new → Create new export job
8
- * - /history → Export history list
9
- * - /:jobId → Export job detail page
10
- * - /templates → Export templates list
11
- * - /templates/:templateId → Template detail page
12
- */
13
- export declare function ExportRoutes(): import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=ExportRoutes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportRoutes.d.ts","sourceRoot":"","sources":["../../src/export/ExportRoutes.tsx"],"names":[],"mappings":"AA8IA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,4CAoC3B"}
@@ -1,12 +0,0 @@
1
- interface ExportProgressBarProps {
2
- progress: number;
3
- className?: string;
4
- showLabel?: boolean;
5
- size?: "sm" | "md" | "lg";
6
- }
7
- /**
8
- * ExportProgressBar - Shows export progress percentage
9
- */
10
- export declare function ExportProgressBar({ progress, className, showLabel, size, }: ExportProgressBarProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=ExportProgressBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportProgressBar.d.ts","sourceRoot":"","sources":["../../../src/export/components/ExportProgressBar.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAQD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,SAAgB,EAChB,IAAW,GACZ,EAAE,sBAAsB,2CAiCxB"}
@@ -1,12 +0,0 @@
1
- import { ExportJobStatus } from '../types';
2
-
3
- interface ExportStatusBadgeProps {
4
- status: ExportJobStatus;
5
- className?: string;
6
- }
7
- /**
8
- * ExportStatusBadge - Renders a colored badge for export job status
9
- */
10
- export declare function ExportStatusBadge({ status, className, }: ExportStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=ExportStatusBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportStatusBadge.d.ts","sourceRoot":"","sources":["../../../src/export/components/ExportStatusBadge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,UAAU,sBAAsB;IAC9B,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAaD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE,sBAAsB,2CAiCxB"}
@@ -1,55 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- interface PageLayoutProps {
4
- children: ReactNode;
5
- /** Page title */
6
- title?: string;
7
- /** Page subtitle/description */
8
- subtitle?: string;
9
- /** Icon component to display next to title */
10
- icon?: ReactNode;
11
- /** Actions to display in header (buttons, etc.) */
12
- headerActions?: ReactNode;
13
- /** Additional header content below title */
14
- headerContent?: ReactNode;
15
- /** Maximum width of content: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' */
16
- maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
17
- /** Whether to show the header section */
18
- showHeader?: boolean;
19
- /** Additional CSS classes for the container */
20
- className?: string;
21
- /** Additional CSS classes for the content area */
22
- contentClassName?: string;
23
- }
24
- /**
25
- * PageLayout - A consistent page wrapper with responsive design
26
- *
27
- * Features:
28
- * - Proper max-width constraints
29
- * - Responsive padding
30
- * - Animated entrance
31
- * - Consistent header styling
32
- */
33
- export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, }: PageLayoutProps): import("react/jsx-runtime").JSX.Element;
34
- /**
35
- * PageSection - A section within a page with consistent spacing
36
- */
37
- export declare function PageSection({ children, title, description, actions, className, }: {
38
- children: ReactNode;
39
- title?: string;
40
- description?: string;
41
- actions?: ReactNode;
42
- className?: string;
43
- }): import("react/jsx-runtime").JSX.Element;
44
- /**
45
- * EmptyState - A consistent empty state component
46
- */
47
- export declare function EmptyState({ icon, title, description, action, className, }: {
48
- icon?: ReactNode;
49
- title: string;
50
- description?: string;
51
- action?: ReactNode;
52
- className?: string;
53
- }): import("react/jsx-runtime").JSX.Element;
54
- export {};
55
- //# sourceMappingURL=PageLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/export/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,eAAe;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mDAAmD;IACnD,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,4CAA4C;IAC5C,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,mFAAmF;IACnF,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAYD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,aAAa,EACb,QAAe,EACf,UAAiB,EACjB,SAAS,EACT,gBAAgB,GACjB,EAAE,eAAe,2CAsEjB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,WAAW,EACX,OAAO,EACP,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAmBA;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,GACV,EAAE;IACD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAyBA"}
@@ -1,6 +0,0 @@
1
- /**
2
- * UI Component re-exports from @burdenoff/fe-libs
3
- * All styled components are imported from the shared fe-libs package
4
- */
5
- export { Button, Badge, Card, CardContent, Input, Skeleton, Separator, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Tabs, TabsList, TabsTrigger, TabsContent, } from '@burdenoff/fe-libs/ui';
6
- //# sourceMappingURL=ui.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/export/components/ui.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,WAAW,GACZ,MAAM,uBAAuB,CAAC"}
@@ -1,79 +0,0 @@
1
- /**
2
- * GraphQL Enum Constants
3
- *
4
- * These constants mirror the GraphQL enum types but as JavaScript objects
5
- * that can be used as values (not just TypeScript types).
6
- */
7
- /**
8
- * Export Job Status - Lifecycle states for an export job
9
- *
10
- * Maps to GraphQL enum: ExportJobStatus
11
- */
12
- export declare const ExportJobStatus: {
13
- /** Job created, not yet queued */
14
- readonly CREATED: "CREATED";
15
- /** Job queued for processing */
16
- readonly QUEUED: "QUEUED";
17
- /** Job actively running */
18
- readonly RUNNING: "RUNNING";
19
- /** Job completed successfully */
20
- readonly COMPLETED: "COMPLETED";
21
- /** Job failed */
22
- readonly FAILED: "FAILED";
23
- /** Job cancelled by user */
24
- readonly CANCELLED: "CANCELLED";
25
- /** Job output has expired */
26
- readonly EXPIRED: "EXPIRED";
27
- /** Job has been deleted */
28
- readonly DELETED: "DELETED";
29
- };
30
- export type ExportJobStatusValue = (typeof ExportJobStatus)[keyof typeof ExportJobStatus];
31
- /**
32
- * Export Format - Output file format
33
- * Backend only supports JSON and CSV.
34
- *
35
- * Maps to GraphQL enum: ExportFormat
36
- */
37
- export declare const ExportFormat: {
38
- /** Comma-separated values */
39
- readonly CSV: "CSV";
40
- /** JavaScript Object Notation */
41
- readonly JSON: "JSON";
42
- };
43
- export type ExportFormatValue = (typeof ExportFormat)[keyof typeof ExportFormat];
44
- /**
45
- * Export Archive Format - How parts are archived
46
- * Backend only supports ZIP.
47
- *
48
- * Maps to GraphQL enum: ExportArchiveFormat
49
- */
50
- export declare const ExportArchiveFormat: {
51
- /** ZIP archive */
52
- readonly ZIP: "ZIP";
53
- };
54
- export type ExportArchiveFormatValue = (typeof ExportArchiveFormat)[keyof typeof ExportArchiveFormat];
55
- /**
56
- * Helper: Get status display name
57
- */
58
- export declare const getStatusDisplayName: (status: string) => string;
59
- /**
60
- * Helper: Get status color class
61
- */
62
- export declare const getStatusColor: (status: string) => string;
63
- /**
64
- * Helper: Get format display name
65
- */
66
- export declare const getFormatDisplayName: (format: string) => string;
67
- /**
68
- * Helper: Get archive format display name
69
- */
70
- export declare const getArchiveFormatDisplayName: (format: string) => string;
71
- /**
72
- * Helper: Get all export statuses as array
73
- */
74
- export declare const getAllStatuses: () => ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED" | "EXPIRED" | "DELETED")[];
75
- /**
76
- * Helper: Get all export formats as array
77
- */
78
- export declare const getAllFormats: () => ("CSV" | "JSON")[];
79
- //# sourceMappingURL=enums.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/export/constants/enums.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAC1B,kCAAkC;;IAElC,gCAAgC;;IAEhC,2BAA2B;;IAE3B,iCAAiC;;IAEjC,iBAAiB;;IAEjB,4BAA4B;;IAE5B,6BAA6B;;IAE7B,2BAA2B;;CAEnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;;;GAKG;AACH,eAAO,MAAM,YAAY;IACvB,6BAA6B;;IAE7B,iCAAiC;;CAEzB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;IAC9B,kBAAkB;;CAEV,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAClC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAYrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,MAY/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAMrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,GAAI,QAAQ,MAAM,KAAG,MAK5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,2GAAuC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,aAAa,0BAAoC,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Export Module Constants
3
- *
4
- * Centralized exports for all constants used in the export module
5
- */
6
- export * from './enums';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/export/constants/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAC"}
@@ -1,224 +0,0 @@
1
- import { GetAvailableExportEntitiesQuery, GetExportJobQuery, ListExportJobsQuery, ListExportTemplatesQuery } from '../../generated/wspace-operations';
2
- import { ExportJobStatus as GqlExportJobStatus, ExportJobFilterInput as GqlExportJobFilterInput, ExportPaginationInput as GqlExportPaginationInput } from '../../generated/wspace-types';
3
- import { ExportFormat, ExportJob, ExportJobStatus, ExportScope, ExportTemplate, ExportAvailableEntity, ExportPart, ExportFilter, PageInfo } from '../types';
4
-
5
- /**
6
- * Input for creating an export job
7
- */
8
- export interface CreateExportJobInput {
9
- name: string;
10
- description?: string;
11
- exportScope?: ExportScope;
12
- organizationId?: string;
13
- entityTypes: string[];
14
- format: ExportFormat;
15
- filters?: Record<string, unknown>;
16
- templateId?: string;
17
- dateRangeStart?: string | null;
18
- dateRangeEnd?: string | null;
19
- }
20
- /**
21
- * Input for creating an export template
22
- */
23
- export interface CreateExportTemplateInput {
24
- name: string;
25
- description?: string;
26
- entityTypes: string[];
27
- format: ExportFormat;
28
- }
29
- /**
30
- * Input for updating an export template
31
- */
32
- export interface UpdateExportTemplateInput {
33
- name?: string;
34
- description?: string;
35
- entityTypes?: string[];
36
- format?: ExportFormat;
37
- isDefault?: boolean;
38
- }
39
- /**
40
- * Filter input for listing export jobs
41
- */
42
- export interface ExportJobFilterInput {
43
- status?: ExportJobStatus[];
44
- format?: ExportFormat;
45
- entityTypes?: string[];
46
- search?: string;
47
- dateFrom?: string;
48
- dateTo?: string;
49
- }
50
- /**
51
- * Pagination input for export job list
52
- */
53
- export interface ExportPaginationInput {
54
- first?: number;
55
- after?: string;
56
- last?: number;
57
- before?: string;
58
- }
59
- /**
60
- * Hook to fetch a paginated list of export jobs
61
- */
62
- export declare function useExportJobs(filter?: Partial<ExportFilter>, pagination?: ExportPaginationInput): {
63
- data: ExportJob[];
64
- totalCount: number;
65
- pageInfo: PageInfo | null;
66
- isLoading: boolean;
67
- error: import('@apollo/client').ErrorLike | null;
68
- refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
69
- filter?: import('../../generated/wspace-types').InputMaybe<GqlExportJobFilterInput>;
70
- pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
71
- context: import('../../generated/wspace-types').ContextInput;
72
- }>> | undefined) => Promise<import("@apollo/client").ApolloClient.QueryResult<ListExportJobsQuery>>;
73
- };
74
- /**
75
- * Hook to fetch a single export job by ID.
76
- */
77
- export declare function useExportJob(jobId: string | undefined): {
78
- data: ExportJob | null;
79
- isLoading: boolean;
80
- error: import('@apollo/client').ErrorLike | null;
81
- refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
82
- context?: import('../../generated/wspace-types').InputMaybe<import('../../generated/wspace-types').ContextInput>;
83
- id: import('../../generated/wspace-types').Scalars["ID"]["input"];
84
- }>> | undefined) => Promise<import("@apollo/client").ApolloClient.QueryResult<GetExportJobQuery>>;
85
- };
86
- /**
87
- * Hook to subscribe to live progress updates for an export job.
88
- */
89
- export declare function useExportJobProgress(jobId: string | undefined): {
90
- data: ExportJob | null;
91
- isLoading: boolean;
92
- error: import('@apollo/client').ErrorLike | null;
93
- };
94
- /**
95
- * Hook to fetch available entity types for export in a workspace
96
- */
97
- export declare function useAvailableEntities(overrideWorkspaceId?: string): {
98
- data: ExportAvailableEntity[];
99
- totalCount: number;
100
- pageInfo: PageInfo | null;
101
- loadMore: () => Promise<void>;
102
- error: import('@apollo/client').ErrorLike | null;
103
- isLoading: boolean;
104
- refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
105
- context: import('../../generated/wspace-types').ContextInput;
106
- pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
107
- }>> | undefined) => Promise<import("@apollo/client").ApolloClient.QueryResult<GetAvailableExportEntitiesQuery>>;
108
- };
109
- /**
110
- * Hook to fetch all export templates for the current workspace
111
- */
112
- export declare function useExportTemplates(overrideWorkspaceId?: string): {
113
- data: ExportTemplate[];
114
- totalCount: number;
115
- pageInfo: PageInfo | null;
116
- loadMore: () => Promise<void>;
117
- isLoading: boolean;
118
- error: import('@apollo/client').ErrorLike | null;
119
- refetch: (variables?: Partial<import('../../generated/wspace-types').Exact<{
120
- context: import('../../generated/wspace-types').ContextInput;
121
- pagination?: import('../../generated/wspace-types').InputMaybe<GqlExportPaginationInput>;
122
- }>> | undefined) => Promise<import("@apollo/client").ApolloClient.QueryResult<ListExportTemplatesQuery>>;
123
- };
124
- /**
125
- * Hook to fetch a single export template by ID
126
- */
127
- export declare function useExportTemplate(templateId: string | undefined): {
128
- data: ExportTemplate | null;
129
- isLoading: boolean;
130
- error: import('@apollo/client').ErrorLike | null;
131
- };
132
- /**
133
- * Hook to fetch a single export part by ID
134
- */
135
- export declare function useExportPart(partId: string | undefined): {
136
- data: ExportPart | null;
137
- isLoading: boolean;
138
- error: import('@apollo/client').ErrorLike | null;
139
- };
140
- /**
141
- * Hook to create a new export job
142
- */
143
- export declare function useCreateExportJob(): {
144
- createJob: (input: CreateExportJobInput) => Promise<ExportJob>;
145
- mutate: (input: CreateExportJobInput) => Promise<ExportJob>;
146
- mutateAsync: (input: CreateExportJobInput) => Promise<ExportJob>;
147
- loading: boolean;
148
- isPending: boolean;
149
- error: import('@apollo/client').ErrorLike | null;
150
- };
151
- /**
152
- * Hook to cancel an export job
153
- */
154
- export declare function useCancelExportJob(): {
155
- cancelJob: (id: string) => Promise<{
156
- __typename?: "ExportJob";
157
- id: string;
158
- status: GqlExportJobStatus;
159
- updatedAt: string;
160
- }>;
161
- mutate: (id: string) => Promise<{
162
- __typename?: "ExportJob";
163
- id: string;
164
- status: GqlExportJobStatus;
165
- updatedAt: string;
166
- }>;
167
- mutateAsync: (id: string) => Promise<{
168
- __typename?: "ExportJob";
169
- id: string;
170
- status: GqlExportJobStatus;
171
- updatedAt: string;
172
- }>;
173
- loading: boolean;
174
- isPending: boolean;
175
- error: import('@apollo/client').ErrorLike | null;
176
- };
177
- /**
178
- * Hook to delete an export job
179
- */
180
- export declare function useDeleteExportJob(): {
181
- deleteJob: (id: string) => Promise<boolean>;
182
- mutate: (id: string) => Promise<boolean>;
183
- mutateAsync: (id: string) => Promise<boolean>;
184
- loading: boolean;
185
- isPending: boolean;
186
- error: import('@apollo/client').ErrorLike | null;
187
- };
188
- /**
189
- * Hook to retry a failed export job
190
- */
191
- export declare function useRetryExportJob(): {
192
- retryJob: (id: string) => Promise<ExportJob>;
193
- loading: boolean;
194
- isPending: boolean;
195
- error: import('@apollo/client').ErrorLike | null;
196
- };
197
- /**
198
- * Hook to create a new export template
199
- */
200
- export declare function useCreateExportTemplate(): {
201
- createTemplate: (input: CreateExportTemplateInput) => Promise<ExportTemplate>;
202
- loading: boolean;
203
- isPending: boolean;
204
- error: import('@apollo/client').ErrorLike | null;
205
- };
206
- /**
207
- * Hook to update an existing export template
208
- */
209
- export declare function useUpdateExportTemplate(): {
210
- updateTemplate: (id: string, input: UpdateExportTemplateInput) => Promise<Partial<ExportTemplate>>;
211
- loading: boolean;
212
- isPending: boolean;
213
- error: import('@apollo/client').ErrorLike | null;
214
- };
215
- /**
216
- * Hook to delete an export template
217
- */
218
- export declare function useDeleteExportTemplate(): {
219
- deleteTemplate: (id: string) => Promise<boolean>;
220
- loading: boolean;
221
- isPending: boolean;
222
- error: import('@apollo/client').ErrorLike | null;
223
- };
224
- //# sourceMappingURL=useExportQueries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useExportQueries.d.ts","sourceRoot":"","sources":["../../../src/export/hooks/useExportQueries.ts"],"names":[],"mapp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S,CAAC;oBAAzC,oBAAoB,KAAG,OAAO,CAAC,SAAS,CAAC;yBAAzC,oBAAoB,KAAG,OAAO,CAAC,SAAS,CAAC;;;;EA4C1E;AAED;;GAEG;AACH,wBAAgB,kBAAkB;oBAQH,MAAM;;;;;;iBAAN,MAAM;;;;;;sBAAN,MAAM;;;;;;;;;EAgCpC;AAED;;GAEG;AACH,wBAAgB,kBAAkB;oBAQH,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;iBAAzB,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;sBAAzB,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;;;;EAyBvD;AAED;;GAEG;AACH,wBAAgB,iBAAiB;mBAQH,MAAM,KAAG,OAAO,CAAC,SAAS,CAAC;;;;EA8BxD;AAED;;GAEG;AACH,wBAAgB,uBAAuB;4BAS5B,yBAAyB,KAC/B,OAAO,CAAC,cAAc,CAAC;;;;EAoC3B;AAED;;GAEG;AACH,wBAAgB,uBAAuB;yBAS/B,MAAM,SACH,yBAAyB,KAC/B,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;;;;EA4BpC;AAED;;GAEG;AACH,wBAAgB,uBAAuB;yBAQH,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;;;;EAyB5D"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Export Microfrontend
3
- *
4
- * Provides data export functionality for workspaces including
5
- * job management, scheduling, templates, and multi-format output.
6
- *
7
- * @example
8
- * ```tsx
9
- * import { ExportRoot, type ExportRootProps } from '@burdenoff/micro-fe/export';
10
- *
11
- * function App() {
12
- * const props: ExportRootProps = {
13
- * basePath: '/export',
14
- * navigate: (path) => router.push(path),
15
- * currentUser: { id: '1', email: 'user@example.com' },
16
- * workspaceId: 'ws-123',
17
- * apiGatewayUrl: 'https://api.example.com',
18
- * authToken: 'token',
19
- * };
20
- *
21
- * return <ExportRoot {...props} />;
22
- * }
23
- * ```
24
- */
25
- export { ExportRoot } from './ExportRoot';
26
- export type { ExportRootProps, ExportJob, ExportPart, ExportTemplate, ExportAvailableEntity, ExportFilter, ExportView, } from './types';
27
- export { useExport } from './providers/ExportProvider';
28
- export { useExportStore } from './store/exportStore';
29
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/export/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,UAAU,GACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function CreateExportPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=CreateExportPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateExportPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/CreateExportPage.tsx"],"names":[],"mappings":"AAyEA,wBAAgB,gBAAgB,4CA+sB/B"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Export Dashboard Page
3
- * Overview with recent exports, quick actions, and status summary
4
- */
5
- export declare function ExportDashboardPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ExportDashboardPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportDashboardPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/ExportDashboardPage.tsx"],"names":[],"mappings":"AA0BA;;;GAGG;AACH,wBAAgB,mBAAmB,4CAyOlC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Export Detail Page
3
- * Single export job detail view with parts, progress, download links.
4
- * Uses GraphQL subscriptions for live progress updates when a job is active.
5
- */
6
- export declare function ExportDetailPage(): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=ExportDetailPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportDetailPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/ExportDetailPage.tsx"],"names":[],"mappings":"AAsDA;;;;GAIG;AACH,wBAAgB,gBAAgB,4CAsX/B"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Export History Page
3
- * Table/list of all past exports with filters and cursor-based pagination
4
- */
5
- export declare function ExportHistoryPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ExportHistoryPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportHistoryPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/ExportHistoryPage.tsx"],"names":[],"mappings":"AAqCA;;;GAGG;AACH,wBAAgB,iBAAiB,4CAsZhC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * ExportLandingPage
3
- *
4
- * Tabbed landing page for the Export microfrontend. Renders the existing
5
- * sub-pages (dashboard, new, history, templates) inside a Tabs container.
6
- * The active tab is reflected in the `?tab=` URL search param.
7
- */
8
- export declare function ExportLandingPage(): import("react/jsx-runtime").JSX.Element;
9
- //# sourceMappingURL=ExportLandingPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportLandingPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/ExportLandingPage.tsx"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,4CA2ChC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Export Templates Page
3
- * Template management list for reusable export configurations
4
- */
5
- export declare function ExportTemplatesPage(): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ExportTemplatesPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportTemplatesPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/ExportTemplatesPage.tsx"],"names":[],"mappings":"AAkCA;;;GAGG;AACH,wBAAgB,mBAAmB,4CAsflC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Template Detail Page
3
- * View template details and use it to create a new export.
4
- * Fetches template from the backend via useExportTemplate hook.
5
- */
6
- export declare function TemplateDetailPage(): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=TemplateDetailPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TemplateDetailPage.d.ts","sourceRoot":"","sources":["../../../src/export/pages/TemplateDetailPage.tsx"],"names":[],"mappings":"AAmCA;;;;GAIG;AACH,wBAAgB,kBAAkB,4CAoOjC"}
@@ -1,13 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { ExportRootProps } from '../types';
3
-
4
- /**
5
- * Hook to access Export context
6
- */
7
- export declare const useExport: () => ExportRootProps;
8
- /**
9
- * Provider component for Export microfrontend
10
- * Sets up routing, context, Apollo Client, and React Query client
11
- */
12
- export declare const ExportProvider: FC<PropsWithChildren<ExportRootProps>>;
13
- //# sourceMappingURL=ExportProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportProvider.d.ts","sourceRoot":"","sources":["../../../src/export/providers/ExportProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAqBnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAsChD;;GAEG;AACH,eAAO,MAAM,SAAS,uBAMrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,CAAC,eAAe,CAAC,CA8MjE,CAAC"}