@loopstack/loopstack-studio 0.21.2 → 0.22.0
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/api/auth.js +10 -0
- package/dist/api/client.js +13 -0
- package/dist/api/config.js +10 -0
- package/dist/api/dashboard.js +4 -0
- package/dist/api/documents.js +7 -0
- package/dist/api/index.js +24 -0
- package/dist/api/namespaces.js +7 -0
- package/dist/api/pipelines.js +13 -0
- package/dist/api/processor.js +4 -0
- package/dist/api/workflows.js +8 -0
- package/dist/api/workspaces.js +12 -0
- package/dist/app/EnvironmentEmbedRoot.js +33 -0
- package/dist/components/data-table/DataTableFilters.js +74 -63
- package/dist/components/layout/MainLayout.js +7 -4
- package/dist/components/page/PageBreadcrumbs.js +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/sidebar.js +359 -359
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui-widgets/UiActions.js +22 -15
- package/dist/components/ui-widgets/UiWidget.js +31 -26
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +27 -27
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +12 -12
- package/dist/components/ui-widgets/widgets/SandboxRun.js +32 -0
- package/dist/components/ui-widgets/widgets/SubmitButton.js +11 -11
- package/dist/features/code-explorer/utils/fileIcons.js +4 -7
- package/dist/features/oauth/OAuthPromptRenderer.js +1 -1
- package/dist/features/runs/Runs.js +197 -0
- package/dist/features/workbench/NavigationItems.js +1 -1
- package/dist/features/workbench/Workbench.js +109 -75
- package/dist/features/workbench/WorkflowItem.js +8 -11
- package/dist/features/workbench/WorkflowList.js +29 -20
- package/dist/features/workbench/components/DocumentList.js +20 -20
- package/dist/features/workbench/components/NewRunDialog.js +328 -0
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +88 -0
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +48 -0
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +68 -0
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +128 -0
- package/dist/features/workbench/components/WorkflowForms.js +7 -6
- package/dist/features/workbench/components/WorkflowHistoryItem.js +68 -63
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +79 -61
- package/dist/features/workbench/components/document-renderer/DocumentFormRenderer.js +6 -5
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +77 -0
- package/dist/features/workspaces/Workspaces.js +2 -2
- package/dist/features/workspaces/components/CreateWorkspace.js +164 -81
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +63 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +69 -68
- package/dist/features/workspaces/components/PipelineForm.js +4 -4
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/useApi.js +9 -33
- package/dist/hooks/useAuth.js +18 -38
- package/dist/hooks/useConfig.js +31 -33
- package/dist/hooks/useDashboard.js +1 -4
- package/dist/hooks/useDocuments.js +4 -8
- package/dist/hooks/useFiles.js +31 -41
- package/dist/hooks/useNamespaces.js +5 -8
- package/dist/hooks/usePipelines.js +98 -108
- package/dist/hooks/useProcessor.js +1 -4
- package/dist/hooks/useWorkflows.js +25 -41
- package/dist/hooks/useWorkspaces.js +45 -72
- package/dist/index.d.ts +266 -48
- package/dist/index.js +10 -2
- package/dist/packages/contracts/dist/enums/index.js +25 -0
- package/dist/packages/contracts/dist/enums/pipeline-state.js +10 -0
- package/dist/packages/contracts/dist/enums/registry.enum.js +20 -0
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +10 -0
- package/dist/packages/contracts/dist/enums/user-type.enum.js +10 -0
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +10 -0
- package/dist/pages/DebugPage.js +12 -14
- package/dist/pages/DebugWorkflowDetailsPage.js +1 -1
- package/dist/pages/DebugWorkflowsPage.js +3 -4
- package/dist/pages/EmbedWorkbenchPage.js +4 -3
- package/dist/pages/PipelineDebugPage.js +2 -2
- package/dist/pages/PreviewWorkbenchPage.js +416 -0
- package/dist/pages/RunsListPage.js +36 -0
- package/dist/pages/RunsPage.js +49 -0
- package/dist/pages/StudioLandingPage.js +145 -0
- package/dist/pages/WorkbenchPage.js +75 -51
- package/dist/providers/InvalidationEventsProvider.js +7 -7
- package/dist/providers/QueryProvider.js +21 -0
- package/dist/routing/LocalRouter.js +9 -0
- package/dist/services/createApiClient.js +4 -10
- package/dist/services/index.js +1 -1
- package/package.json +2 -3
- package/dist/features/code-explorer/CodeExplorer.js +0 -69
- package/dist/features/code-explorer/components/CodeExplorerTree.js +0 -43
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +0 -82
- package/dist/features/workbench/components/WorkbenchSidebar.js +0 -109
- package/dist/features/workbench/providers/WorkbenchContextProvider.js +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
-
import {
|
|
4
|
-
import { ApiV1ConfigApi } from '../../client/api-client';
|
|
5
|
-
import { ApiV1DashboardApi } from '../../client/api-client';
|
|
6
|
-
import { ApiV1DocumentsApi } from '../../client/api-client';
|
|
7
|
-
import { ApiV1NamespacesApi } from '../../client/api-client';
|
|
8
|
-
import { ApiV1PipelinesApi } from '../../client/api-client';
|
|
9
|
-
import { ApiV1ProcessorApi } from '../../client/api-client';
|
|
10
|
-
import { ApiV1WorkflowsApi } from '../../client/api-client';
|
|
11
|
-
import { ApiV1WorkspacesApi } from '../../client/api-client';
|
|
12
|
-
import { ApiV1WorkspacesApiWorkspaceControllerCreateWorkspaceRequest } from '../../client/api-client';
|
|
13
|
-
import { ApiV1WorkspacesApiWorkspaceControllerUpdateWorkspaceRequest } from '../../client/api-client';
|
|
3
|
+
import { AvailableEnvironmentInterface } from '@loopstack/contracts/api';
|
|
14
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
15
|
-
import {
|
|
5
|
+
import { AxiosInstance } from 'axios';
|
|
16
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
17
7
|
import { ClassProp } from 'class-variance-authority/types';
|
|
18
8
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
19
9
|
import { ComponentType } from 'react';
|
|
20
10
|
import { Context } from 'react';
|
|
11
|
+
import { DashboardStatsInterface } from '@loopstack/contracts/api';
|
|
21
12
|
import { default as default_2 } from 'react';
|
|
22
13
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
14
|
+
import { DocumentItemInterface } from '@loopstack/contracts/api';
|
|
23
15
|
import { Drawer as Drawer_2 } from 'vaul';
|
|
24
16
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
17
|
+
import { EnvironmentConfigInterface } from '@loopstack/contracts/api';
|
|
25
18
|
import { ExternalToast } from 'sonner';
|
|
19
|
+
import { FileContentInterface } from '@loopstack/contracts/api';
|
|
20
|
+
import { FileExplorerNodeInterface } from '@loopstack/contracts/api';
|
|
21
|
+
import { HubLoginRequestInterface } from '@loopstack/contracts/api';
|
|
26
22
|
import { JSX } from 'react/jsx-runtime';
|
|
27
23
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
24
|
+
import { NamespaceInterface } from '@loopstack/contracts/api';
|
|
25
|
+
import { NamespaceItemInterface } from '@loopstack/contracts/api';
|
|
26
|
+
import { PaginatedInterface } from '@loopstack/contracts/api';
|
|
27
|
+
import { PipelineConfigInterface } from '@loopstack/contracts/api';
|
|
28
|
+
import { PipelineCreateInterface } from '@loopstack/contracts/api';
|
|
29
|
+
import { PipelineInterface } from '@loopstack/contracts/api';
|
|
30
|
+
import { PipelineItemInterface } from '@loopstack/contracts/api';
|
|
31
|
+
import { PipelineSourceInterface } from '@loopstack/contracts/api';
|
|
32
|
+
import { PipelineUpdateInterface } from '@loopstack/contracts/api';
|
|
28
33
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
29
34
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
30
35
|
import * as React_2 from 'react';
|
|
31
36
|
import { ReactElement } from 'react';
|
|
32
37
|
import { ReactNode } from 'react';
|
|
38
|
+
import { RunPipelinePayloadInterface } from '@loopstack/contracts/api';
|
|
33
39
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
34
40
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
35
41
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
@@ -40,13 +46,16 @@ import { UseMutationResult } from '@tanstack/react-query';
|
|
|
40
46
|
import { useNavigate } from 'react-router-dom';
|
|
41
47
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
42
48
|
import { VariantProps } from 'class-variance-authority';
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
49
|
+
import { WorkerInfoInterface } from '@loopstack/contracts/api';
|
|
50
|
+
import { WorkflowInterface } from '@loopstack/contracts/api';
|
|
51
|
+
import { WorkflowItemInterface } from '@loopstack/contracts/api';
|
|
52
|
+
import { WorkspaceConfigInterface } from '@loopstack/contracts/api';
|
|
53
|
+
import { WorkspaceCreateInterface } from '@loopstack/contracts/api';
|
|
54
|
+
import { WorkspaceEnvironmentInterface } from '@loopstack/contracts/api';
|
|
55
|
+
import { WorkspaceFavouriteInterface } from '@loopstack/contracts/api';
|
|
56
|
+
import { WorkspaceInterface } from '@loopstack/contracts/api';
|
|
57
|
+
import { WorkspaceItemInterface } from '@loopstack/contracts/api';
|
|
58
|
+
import { WorkspaceUpdateInterface } from '@loopstack/contracts/api';
|
|
50
59
|
|
|
51
60
|
export declare function Accordion({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): JSX.Element;
|
|
52
61
|
|
|
@@ -88,6 +97,8 @@ declare const alertVariants: (props?: ({
|
|
|
88
97
|
variant?: "default" | "destructive" | null | undefined;
|
|
89
98
|
} & ClassProp) | undefined) => string;
|
|
90
99
|
|
|
100
|
+
declare type ApiClient = ReturnType<typeof createApi>;
|
|
101
|
+
|
|
91
102
|
export declare function Avatar({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Root>): JSX.Element;
|
|
92
103
|
|
|
93
104
|
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
|
|
@@ -225,13 +236,149 @@ declare interface ConfirmDialogProps {
|
|
|
225
236
|
variant?: 'default' | 'destructive';
|
|
226
237
|
}
|
|
227
238
|
|
|
239
|
+
declare function createApi(http: AxiosInstance): {
|
|
240
|
+
auth: {
|
|
241
|
+
me: () => Promise<unknown>;
|
|
242
|
+
getInfo: () => Promise<WorkerInfoInterface>;
|
|
243
|
+
hubLogin: (params: {
|
|
244
|
+
hubLoginRequestDto: HubLoginRequestInterface;
|
|
245
|
+
}) => Promise<unknown>;
|
|
246
|
+
refresh: () => Promise<unknown>;
|
|
247
|
+
logout: () => Promise<void>;
|
|
248
|
+
};
|
|
249
|
+
config: {
|
|
250
|
+
getWorkspaceTypes: () => Promise<WorkspaceConfigInterface[]>;
|
|
251
|
+
getPipelineTypesByWorkspace: (params: {
|
|
252
|
+
workspaceBlockName: string;
|
|
253
|
+
}) => Promise<PipelineConfigInterface[]>;
|
|
254
|
+
getPipelineConfigByName: (params: {
|
|
255
|
+
workspaceBlockName: string;
|
|
256
|
+
pipelineName: string;
|
|
257
|
+
}) => Promise<PipelineConfigInterface>;
|
|
258
|
+
getPipelineSourceByName: (params: {
|
|
259
|
+
workspaceBlockName: string;
|
|
260
|
+
pipelineName: string;
|
|
261
|
+
}) => Promise<PipelineSourceInterface>;
|
|
262
|
+
getAvailableEnvironments: () => Promise<AvailableEnvironmentInterface[]>;
|
|
263
|
+
};
|
|
264
|
+
dashboard: {
|
|
265
|
+
getStats: () => Promise<DashboardStatsInterface>;
|
|
266
|
+
};
|
|
267
|
+
documents: {
|
|
268
|
+
getById: (params: {
|
|
269
|
+
id: string;
|
|
270
|
+
}) => Promise<DocumentItemInterface>;
|
|
271
|
+
getAll: (params?: {
|
|
272
|
+
filter?: string;
|
|
273
|
+
sortBy?: string;
|
|
274
|
+
page?: number;
|
|
275
|
+
limit?: number;
|
|
276
|
+
}) => Promise<PaginatedInterface<DocumentItemInterface>>;
|
|
277
|
+
};
|
|
278
|
+
namespaces: {
|
|
279
|
+
getById: (params: {
|
|
280
|
+
id: string;
|
|
281
|
+
}) => Promise<NamespaceInterface>;
|
|
282
|
+
getAll: (params?: {
|
|
283
|
+
filter?: string;
|
|
284
|
+
sortBy?: string;
|
|
285
|
+
page?: number;
|
|
286
|
+
limit?: number;
|
|
287
|
+
}) => Promise<PaginatedInterface<NamespaceItemInterface>>;
|
|
288
|
+
};
|
|
289
|
+
pipelines: {
|
|
290
|
+
getById: (params: {
|
|
291
|
+
id: string;
|
|
292
|
+
}) => Promise<PipelineInterface>;
|
|
293
|
+
getAll: (params?: {
|
|
294
|
+
filter?: string;
|
|
295
|
+
sortBy?: string;
|
|
296
|
+
page?: number;
|
|
297
|
+
limit?: number;
|
|
298
|
+
search?: string;
|
|
299
|
+
searchColumns?: string;
|
|
300
|
+
}) => Promise<PaginatedInterface<PipelineItemInterface>>;
|
|
301
|
+
create: (params: {
|
|
302
|
+
pipelineCreateDto: PipelineCreateInterface;
|
|
303
|
+
}) => Promise<PipelineInterface>;
|
|
304
|
+
update: (params: {
|
|
305
|
+
id: string;
|
|
306
|
+
pipelineUpdateDto: PipelineUpdateInterface;
|
|
307
|
+
}) => Promise<PipelineInterface>;
|
|
308
|
+
delete: (params: {
|
|
309
|
+
id: string;
|
|
310
|
+
}) => Promise<void>;
|
|
311
|
+
batchDelete: (params: {
|
|
312
|
+
ids: string[];
|
|
313
|
+
}) => Promise<void>;
|
|
314
|
+
getFileTree: (params: {
|
|
315
|
+
pipelineId: string;
|
|
316
|
+
}) => Promise<FileExplorerNodeInterface[]>;
|
|
317
|
+
getFileContent: (params: {
|
|
318
|
+
pipelineId: string;
|
|
319
|
+
filePath: string;
|
|
320
|
+
}) => Promise<FileContentInterface>;
|
|
321
|
+
};
|
|
322
|
+
processor: {
|
|
323
|
+
runPipeline: (params: {
|
|
324
|
+
pipelineId: string;
|
|
325
|
+
runPipelinePayloadDto: RunPipelinePayloadInterface;
|
|
326
|
+
force?: boolean;
|
|
327
|
+
}) => Promise<void>;
|
|
328
|
+
};
|
|
329
|
+
workflows: {
|
|
330
|
+
getById: (params: {
|
|
331
|
+
id: string;
|
|
332
|
+
}) => Promise<WorkflowInterface>;
|
|
333
|
+
getAll: (params?: {
|
|
334
|
+
filter?: string;
|
|
335
|
+
sortBy?: string;
|
|
336
|
+
page?: number;
|
|
337
|
+
limit?: number;
|
|
338
|
+
}) => Promise<PaginatedInterface<WorkflowItemInterface>>;
|
|
339
|
+
delete: (params: {
|
|
340
|
+
id: string;
|
|
341
|
+
}) => Promise<void>;
|
|
342
|
+
};
|
|
343
|
+
workspaces: {
|
|
344
|
+
getById: (params: {
|
|
345
|
+
id: string;
|
|
346
|
+
}) => Promise<WorkspaceInterface>;
|
|
347
|
+
getAll: (params?: {
|
|
348
|
+
filter?: string;
|
|
349
|
+
sortBy?: string;
|
|
350
|
+
page?: number;
|
|
351
|
+
limit?: number;
|
|
352
|
+
search?: string;
|
|
353
|
+
searchColumns?: string;
|
|
354
|
+
}) => Promise<PaginatedInterface<WorkspaceItemInterface>>;
|
|
355
|
+
create: (params: {
|
|
356
|
+
workspaceCreateDto: WorkspaceCreateInterface;
|
|
357
|
+
}) => Promise<WorkspaceInterface>;
|
|
358
|
+
update: (params: {
|
|
359
|
+
id: string;
|
|
360
|
+
workspaceUpdateDto: WorkspaceUpdateInterface;
|
|
361
|
+
}) => Promise<WorkspaceInterface>;
|
|
362
|
+
delete: (params: {
|
|
363
|
+
id: string;
|
|
364
|
+
}) => Promise<void>;
|
|
365
|
+
batchDelete: (params: {
|
|
366
|
+
ids: string[];
|
|
367
|
+
}) => Promise<void>;
|
|
368
|
+
setFavourite: (params: {
|
|
369
|
+
id: string;
|
|
370
|
+
workspaceFavouriteDto: WorkspaceFavouriteInterface;
|
|
371
|
+
}) => Promise<void>;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
|
|
228
375
|
export declare function createApiClient(environment: Environment): {
|
|
229
|
-
auth:
|
|
376
|
+
auth: ApiClient['auth'];
|
|
230
377
|
};
|
|
231
378
|
|
|
232
379
|
export declare interface CreateWorkspaceProps {
|
|
233
|
-
types:
|
|
234
|
-
workspace?:
|
|
380
|
+
types: WorkspaceConfigInterface[];
|
|
381
|
+
workspace?: WorkspaceItemInterface;
|
|
235
382
|
onSuccess: () => void;
|
|
236
383
|
}
|
|
237
384
|
|
|
@@ -256,7 +403,7 @@ export declare interface DataListProps<T = any> {
|
|
|
256
403
|
searchTerm?: string;
|
|
257
404
|
onSearchChange?: (term: string) => void;
|
|
258
405
|
filters?: Record<string, string>;
|
|
259
|
-
filterConfig?: Record<string,
|
|
406
|
+
filterConfig?: Record<string, FilterOption[]>;
|
|
260
407
|
onFiltersChange?: (filters: Record<string, string>) => void;
|
|
261
408
|
onRowClick?: (item: T) => void;
|
|
262
409
|
onEdit?: (item: T) => void;
|
|
@@ -295,7 +442,7 @@ export declare const DataTableFilters: React.FC<DataTableFiltersProps>;
|
|
|
295
442
|
|
|
296
443
|
declare interface DataTableFiltersProps {
|
|
297
444
|
filters: Record<string, string>;
|
|
298
|
-
filterConfig: Record<string,
|
|
445
|
+
filterConfig: Record<string, FilterOption[]>;
|
|
299
446
|
onFiltersChange?: (filters: Record<string, string>) => void;
|
|
300
447
|
isOpen: boolean;
|
|
301
448
|
}
|
|
@@ -327,7 +474,7 @@ export declare interface DataTableProps<T = any> {
|
|
|
327
474
|
searchTerm?: string;
|
|
328
475
|
onSearchChange: (term: string) => void;
|
|
329
476
|
filters?: Record<string, string>;
|
|
330
|
-
filterConfig?: Record<string,
|
|
477
|
+
filterConfig?: Record<string, FilterOption[]>;
|
|
331
478
|
onFiltersChange: (filters: Record<string, string>) => void;
|
|
332
479
|
onRowClick?: (item: T) => void;
|
|
333
480
|
onEdit?: (item: T) => void;
|
|
@@ -449,8 +596,8 @@ export declare function DropdownMenuSubTrigger({ className, inset, children, ...
|
|
|
449
596
|
export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): JSX.Element;
|
|
450
597
|
|
|
451
598
|
export declare interface EditWorkspaceProps {
|
|
452
|
-
types:
|
|
453
|
-
workspace:
|
|
599
|
+
types: WorkspaceConfigInterface[];
|
|
600
|
+
workspace: WorkspaceItemInterface;
|
|
454
601
|
onSuccess: () => void;
|
|
455
602
|
}
|
|
456
603
|
|
|
@@ -463,6 +610,27 @@ export declare interface Environment {
|
|
|
463
610
|
getIdToken?: () => Promise<string>;
|
|
464
611
|
}
|
|
465
612
|
|
|
613
|
+
export declare function EnvironmentEmbedRoot(): JSX.Element;
|
|
614
|
+
|
|
615
|
+
export declare interface EnvironmentOption {
|
|
616
|
+
id: string;
|
|
617
|
+
type: string;
|
|
618
|
+
name: string;
|
|
619
|
+
local?: boolean;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export declare function EnvironmentSlotSelector({ slot, environments, selectedEnvironmentId, onSelect, onCreateEnvironment, isCreating, error, }: EnvironmentSlotSelectorProps): JSX.Element;
|
|
623
|
+
|
|
624
|
+
declare interface EnvironmentSlotSelectorProps {
|
|
625
|
+
slot: EnvironmentConfigInterface;
|
|
626
|
+
environments: EnvironmentOption[];
|
|
627
|
+
selectedEnvironmentId: string | undefined;
|
|
628
|
+
onSelect: (environmentId: string) => void;
|
|
629
|
+
onCreateEnvironment?: () => void;
|
|
630
|
+
isCreating?: boolean;
|
|
631
|
+
error?: string;
|
|
632
|
+
}
|
|
633
|
+
|
|
466
634
|
export declare const ErrorSnackbar: default_2.FC<ErrorSnackbarProps>;
|
|
467
635
|
|
|
468
636
|
declare interface ErrorSnackbarProps {
|
|
@@ -477,6 +645,11 @@ declare class EventEmitter {
|
|
|
477
645
|
emit(event: string, ...args: unknown[]): void;
|
|
478
646
|
}
|
|
479
647
|
|
|
648
|
+
export declare type FilterOption = string | {
|
|
649
|
+
label: string;
|
|
650
|
+
value: string;
|
|
651
|
+
};
|
|
652
|
+
|
|
480
653
|
export declare const GoogleLogo: default_2.FC<GoogleLogoProps>;
|
|
481
654
|
|
|
482
655
|
declare interface GoogleLogoProps {
|
|
@@ -505,10 +678,10 @@ declare interface ListViewProps<T extends Item = Item> {
|
|
|
505
678
|
items: T[];
|
|
506
679
|
totalItems: number;
|
|
507
680
|
columns: Column[];
|
|
508
|
-
filterConfig: Record<string,
|
|
681
|
+
filterConfig: Record<string, FilterOption[]>;
|
|
509
682
|
deleteItem?: (id: string) => void;
|
|
510
683
|
onClick?: (id: string) => void;
|
|
511
|
-
handleNew
|
|
684
|
+
handleNew?: () => void;
|
|
512
685
|
handleEdit?: (item: T) => void;
|
|
513
686
|
setPage: (page: number) => void;
|
|
514
687
|
setRowsPerPage: (rows: number) => void;
|
|
@@ -571,6 +744,8 @@ export declare class LocalRouter implements StudioRouter {
|
|
|
571
744
|
constructor(navigate: ReturnType<typeof useNavigate>, envId: string);
|
|
572
745
|
navigateToHome(): Promise<void>;
|
|
573
746
|
navigateToEnvironmentInfo(): Promise<void>;
|
|
747
|
+
getRuns(): string;
|
|
748
|
+
getRunsActionRequired(): string;
|
|
574
749
|
getDashboard(): string;
|
|
575
750
|
navigateToDashboard(): Promise<void>;
|
|
576
751
|
getWorkspaces(): string;
|
|
@@ -587,6 +762,7 @@ export declare class LocalRouter implements StudioRouter {
|
|
|
587
762
|
navigateToWorkflow(pipelineId: string, workflowId: string, clickId: string | undefined): Promise<void>;
|
|
588
763
|
navigateToPipelineNamespace(workspaceId: string, pipelineId: string, namespaceId: string): Promise<void>;
|
|
589
764
|
getEmbedPipeline(pipelineId: string): string;
|
|
765
|
+
getPreviewPipeline(pipelineId: string): string;
|
|
590
766
|
getCurrentEnvironmentId(): string;
|
|
591
767
|
getTheme(): 'local' | 'cloud';
|
|
592
768
|
}
|
|
@@ -652,6 +828,8 @@ export declare function PopoverContent({ className, align, sideOffset, ...props
|
|
|
652
828
|
|
|
653
829
|
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
654
830
|
|
|
831
|
+
export declare function PreviewWorkbenchPage(): JSX.Element;
|
|
832
|
+
|
|
655
833
|
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
|
|
656
834
|
|
|
657
835
|
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
|
|
@@ -678,6 +856,10 @@ declare interface RowAction_2<T = any> {
|
|
|
678
856
|
className?: string;
|
|
679
857
|
}
|
|
680
858
|
|
|
859
|
+
export declare function RunsListPage(): JSX.Element;
|
|
860
|
+
|
|
861
|
+
export declare function RunsPage(): JSX.Element;
|
|
862
|
+
|
|
681
863
|
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
|
|
682
864
|
|
|
683
865
|
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
|
|
@@ -833,6 +1015,8 @@ declare interface StudioContext {
|
|
|
833
1015
|
|
|
834
1016
|
declare const StudioContext: Context<StudioContext | null>;
|
|
835
1017
|
|
|
1018
|
+
export declare function StudioLandingPage(): JSX.Element;
|
|
1019
|
+
|
|
836
1020
|
export declare const StudioProvider: ({ children, router, environment, }: {
|
|
837
1021
|
children: ReactNode;
|
|
838
1022
|
router: StudioRouter;
|
|
@@ -842,6 +1026,8 @@ export declare const StudioProvider: ({ children, router, environment, }: {
|
|
|
842
1026
|
export declare interface StudioRouter {
|
|
843
1027
|
navigateToHome(): Promise<void>;
|
|
844
1028
|
navigateToEnvironmentInfo(): Promise<void>;
|
|
1029
|
+
getRuns(): string;
|
|
1030
|
+
getRunsActionRequired(): string;
|
|
845
1031
|
getDashboard(): string;
|
|
846
1032
|
navigateToDashboard(): Promise<void>;
|
|
847
1033
|
getWorkspaces(): string;
|
|
@@ -858,6 +1044,7 @@ export declare interface StudioRouter {
|
|
|
858
1044
|
navigateToWorkflow(pipelineId: string, workflowId: string, clickId: string | undefined): Promise<void>;
|
|
859
1045
|
navigateToPipelineNamespace(workspaceId: string, pipelineId: string, namespaceId: string): Promise<void>;
|
|
860
1046
|
getEmbedPipeline(pipelineId: string): string;
|
|
1047
|
+
getPreviewPipeline(pipelineId: string): string;
|
|
861
1048
|
getCurrentEnvironmentId(): string;
|
|
862
1049
|
getTheme(): 'local' | 'cloud';
|
|
863
1050
|
}
|
|
@@ -894,34 +1081,48 @@ export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<type
|
|
|
894
1081
|
|
|
895
1082
|
export declare function useApiClient(): {
|
|
896
1083
|
envKey: string;
|
|
897
|
-
api:
|
|
898
|
-
ApiV1AuthApi: ApiV1AuthApi;
|
|
899
|
-
ApiV1DashboardApi: ApiV1DashboardApi;
|
|
900
|
-
ApiV1ConfigApi: ApiV1ConfigApi;
|
|
901
|
-
ApiV1DocumentsApi: ApiV1DocumentsApi;
|
|
902
|
-
ApiV1NamespacesApi: ApiV1NamespacesApi;
|
|
903
|
-
ApiV1PipelinesApi: ApiV1PipelinesApi;
|
|
904
|
-
ApiV1ProcessorApi: ApiV1ProcessorApi;
|
|
905
|
-
ApiV1WorkflowsApi: ApiV1WorkflowsApi;
|
|
906
|
-
ApiV1WorkspacesApi: ApiV1WorkspacesApi;
|
|
907
|
-
};
|
|
1084
|
+
api: ApiClient;
|
|
908
1085
|
};
|
|
909
1086
|
|
|
910
|
-
export declare function
|
|
1087
|
+
export declare function useAvailableEnvironments(options?: {
|
|
1088
|
+
enabled?: boolean;
|
|
1089
|
+
}): UseQueryResult<AvailableEnvironmentInterface[], Error>;
|
|
1090
|
+
|
|
1091
|
+
export declare function useBatchDeletePipeline(): UseMutationResult<void, Error, string[], unknown>;
|
|
1092
|
+
|
|
1093
|
+
export declare function useBatchDeleteWorkspaces(): UseMutationResult<void, Error, string[], unknown>;
|
|
1094
|
+
|
|
1095
|
+
export declare function useChildPipelines(parentId: string | undefined, enabled: boolean): UseQueryResult<PaginatedInterface<PipelineItemInterface>, Error>;
|
|
911
1096
|
|
|
912
1097
|
export declare const useComponentOverrides: () => ComponentOverrides;
|
|
913
1098
|
|
|
914
|
-
export declare function
|
|
1099
|
+
export declare function useCreatePipeline(): UseMutationResult<PipelineInterface, Error, {
|
|
1100
|
+
pipelineCreateDto: PipelineCreateInterface;
|
|
1101
|
+
}, unknown>;
|
|
1102
|
+
|
|
1103
|
+
export declare function useCreateWorkspace(): UseMutationResult<WorkspaceInterface, Error, {
|
|
1104
|
+
workspaceCreateDto: WorkspaceCreateInterface;
|
|
1105
|
+
}, unknown>;
|
|
1106
|
+
|
|
1107
|
+
export declare function useDeletePipeline(): UseMutationResult<void, Error, string, unknown>;
|
|
1108
|
+
|
|
1109
|
+
export declare function useDeleteWorkspace(): UseMutationResult<void, Error, string, unknown>;
|
|
915
1110
|
|
|
916
|
-
export declare function
|
|
1111
|
+
export declare function useFilterPipelines(searchTerm: string | undefined, filter: Record<string, string | null>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<PaginatedInterface<PipelineItemInterface>, Error>;
|
|
917
1112
|
|
|
918
|
-
export declare function useFilterWorkspaces(searchTerm: string | undefined, filter: Record<string, string>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<
|
|
1113
|
+
export declare function useFilterWorkspaces(searchTerm: string | undefined, filter: Record<string, string>, sortBy?: string, order?: string, page?: number, limit?: number): UseQueryResult<PaginatedInterface<WorkspaceItemInterface>, Error>;
|
|
919
1114
|
|
|
920
1115
|
export declare function useIsMobile(): boolean;
|
|
921
1116
|
|
|
1117
|
+
export declare function usePipeline(id: string | undefined): UseQueryResult<PipelineInterface, Error>;
|
|
1118
|
+
|
|
1119
|
+
export declare function usePipelineConfig(workspaceBlockName: string | undefined, pipelineBlockName: string | undefined): UseQueryResult<PipelineConfigInterface, Error>;
|
|
1120
|
+
|
|
1121
|
+
export declare function usePipelineSource(workspaceBlockName: string | undefined, pipelineBlockName: string | undefined): UseQueryResult<PipelineSourceInterface, Error>;
|
|
1122
|
+
|
|
922
1123
|
export declare const useRouter: (envId: string) => StudioRouter;
|
|
923
1124
|
|
|
924
|
-
export declare function useSetFavouriteWorkspace(): UseMutationResult<
|
|
1125
|
+
export declare function useSetFavouriteWorkspace(): UseMutationResult<void, Error, {
|
|
925
1126
|
id: string;
|
|
926
1127
|
isFavourite: boolean;
|
|
927
1128
|
}, unknown>;
|
|
@@ -930,11 +1131,28 @@ export declare function useSidebar(): SidebarContextProps;
|
|
|
930
1131
|
|
|
931
1132
|
export declare const useStudio: () => StudioContext;
|
|
932
1133
|
|
|
933
|
-
export declare function
|
|
1134
|
+
export declare function useUpdatePipeline(): UseMutationResult<PipelineInterface, Error, {
|
|
1135
|
+
id: string;
|
|
1136
|
+
pipelineUpdateDto: PipelineUpdateInterface;
|
|
1137
|
+
}, unknown>;
|
|
1138
|
+
|
|
1139
|
+
export declare function useUpdateWorkspace(): UseMutationResult<WorkspaceInterface, Error, {
|
|
1140
|
+
id: string;
|
|
1141
|
+
workspaceUpdateDto: WorkspaceUpdateInterface;
|
|
1142
|
+
}, unknown>;
|
|
1143
|
+
|
|
1144
|
+
export declare function useWorkspace(id: string | undefined): UseQueryResult<WorkspaceInterface, Error>;
|
|
934
1145
|
|
|
935
|
-
export declare function
|
|
1146
|
+
export declare function useWorkspaceConfig(): UseQueryResult<WorkspaceConfigInterface[], Error>;
|
|
936
1147
|
|
|
937
|
-
export declare function WorkbenchPage(
|
|
1148
|
+
export declare function WorkbenchPage({ previewPanelOpen, onPreviewPanelOpenChange, isDeveloperMode, getPreviewUrl, getEnvironmentPreviewUrl, environments, }?: {
|
|
1149
|
+
previewPanelOpen?: boolean;
|
|
1150
|
+
onPreviewPanelOpenChange?: (open: boolean) => void;
|
|
1151
|
+
isDeveloperMode?: boolean;
|
|
1152
|
+
getPreviewUrl?: (pipelineId: string) => string;
|
|
1153
|
+
getEnvironmentPreviewUrl?: (env: WorkspaceEnvironmentInterface, pipelineId?: string) => string;
|
|
1154
|
+
environments?: WorkspaceEnvironmentInterface[];
|
|
1155
|
+
}): JSX.Element;
|
|
938
1156
|
|
|
939
1157
|
export declare const WorkspacePage: () => JSX.Element;
|
|
940
1158
|
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { eventBus } from "./services/eventEmitter.js";
|
|
2
1
|
import { createApiClient } from "./services/createApiClient.js";
|
|
2
|
+
import { eventBus } from "./services/eventEmitter.js";
|
|
3
3
|
import "./services/index.js";
|
|
4
4
|
import { StudioProvider, useStudio } from "./providers/StudioProvider.js";
|
|
5
5
|
import { useApiClient } from "./hooks/useApi.js";
|
|
6
6
|
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
7
|
+
import { useAvailableEnvironments, useWorkspaceConfig } from "./hooks/useConfig.js";
|
|
8
|
+
import { useBatchDeletePipeline, useChildPipelines, useCreatePipeline, useDeletePipeline, useFilterPipelines, usePipeline, usePipelineConfig, usePipelineSource, useUpdatePipeline } from "./hooks/usePipelines.js";
|
|
7
9
|
import { useBatchDeleteWorkspaces, useCreateWorkspace, useDeleteWorkspace, useFilterWorkspaces, useSetFavouriteWorkspace, useUpdateWorkspace, useWorkspace } from "./hooks/useWorkspaces.js";
|
|
8
10
|
import "./hooks/index.js";
|
|
9
11
|
import { ComponentOverridesProvider, useComponentOverrides } from "./providers/ComponentOverridesProvider.js";
|
|
@@ -58,6 +60,7 @@ import LoadingCentered_default from "./components/LoadingCentered.js";
|
|
|
58
60
|
import "./components/index.js";
|
|
59
61
|
import DebugPage_default from "./pages/DebugPage.js";
|
|
60
62
|
import DashboardPage from "./pages/DashboardPage.js";
|
|
63
|
+
import { EnvironmentSlotSelector } from "./features/workspaces/components/EnvironmentSlotSelector.js";
|
|
61
64
|
import WorkspacesPage from "./pages/WorkspacesPage.js";
|
|
62
65
|
import WorkspacePage_default from "./pages/WorkspacePage.js";
|
|
63
66
|
import WorkbenchPage from "./pages/WorkbenchPage.js";
|
|
@@ -65,5 +68,10 @@ import PipelineDebugPage_default from "./pages/PipelineDebugPage.js";
|
|
|
65
68
|
import DebugWorkflowsPage from "./pages/DebugWorkflowsPage.js";
|
|
66
69
|
import DebugWorkflowDetailsPage from "./pages/DebugWorkflowDetailsPage.js";
|
|
67
70
|
import EmbedWorkbenchPage from "./pages/EmbedWorkbenchPage.js";
|
|
71
|
+
import PreviewWorkbenchPage from "./pages/PreviewWorkbenchPage.js";
|
|
72
|
+
import RunsPage from "./pages/RunsPage.js";
|
|
73
|
+
import RunsListPage from "./pages/RunsListPage.js";
|
|
74
|
+
import StudioLandingPage from "./pages/StudioLandingPage.js";
|
|
68
75
|
import LocalHealthCheck_default from "./features/health/LocalHealthCheck.js";
|
|
69
|
-
|
|
76
|
+
import EnvironmentEmbedRoot from "./app/EnvironmentEmbedRoot.js";
|
|
77
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, CompletionMessagePaper_default as CompletionMessagePaper, ComponentOverridesProvider, ConfirmDialog_default as ConfirmDialog, CustomListView_default as CustomItemListView, DashboardPage, DataList, DataTable, DataTableBatchAction_default as DataTableBatchActions, DataTableFilters_default as DataTableFilters, DataTablePagination_default as DataTablePagination, DataTableToolbar_default as DataTableToolbar, DebugPage_default as DebugPage, DebugWorkflowDetailsPage, DebugWorkflowsPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiscordLogo, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbedWorkbenchPage, EnvironmentEmbedRoot, EnvironmentSlotSelector, ErrorSnackbar_default as ErrorSnackbar, GoogleLogo, Input, InvalidationEventsProvider, ListView_default as ItemListView, Label, LoadingCentered_default as LoadingCentered, LocalHealthCheck_default as LocalHealthCheck, LocalRouter, MainLayout_default as MainLayout, PageBreadcrumbs_default as PageBreadcrumbs, PipelineDebugPage_default as PipelineDebugPage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewWorkbenchPage, RadioGroup, RadioGroupItem, RunsListPage, RunsPage, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarInsetDiv, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuDiv, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Snackbar_default as Snackbar, SseProvider, StudioLandingPage, StudioProvider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WorkbenchPage, WorkspacePage_default as WorkspacePage, WorkspacesPage, badgeVariants, buttonVariants, createApiClient, eventBus, useApiClient, useAvailableEnvironments, useBatchDeletePipeline, useBatchDeleteWorkspaces, useChildPipelines, useComponentOverrides, useCreatePipeline, useCreateWorkspace, useDeletePipeline, useDeleteWorkspace, useFilterPipelines, useFilterWorkspaces, useIsMobile, usePipeline, usePipelineConfig, usePipelineSource, useRouter, useSetFavouriteWorkspace, useSidebar, useStudio, useUpdatePipeline, useUpdateWorkspace, useWorkspace, useWorkspaceConfig };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { require_pipeline_state } from "./pipeline-state.js";
|
|
3
|
+
import { require_sort_order_enum } from "./sort-order.enum.js";
|
|
4
|
+
import { require_workflow_state_enum } from "./workflow-state.enum.js";
|
|
5
|
+
import { require_user_type_enum } from "./user-type.enum.js";
|
|
6
|
+
import { require_registry_enum } from "./registry.enum.js";
|
|
7
|
+
var require_enums = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
8
|
+
var o = e && e.__createBinding || (Object.create ? function(e, n, r, i) {
|
|
9
|
+
i === void 0 && (i = r);
|
|
10
|
+
var a = Object.getOwnPropertyDescriptor(n, r);
|
|
11
|
+
(!a || ("get" in a ? !n.__esModule : a.writable || a.configurable)) && (a = {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: function() {
|
|
14
|
+
return n[r];
|
|
15
|
+
}
|
|
16
|
+
}), Object.defineProperty(e, i, a);
|
|
17
|
+
} : function(e, n, r, i) {
|
|
18
|
+
i === void 0 && (i = r), e[i] = n[r];
|
|
19
|
+
}), s = e && e.__exportStar || function(e, n) {
|
|
20
|
+
for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && o(n, e, r);
|
|
21
|
+
};
|
|
22
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), s(require_pipeline_state(), e), s(require_sort_order_enum(), e), s(require_workflow_state_enum(), e), s(require_user_type_enum(), e), s(require_registry_enum(), e);
|
|
23
|
+
}));
|
|
24
|
+
export default require_enums();
|
|
25
|
+
export { require_enums };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
var require_pipeline_state = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
3
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.PipelineState = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(e) {
|
|
6
|
+
e.Pending = "pending", e.Running = "running", e.Paused = "paused", e.Completed = "completed", e.Failed = "failed", e.Canceled = "canceled";
|
|
7
|
+
})(t || (e.PipelineState = t = {}));
|
|
8
|
+
}));
|
|
9
|
+
export default require_pipeline_state();
|
|
10
|
+
export { require_pipeline_state };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
var require_registry_enum = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
3
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.REGISTRY_CATEGORIES = e.RegistryEntryCategory = e.RegistryEntryStatus = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(e) {
|
|
6
|
+
e.DRAFT = "draft", e.PENDING = "pending", e.ACTIVE = "active", e.INACTIVE = "inactive";
|
|
7
|
+
})(t || (e.RegistryEntryStatus = t = {}));
|
|
8
|
+
var n;
|
|
9
|
+
(function(e) {
|
|
10
|
+
e.TOOLS = "tools", e.EXAMPLES = "examples", e.BUNDLES = "bundles", e.MODULES = "modules", e.INTEGRATIONS = "integrations";
|
|
11
|
+
})(n || (e.RegistryEntryCategory = n = {})), e.REGISTRY_CATEGORIES = [
|
|
12
|
+
n.TOOLS,
|
|
13
|
+
n.EXAMPLES,
|
|
14
|
+
n.BUNDLES,
|
|
15
|
+
n.MODULES,
|
|
16
|
+
n.INTEGRATIONS
|
|
17
|
+
];
|
|
18
|
+
}));
|
|
19
|
+
export default require_registry_enum();
|
|
20
|
+
export { require_registry_enum };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
var require_sort_order_enum = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
3
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.SortOrder = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(e) {
|
|
6
|
+
e.ASC = "ASC", e.DESC = "DESC";
|
|
7
|
+
})(t || (e.SortOrder = t = {}));
|
|
8
|
+
}));
|
|
9
|
+
export default require_sort_order_enum();
|
|
10
|
+
export { require_sort_order_enum };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
var require_user_type_enum = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
3
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.UserTypeEnum = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(e) {
|
|
6
|
+
e.Local = "local", e.Cloud = "cloud";
|
|
7
|
+
})(t || (e.UserTypeEnum = t = {}));
|
|
8
|
+
}));
|
|
9
|
+
export default require_user_type_enum();
|
|
10
|
+
export { require_user_type_enum };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
var require_workflow_state_enum = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
3
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkflowState = void 0;
|
|
4
|
+
var t;
|
|
5
|
+
(function(e) {
|
|
6
|
+
e.Pending = "pending", e.Running = "running", e.Waiting = "waiting", e.Completed = "completed", e.Failed = "failed", e.Canceled = "canceled";
|
|
7
|
+
})(t || (e.WorkflowState = t = {}));
|
|
8
|
+
}));
|
|
9
|
+
export default require_workflow_state_enum();
|
|
10
|
+
export { require_workflow_state_enum };
|