@morscherlab/mint-sdk 1.0.63 → 1.1.0-beta.2
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/README.md +101 -2
- package/dist/EmptyState-D1c4RdC7.js +638 -0
- package/dist/EmptyState-D1c4RdC7.js.map +1 -0
- package/dist/{ExperimentPopover-BbPkIFsI.js → ExperimentPopover-BFw3QX8L.js} +10 -9
- package/dist/{ExperimentPopover-BbPkIFsI.js.map → ExperimentPopover-BFw3QX8L.js.map} +1 -1
- package/dist/{ExperimentSelectorModal-DZeSd-yr.js → ExperimentSelectorModal-B7w6k3Y8.js} +12 -216
- package/dist/ExperimentSelectorModal-B7w6k3Y8.js.map +1 -0
- package/dist/{SettingsModal-CJgLadsN.js → SettingsModal-DPDwCbXK.js} +12 -9
- package/dist/{SettingsModal-CJgLadsN.js.map → SettingsModal-DPDwCbXK.js.map} +1 -1
- package/dist/__tests__/components/GeneratedPlotlyResult.test.d.ts +1 -0
- package/dist/__tests__/components/GeneratedPluginView.test.d.ts +1 -0
- package/dist/__tests__/components/GeneratedResultRenderer.test.d.ts +1 -0
- package/dist/__tests__/components/InstrumentAlertLog.test.d.ts +1 -0
- package/dist/__tests__/composables/useGeneratedAnalysis.test.d.ts +1 -0
- package/dist/__tests__/generatedUi.test.d.ts +1 -0
- package/dist/{analysisArtifactTypes-Cu40dzSG.js → analysisArtifactTypes-ejqR8MX3.js} +1 -1
- package/dist/analysisArtifactTypes-ejqR8MX3.js.map +1 -0
- package/dist/{auth-DZAwEeis.js → auth-B87xM--s.js} +1 -1
- package/dist/{auth-DZAwEeis.js.map → auth-B87xM--s.js.map} +1 -1
- package/dist/chunk-BoAXSpZd.js +33 -0
- package/dist/components/AppSidebar.vue.d.ts +1 -1
- package/dist/components/AutoGroupModal.vue.d.ts +2 -2
- package/dist/components/BioTemplateExperimentWorkspaceView.vue.d.ts +2 -2
- package/dist/components/CollapsibleCard.vue.d.ts +1 -1
- package/dist/components/ComponentBindingRenderer.vue.d.ts +1 -1
- package/dist/components/ConfirmDialog.vue.d.ts +1 -1
- package/dist/components/ExperimentDataViewer.vue.d.ts +1 -1
- package/dist/components/ExperimentTimeline.vue.d.ts +1 -1
- package/dist/components/FileUploader.vue.d.ts +4 -2
- package/dist/components/FitPanel.vue.d.ts +1 -1
- package/dist/components/FormActions.vue.d.ts +1 -1
- package/dist/components/FormBuilder.vue.d.ts +1 -1
- package/dist/components/GeneratedPathInput.vue.d.ts +12 -0
- package/dist/components/GeneratedPlotlyResult.vue.d.ts +11 -0
- package/dist/components/GeneratedPluginView.vue.d.ts +10 -0
- package/dist/components/GeneratedResultRenderer.vue.d.ts +6 -0
- package/dist/components/JobsStatusTray.vue.d.ts +5 -1
- package/dist/components/LcmsSequenceTable.vue.d.ts +1 -1
- package/dist/components/SampleLegend.vue.d.ts +1 -1
- package/dist/components/SampleSelector.vue.d.ts +2 -2
- package/dist/components/SettingsModal.vue.d.ts +1 -1
- package/dist/components/SmartGroupFieldRecipe.vue.d.ts +2 -2
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +8 -9
- package/dist/components/internal/PlateMapEditorToolbarInternal.vue.d.ts +2 -2
- package/dist/{components-DdzHh3a_.js → components-UfkPN1bK.js} +2255 -2303
- package/dist/components-UfkPN1bK.js.map +1 -0
- package/dist/composables/index.d.ts +2 -3
- package/dist/composables/index.js +10 -11
- package/dist/composables/platformContextHelpers.d.ts +0 -2
- package/dist/composables/useAnalysisArtifacts.d.ts +1 -3
- package/dist/composables/useGeneratedAnalysis.d.ts +62 -0
- package/dist/composables/useJobsStatusTray.d.ts +48 -4
- package/dist/composables/usePlatformContext.d.ts +3 -0
- package/dist/composables/usePluginClient.d.ts +6 -3
- package/dist/{composables-BUUphBqg.js → composables-B512bWJP.js} +155 -74
- package/dist/composables-B512bWJP.js.map +1 -0
- package/dist/experiment-utils-CxkruZ3G.js +392 -0
- package/dist/experiment-utils-CxkruZ3G.js.map +1 -0
- package/dist/generated/schema.d.ts +7 -0
- package/dist/generated-ui/main.d.ts +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -18
- package/dist/index.js.map +1 -1
- package/dist/install.js +7 -8
- package/dist/install.js.map +1 -1
- package/dist/plotly.min-BR53hja4.js +180634 -0
- package/dist/plotly.min-BR53hja4.js.map +1 -0
- package/dist/stores/auth.d.ts +2 -2
- package/dist/stores/index.js +1 -1
- package/dist/styles.css +10543 -10404
- package/dist/templates/index.js +4 -3
- package/dist/templates/packs.d.ts +0 -1
- package/dist/{templates-CNbPQNID.js → templates-Cttbjbyc.js} +2 -4
- package/dist/templates-Cttbjbyc.js.map +1 -0
- package/dist/types/analysisArtifactTypes.d.ts +0 -8
- package/dist/types/form-builder.d.ts +1 -1
- package/dist/types/generated-ui.d.ts +170 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +1 -1
- package/dist/types/instrument.d.ts +1 -0
- package/dist/types/jobs.d.ts +7 -1
- package/dist/types/platform.d.ts +2 -0
- package/dist/{useControlSchema-BZNdalmL.js → useControlSchema-Dallso-L.js} +1852 -171
- package/dist/useControlSchema-Dallso-L.js.map +1 -0
- package/dist/{useDropdownState-Bb-c_PeE.js → useDropdownState-gVaMXtwW.js} +2 -2
- package/dist/{useDropdownState-Bb-c_PeE.js.map → useDropdownState-gVaMXtwW.js.map} +1 -1
- package/dist/{useExperimentSelector-DRbj6vse.js → useExperimentSelector-BMjzNcf2.js} +4 -255
- package/dist/useExperimentSelector-BMjzNcf2.js.map +1 -0
- package/dist/{useFormBuilder-DKekvXRs.js → useFormBuilder-BXaaDI41.js} +2 -2
- package/dist/{useFormBuilder-DKekvXRs.js.map → useFormBuilder-BXaaDI41.js.map} +1 -1
- package/dist/{useAnalysisArtifacts-C3l0a0vu.js → useProtocolTemplates-BP7_4RGQ.js} +307 -475
- package/dist/useProtocolTemplates-BP7_4RGQ.js.map +1 -0
- package/package.json +7 -3
- package/src/__tests__/components/GeneratedPathInput.test.ts +132 -0
- package/src/__tests__/components/GeneratedPlotlyResult.test.ts +117 -0
- package/src/__tests__/components/GeneratedPluginView.test.ts +230 -0
- package/src/__tests__/components/GeneratedResultRenderer.test.ts +93 -0
- package/src/__tests__/components/InstrumentAlertLog.test.ts +59 -0
- package/src/__tests__/composables/formBuilderRegistry.test.ts +5 -1
- package/src/__tests__/composables/useAnalysisArtifacts.test.ts +1 -74
- package/src/__tests__/composables/useApi.test.ts +8 -0
- package/src/__tests__/composables/useGeneratedAnalysis.test.ts +1740 -0
- package/src/__tests__/composables/useJobsStatusTray.test.ts +179 -1
- package/src/__tests__/composables/usePlatformContext.test.ts +28 -0
- package/src/__tests__/composables/usePluginClient.test.ts +366 -20
- package/src/__tests__/composables/usePluginConfig.test.ts +323 -7
- package/src/__tests__/docs/extractDocsTemplates.test.ts +0 -1
- package/src/__tests__/generatedUi.test.ts +119 -0
- package/src/__tests__/templates/templates.test.ts +1 -1
- package/src/components/FileUploader.vue +49 -11
- package/src/components/GeneratedPathInput.vue +218 -0
- package/src/components/GeneratedPlotlyResult.vue +87 -0
- package/src/components/GeneratedPluginView.vue +279 -0
- package/src/components/GeneratedResultRenderer.vue +137 -0
- package/src/components/InstrumentAlertLog.vue +2 -2
- package/src/components/JobsStatusTray.vue +14 -8
- package/src/components/index.ts +4 -0
- package/src/composables/formBuilderRegistry.ts +2 -0
- package/src/composables/index.ts +18 -5
- package/src/composables/platformContextHelpers.ts +3 -10
- package/src/composables/useAnalysisArtifacts.ts +0 -48
- package/src/composables/useApi.ts +1 -0
- package/src/composables/useGeneratedAnalysis.ts +1252 -0
- package/src/composables/useJobsStatusTray.ts +234 -45
- package/src/composables/usePluginClient.ts +152 -25
- package/src/composables/usePluginConfig.ts +156 -20
- package/src/generated/schema.ts +130 -0
- package/src/generated-ui/main.ts +21 -0
- package/src/index.ts +3 -0
- package/src/jobs.ts +5 -0
- package/src/plotly-dist.d.ts +3 -0
- package/src/templates/packs.ts +0 -3
- package/src/types/analysisArtifactTypes.ts +0 -9
- package/src/types/form-builder.ts +1 -0
- package/src/types/generated-ui.ts +176 -0
- package/src/types/index.ts +2 -1
- package/src/types/instrument.ts +1 -0
- package/src/types/jobs.ts +10 -1
- package/src/types/platform.ts +2 -0
- package/dist/BaseButton-Dgqrze41.js +0 -74
- package/dist/BaseButton-Dgqrze41.js.map +0 -1
- package/dist/BaseModal-B9UA8Y_I.js +0 -165
- package/dist/BaseModal-B9UA8Y_I.js.map +0 -1
- package/dist/BaseSelect-ekgr9fDo.js +0 -179
- package/dist/BaseSelect-ekgr9fDo.js.map +0 -1
- package/dist/ExperimentPopover-Ryusjrhv.js +0 -4
- package/dist/ExperimentSelectorModal-Cg4-LXBD.js +0 -5
- package/dist/ExperimentSelectorModal-DZeSd-yr.js.map +0 -1
- package/dist/SettingsModal-Bl_9w2Y3.js +0 -5
- package/dist/analysisArtifactTypes-Cu40dzSG.js.map +0 -1
- package/dist/components-DdzHh3a_.js.map +0 -1
- package/dist/composables/analysisArtifactTarget.d.ts +0 -5
- package/dist/composables-BUUphBqg.js.map +0 -1
- package/dist/experiment-utils-Bfa7CwPU.js +0 -108
- package/dist/experiment-utils-Bfa7CwPU.js.map +0 -1
- package/dist/templates-CNbPQNID.js.map +0 -1
- package/dist/useAnalysisArtifacts-C3l0a0vu.js.map +0 -1
- package/dist/useControlSchema-BZNdalmL.js.map +0 -1
- package/dist/useEventListener-CfVkP9Xz.js +0 -57
- package/dist/useEventListener-CfVkP9Xz.js.map +0 -1
- package/dist/useExperimentSelector-DRbj6vse.js.map +0 -1
- package/src/__tests__/composables/analysisArtifactTarget.test.ts +0 -77
- package/src/composables/analysisArtifactTarget.ts +0 -53
- /package/dist/__tests__/{composables/analysisArtifactTarget.test.d.ts → components/GeneratedPathInput.test.d.ts} +0 -0
|
@@ -20,13 +20,12 @@ export { useEventListener, type EventListenerEnabled, type EventFor, type EventL
|
|
|
20
20
|
export { DEFAULT_MOBILE_VIEWPORT_QUERY, useMobileSupportGate, type MobileSupportSource, type MobileViewportQuerySource, type UseMobileSupportGateOptions, type UseMobileSupportGateReturn, } from './useMobileSupportGate';
|
|
21
21
|
export { useDebouncedWatch, type DebouncedWatchCallback, type DebouncedWatchCleanup, type DebouncedWatchSource, type UseDebouncedWatchOptions, type UseDebouncedWatchReturn, } from './useDebouncedWatch';
|
|
22
22
|
export { useFormBuilder, evaluateCondition } from './useFormBuilder';
|
|
23
|
+
export { createGeneratedAnalysisTransport, useGeneratedAnalysis, usePluginJobs, type GeneratedAnalysisTransport, type GeneratedAnalysisOptions, type PluginJobRequestOptions, type PluginJobWaitOptions, type UsePluginJobsOptions, type UsePluginJobsReturn, type UseGeneratedAnalysisReturn, } from './useGeneratedAnalysis';
|
|
23
24
|
export { useAutoGroup, DEFAULT_COLORS, extractSamplesFromDesignData } from './useAutoGroup';
|
|
24
25
|
export { useReagentSeries, generateDilutionSeries, DEFAULT_PRESETS, DEFAULT_UNITS, type LevelEntry, type DilutionPreset, type UseReagentSeriesReturn, } from './useReagentSeries';
|
|
25
26
|
export { usePluginConfig, type UsePluginConfigReturn } from './usePluginConfig';
|
|
26
27
|
export { useExperimentSelector, type UseExperimentSelectorOptions, type UseExperimentSelectorReturn, } from './useExperimentSelector';
|
|
27
28
|
export { useAnalysisArtifacts, ANALYSIS_FILE_ARTIFACT_SCHEMA, type UseAnalysisArtifactsOptions, type UseAnalysisArtifactsReturn, } from './useAnalysisArtifacts';
|
|
28
|
-
export { buildAnalysisArtifactTargetQuery, parseAnalysisArtifactTarget, } from './analysisArtifactTarget';
|
|
29
|
-
export { resolveCurrentPluginId } from './platformContextHelpers';
|
|
30
29
|
export { formatExperimentDate, formatExperimentStatus, getExperimentStatusVariant, resolveExperimentCode, datePresetToISO, EXPERIMENT_STATUS_OPTIONS, EXPERIMENT_STATUS_VARIANT_MAP, EXPERIMENT_STATUS_LABELS, DATE_PRESET_OPTIONS, SORT_OPTIONS, } from './experiment-utils';
|
|
31
30
|
export { useExperimentData, type UseExperimentDataOptions, type UseExperimentDataReturn, } from './useExperimentData';
|
|
32
31
|
export { extractSampleNamesFromDesignData, extractSampleOptionsFromDesignData, unwrapExperimentDesignData, type ExperimentDesignDataResponse, type ExtractExperimentSamplesOptions, } from './experimentDesignData';
|
|
@@ -57,4 +56,4 @@ export { useBioTemplateWorkspace, type BioTemplateRendererBinding, type BioTempl
|
|
|
57
56
|
export { useBioTemplatePresetWorkspace, type BioTemplatePresetWorkspaceBindings, type UseBioTemplatePresetWorkspaceOptions, type UseBioTemplatePresetWorkspaceReturn, } from './useBioTemplatePresetWorkspace';
|
|
58
57
|
export { useBioTemplatePackWorkspace, type UseBioTemplatePackWorkspaceOptions, type UseBioTemplatePackWorkspaceReturn, } from './useBioTemplatePackWorkspace';
|
|
59
58
|
export { buildPluginEndpointUrl, createPluginClient, downloadBlob, downloadPluginEndpoint, getPluginPageSelectorItems, pluginFormDataFromPayload, resolvePluginBaseUrl, uploadPluginEndpoint, usePluginClient, usePluginEventStream, usePluginSettings, useCurrentExperiment, type BuildPluginEndpointUrlOptions, type DownloadBlobOptions, type DownloadPluginEndpointOptions, type PluginContract, type PluginClientRequestOptions, type PluginEndpointContract, type PluginEndpointDefinition, type PluginHttpMethod, type PluginNavItemContract, type PluginEndpointRequestOptions, type PluginEventStreamMessage, type PluginEventStreamOptions, type PluginFormDataPayload, type PluginFormDataValue, type CreatePluginClientOptions, type UseCurrentExperimentOptions, type UseCurrentExperimentReturn, type UsePluginEventStreamReturn, type UsePluginSettingsOptions, type UsePluginSettingsReturn, } from './usePluginClient';
|
|
60
|
-
export { useJobsStatusTray, type JobsStatusTrayAdapter, type JobsStatusTrayTab, type JobStreamMessage, type UseJobsStatusTrayOptions, type UseJobsStatusTrayReturn, } from './useJobsStatusTray';
|
|
59
|
+
export { combinePluginJobSources, usePluginJobCenter, useJobsStatusTray, type CombinedPluginJobCenterSource, type PluginJobCenterSource, type JobsStatusTrayAdapter, type JobsStatusTrayTab, type JobStreamMessage, type UsePluginJobCenterOptions, type UsePluginJobCenterReturn, type UseJobsStatusTrayOptions, type UseJobsStatusTrayReturn, } from './useJobsStatusTray';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { i as usePlatformContext, n as evaluateCondition, r as useForm, t as useFormBuilder } from "../useFormBuilder-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
|
|
11
|
-
export { ANALYSIS_FILE_ARTIFACT_SCHEMA, APP_EXPERIMENT_KEY, ATOMIC_WEIGHTS, AuthenticationRequiredError, DATE_PRESET_OPTIONS, DEFAULT_COLORS, DEFAULT_MOBILE_VIEWPORT_QUERY, DEFAULT_PRESETS, DEFAULT_UNITS, EXPERIMENT_STATUS_LABELS, EXPERIMENT_STATUS_OPTIONS, EXPERIMENT_STATUS_VARIANT_MAP, SORT_OPTIONS, addMinutes, buildAnalysisArtifactTargetQuery, buildPluginEndpointUrl, candidateMatchesSearch, compareSortValues, compareTime, controlValuesToComponentBindings, controlValuesToComponentBindingsById, controlValuesToComponentProps, controlsToFormSchema, controlsToSectionFormSchema, controlsToSectionFormSchemas, controlsToSettingsSchema, controlsToSidebarPanels, controlsToTopBarSettingsConfig, controlsToViewIds, controlsToViewItems, coordinateToWellId, createColumnConditions, createPluginClient, createPluginResourceClient, createRowConditions, createWellPlateWells, datePresetToISO, defineControlComponentBindings, defineControlModel, defineControls, defineDoseCalculatorControlProps, defineDoseDesignControlModel, defineWellPlateControlProps, defineWellPlateDoseComponentBindings, defineWellPlateDoseControlProps, detectDelimiter, downloadBlob, downloadPluginEndpoint, durationMinutes, evaluateCondition, extractSampleNamesFromDesignData, extractSampleOptionsFromDesignData, extractSamplesFromDesignData, findAvailableSlots, findNearestTimeSlotIndex, formatDuration, formatExperimentDate, formatExperimentStatus, formatTime, formatTimeSlot, fromMinutes, generateDilutionSeries, generateTimeSlots, getBioTemplateComponentBindings, getBioTemplateComponentProps, getBioTemplateControlSchema, getControlDefaults, getDefaultControlView, getExperimentStatusVariant, getFieldRegistryEntry, getPluginPageSelectorItems, getTypeDefault, isTimeInRange, normalizeSearchQuery, parseAnalysisArtifactTarget, parseDelimitedText, parseTime, pluginFormDataFromPayload, rangesOverlap, readFileAsText, requireBioTemplateControlSchema, resolveCurrentPluginId, resolveExperimentCode, resolvePluginBaseUrl, resolvePluginFrontendBase, runWellPlateValidation, snapToSlot, toBioTemplateComponentBindings, toBioTemplateComponentBindingsById, toBioTemplateComponentProps, toBioTemplateComponentPropsByComponent, toBioTemplateComponentPropsById, toMinutes, unwrapExperimentDesignData, uploadPluginEndpoint, useAnalysisArtifacts, useApi, useAppExperiment, useAsync, useAsyncBatch, useAuth, useAutoGroup, useBioTemplateComponents, useBioTemplateControls, useBioTemplatePackWorkspace, useBioTemplatePresetWorkspace, useBioTemplateWorkspace, useChemicalFormula, useCommandHistory, useConcentrationUnits, useControlSchema, useControlWorkspace, useCurrentExperiment, useDebouncedWatch, useDoseCalculator, useEventListener, useExpansionSet, useExperimentData, useExperimentSamples, useExperimentSave, useExperimentSelector, useFileImport, useForm, useFormBuilder, useGroupAssignment, useJobsStatusTray, useListSelection, useMobileSupportGate, useOptimisticMutation, usePasskey, usePlatformContext, usePluginClient, usePluginConfig, usePluginEventStream, usePluginSettings, useProtocolTemplates, useRackEditor, useReagentSeries, useRequestSyncState, useResourceCrud, useSampleGroups, useScheduleDrag, useSelectionLimit, useSequenceUtils, useSortedItems, useTemplateCollection, useTextSearch, useTheme, useTimeUtils, useToast, useWellPainting, useWellPlateAdapter, useWellPlateEditor, useWellPlateValidation, validateImportFile, wellIdToCoordinate, wellIdsInRectangle };
|
|
1
|
+
import { a as SORT_OPTIONS, c as formatExperimentStatus, f as useEventListener, i as EXPERIMENT_STATUS_VARIANT_MAP, l as getExperimentStatusVariant, n as EXPERIMENT_STATUS_LABELS, o as datePresetToISO, r as EXPERIMENT_STATUS_OPTIONS, s as formatExperimentDate, t as DATE_PRESET_OPTIONS, u as resolveExperimentCode } from "../experiment-utils-CxkruZ3G.js";
|
|
2
|
+
import { i as AuthenticationRequiredError, o as useApi, r as useRequestSyncState } from "../EmptyState-D1c4RdC7.js";
|
|
3
|
+
import { A as useConcentrationUnits, B as useAnalysisArtifacts, C as controlsToViewIds, D as getTypeDefault, E as getFieldRegistryEntry, F as ATOMIC_WEIGHTS, G as createGeneratedAnalysisTransport, I as useChemicalFormula, K as useGeneratedAnalysis, N as useSequenceUtils, S as controlsToTopBarSettingsConfig, T as getDefaultControlView, Tt as useSelectionLimit, _ as controlsToFormSchema, _t as parseTime, a as defineDoseCalculatorControlProps, b as controlsToSettingsSchema, bt as toMinutes, c as defineWellPlateDoseComponentBindings, ct as durationMinutes, d as defineControlModel, dt as formatDuration, ft as formatTime, gt as isTimeInRange, h as controlValuesToComponentProps, ht as generateTimeSlots, i as useControlSchema, l as defineWellPlateDoseControlProps, lt as findAvailableSlots, m as controlValuesToComponentBindingsById, mt as fromMinutes, n as defineControls, o as defineDoseDesignControlModel, ot as addMinutes, p as controlValuesToComponentBindings, pt as formatTimeSlot, q as usePluginJobs, r as getControlDefaults, s as defineWellPlateControlProps, st as compareTime, t as defineControlComponentBindings, u as useControlWorkspace, ut as findNearestTimeSlotIndex, v as controlsToSectionFormSchema, vt as rangesOverlap, w as controlsToViewItems, wt as useListSelection, x as controlsToSidebarPanels, xt as useTimeUtils, y as controlsToSectionFormSchemas, yt as snapToSlot } from "../useControlSchema-Dallso-L.js";
|
|
4
|
+
import { A as extractSamplesFromDesignData, B as useJobsStatusTray, D as readFileAsText, E as parseDelimitedText, F as unwrapExperimentDesignData, G as useAppExperiment, H as DEFAULT_MOBILE_VIEWPORT_QUERY, I as DEFAULT_COLORS, J as candidateMatchesSearch, K as useTheme, L as useWellPlateEditor, N as extractSampleNamesFromDesignData, O as useFileImport, P as extractSampleOptionsFromDesignData, Q as useSortedItems, R as useDoseCalculator, T as detectDelimiter, U as useMobileSupportGate, V as usePluginJobCenter, W as APP_EXPERIMENT_KEY, X as useTextSearch, Y as normalizeSearchQuery, Z as compareSortValues, _ as useScheduleDrag, a as useReagentSeries, b as useExpansionSet, c as useBioTemplatePresetWorkspace, d as getBioTemplateComponentProps, f as toBioTemplateComponentPropsByComponent, g as useExperimentSave, h as useTemplateCollection, i as generateDilutionSeries, j as useAutoGroup, k as validateImportFile, l as useBioTemplatePackWorkspace, m as useBioTemplateControls, n as DEFAULT_PRESETS, o as useGroupAssignment, p as useBioTemplateComponents, q as useToast, r as DEFAULT_UNITS, s as useRackEditor, t as useProtocolTemplates, u as useBioTemplateWorkspace, v as useExperimentSamples, x as useSampleGroups, y as useExperimentData, z as combinePluginJobSources } from "../useProtocolTemplates-BP7_4RGQ.js";
|
|
5
|
+
import { i as usePlatformContext, n as evaluateCondition, r as useForm, t as useFormBuilder } from "../useFormBuilder-BXaaDI41.js";
|
|
6
|
+
import { t as ANALYSIS_FILE_ARTIFACT_SCHEMA } from "../analysisArtifactTypes-ejqR8MX3.js";
|
|
7
|
+
import { B as toBioTemplateComponentProps, H as toBioTemplateComponentPropsById, L as toBioTemplateComponentBindings, P as getBioTemplateComponentBindings, R as toBioTemplateComponentBindingsById, l as requireBioTemplateControlSchema, o as getBioTemplateControlSchema } from "../templates-Cttbjbyc.js";
|
|
8
|
+
import { n as useDebouncedWatch, t as useExperimentSelector } from "../useExperimentSelector-BMjzNcf2.js";
|
|
9
|
+
import { A as resolvePluginFrontendBase, C as createPluginResourceClient, D as usePluginConfig, E as useCommandHistory, M as useAuth, O as useAsync, S as wellIdsInRectangle, T as useOptimisticMutation, _ as createWellPlateWells, a as pluginFormDataFromPayload, b as useWellPainting, c as usePluginClient, d as buildPluginEndpointUrl, f as resolvePluginBaseUrl, g as createRowConditions, h as createColumnConditions, i as getPluginPageSelectorItems, j as usePasskey, k as useAsyncBatch, l as usePluginEventStream, m as useWellPlateValidation, n as downloadBlob, o as uploadPluginEndpoint, p as runWellPlateValidation, r as downloadPluginEndpoint, s as useCurrentExperiment, t as createPluginClient, u as usePluginSettings, v as useWellPlateAdapter, w as useResourceCrud, x as wellIdToCoordinate, y as coordinateToWellId } from "../composables-B512bWJP.js";
|
|
10
|
+
export { ANALYSIS_FILE_ARTIFACT_SCHEMA, APP_EXPERIMENT_KEY, ATOMIC_WEIGHTS, AuthenticationRequiredError, DATE_PRESET_OPTIONS, DEFAULT_COLORS, DEFAULT_MOBILE_VIEWPORT_QUERY, DEFAULT_PRESETS, DEFAULT_UNITS, EXPERIMENT_STATUS_LABELS, EXPERIMENT_STATUS_OPTIONS, EXPERIMENT_STATUS_VARIANT_MAP, SORT_OPTIONS, addMinutes, buildPluginEndpointUrl, candidateMatchesSearch, combinePluginJobSources, compareSortValues, compareTime, controlValuesToComponentBindings, controlValuesToComponentBindingsById, controlValuesToComponentProps, controlsToFormSchema, controlsToSectionFormSchema, controlsToSectionFormSchemas, controlsToSettingsSchema, controlsToSidebarPanels, controlsToTopBarSettingsConfig, controlsToViewIds, controlsToViewItems, coordinateToWellId, createColumnConditions, createGeneratedAnalysisTransport, createPluginClient, createPluginResourceClient, createRowConditions, createWellPlateWells, datePresetToISO, defineControlComponentBindings, defineControlModel, defineControls, defineDoseCalculatorControlProps, defineDoseDesignControlModel, defineWellPlateControlProps, defineWellPlateDoseComponentBindings, defineWellPlateDoseControlProps, detectDelimiter, downloadBlob, downloadPluginEndpoint, durationMinutes, evaluateCondition, extractSampleNamesFromDesignData, extractSampleOptionsFromDesignData, extractSamplesFromDesignData, findAvailableSlots, findNearestTimeSlotIndex, formatDuration, formatExperimentDate, formatExperimentStatus, formatTime, formatTimeSlot, fromMinutes, generateDilutionSeries, generateTimeSlots, getBioTemplateComponentBindings, getBioTemplateComponentProps, getBioTemplateControlSchema, getControlDefaults, getDefaultControlView, getExperimentStatusVariant, getFieldRegistryEntry, getPluginPageSelectorItems, getTypeDefault, isTimeInRange, normalizeSearchQuery, parseDelimitedText, parseTime, pluginFormDataFromPayload, rangesOverlap, readFileAsText, requireBioTemplateControlSchema, resolveExperimentCode, resolvePluginBaseUrl, resolvePluginFrontendBase, runWellPlateValidation, snapToSlot, toBioTemplateComponentBindings, toBioTemplateComponentBindingsById, toBioTemplateComponentProps, toBioTemplateComponentPropsByComponent, toBioTemplateComponentPropsById, toMinutes, unwrapExperimentDesignData, uploadPluginEndpoint, useAnalysisArtifacts, useApi, useAppExperiment, useAsync, useAsyncBatch, useAuth, useAutoGroup, useBioTemplateComponents, useBioTemplateControls, useBioTemplatePackWorkspace, useBioTemplatePresetWorkspace, useBioTemplateWorkspace, useChemicalFormula, useCommandHistory, useConcentrationUnits, useControlSchema, useControlWorkspace, useCurrentExperiment, useDebouncedWatch, useDoseCalculator, useEventListener, useExpansionSet, useExperimentData, useExperimentSamples, useExperimentSave, useExperimentSelector, useFileImport, useForm, useFormBuilder, useGeneratedAnalysis, useGroupAssignment, useJobsStatusTray, useListSelection, useMobileSupportGate, useOptimisticMutation, usePasskey, usePlatformContext, usePluginClient, usePluginConfig, usePluginEventStream, usePluginJobCenter, usePluginJobs, usePluginSettings, useProtocolTemplates, useRackEditor, useReagentSeries, useRequestSyncState, useResourceCrud, useSampleGroups, useScheduleDrag, useSelectionLimit, useSequenceUtils, useSortedItems, useTemplateCollection, useTextSearch, useTheme, useTimeUtils, useToast, useWellPainting, useWellPlateAdapter, useWellPlateEditor, useWellPlateValidation, validateImportFile, wellIdToCoordinate, wellIdsInRectangle };
|
|
@@ -6,8 +6,6 @@ export type ExperimentAwarePlatformContext = PlatformContext & {
|
|
|
6
6
|
experimentId?: unknown;
|
|
7
7
|
};
|
|
8
8
|
export declare function getInjectedPlatformContext(): PlatformContext | undefined;
|
|
9
|
-
/** Return the platform's canonical plugin identity for the mounted frontend. */
|
|
10
|
-
export declare function resolveCurrentPluginId(): string | undefined;
|
|
11
9
|
export declare function getInjectedExperimentContext(): ExperimentAwarePlatformContext | undefined;
|
|
12
10
|
export declare function currentExperimentFromContext<TExperiment>(context?: ExperimentAwarePlatformContext | undefined): TExperiment | undefined;
|
|
13
11
|
export declare function currentExperimentIdFromContext(context?: ExperimentAwarePlatformContext | undefined): number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
|
|
2
|
-
import { AnalysisArtifactDetail, AnalysisArtifactMetadataUpdate, AnalysisArtifactStatusFilter, AnalysisArtifactSummary
|
|
2
|
+
import { AnalysisArtifactDetail, AnalysisArtifactMetadataUpdate, AnalysisArtifactStatusFilter, AnalysisArtifactSummary } from '../types/analysisArtifactTypes';
|
|
3
3
|
export { ANALYSIS_FILE_ARTIFACT_SCHEMA } from '../types/analysisArtifactTypes';
|
|
4
4
|
export interface UseAnalysisArtifactsOptions {
|
|
5
5
|
/** Experiment id; defaults to platform injection or URL. Refetches when it changes. */
|
|
@@ -44,8 +44,6 @@ export interface UseAnalysisArtifactsReturn {
|
|
|
44
44
|
refresh: () => Promise<AnalysisArtifactSummary[]>;
|
|
45
45
|
/** Fetch one artifact with its result payload; null when it fails or is superseded. */
|
|
46
46
|
getDetail: (artifactId: number) => Promise<AnalysisArtifactDetail | null>;
|
|
47
|
-
/** Resolve and fetch the exact stable artifact identity. */
|
|
48
|
-
resolveTarget: (target: AnalysisArtifactTarget) => Promise<AnalysisArtifactDetail | null>;
|
|
49
47
|
/** Update display_name and/or note; resolves to the updated summary or null. */
|
|
50
48
|
updateMetadata: (artifactId: number, updates: AnalysisArtifactMetadataUpdate) => Promise<AnalysisArtifactSummary | null>;
|
|
51
49
|
/** Archive an artifact; resolves to the updated summary or null. */
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
2
|
+
import { JobsStatusTrayAdapter, PluginJobCenterSource } from './useJobsStatusTray';
|
|
3
|
+
import { GeneratedAnalysisJob, GeneratedAnalysisResult, GeneratedSession, GeneratedAnalysisManifest, PluginJobPathInput, PluginJobPathUpload, PluginJobStagedPartInput, PluginJobStagedPartUploadResult, PluginJobStaging, PluginJobStagingPagination } from '../types/generated-ui';
|
|
4
|
+
export type GeneratedAnalysisTransport = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
5
|
+
export interface GeneratedAnalysisTransportOptions {
|
|
6
|
+
fetcher?: typeof fetch;
|
|
7
|
+
getAccessToken?: () => string | null | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface UsePluginJobsOptions {
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
transport?: GeneratedAnalysisTransport;
|
|
12
|
+
storage?: Storage;
|
|
13
|
+
createId?: () => string;
|
|
14
|
+
pollInterval?: number;
|
|
15
|
+
stream?: boolean;
|
|
16
|
+
streamReconnectDelay?: number;
|
|
17
|
+
immediate?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export type GeneratedAnalysisOptions = UsePluginJobsOptions;
|
|
20
|
+
export interface PluginJobWaitOptions {
|
|
21
|
+
signal?: AbortSignal;
|
|
22
|
+
rejectOnFailure?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface PluginJobRequestOptions {
|
|
25
|
+
signal?: AbortSignal;
|
|
26
|
+
}
|
|
27
|
+
export interface UsePluginJobsReturn extends PluginJobCenterSource {
|
|
28
|
+
manifest: ShallowRef<GeneratedAnalysisManifest | null>;
|
|
29
|
+
session: ShallowRef<GeneratedSession | null>;
|
|
30
|
+
jobs: ShallowRef<GeneratedAnalysisJob[]>;
|
|
31
|
+
latestResult: ComputedRef<GeneratedAnalysisResult | null>;
|
|
32
|
+
isLoading: Ref<boolean>;
|
|
33
|
+
isSubmitting: Ref<boolean>;
|
|
34
|
+
error: ShallowRef<string | null>;
|
|
35
|
+
status: ShallowRef<'idle' | 'initializing' | 'ready' | 'paused' | 'error' | 'disposed'>;
|
|
36
|
+
initialize: () => Promise<void>;
|
|
37
|
+
ready: () => Promise<void>;
|
|
38
|
+
uploadPath: (input: PluginJobPathInput) => Promise<PluginJobPathUpload>;
|
|
39
|
+
uploadStagedPart: <Metadata>(input: PluginJobStagedPartInput<Metadata>) => Promise<PluginJobStagedPartUploadResult<Metadata>>;
|
|
40
|
+
getJobStaging: <Metadata = unknown>(job: GeneratedAnalysisJob | string, pagination?: PluginJobStagingPagination) => Promise<PluginJobStaging<Metadata>>;
|
|
41
|
+
sealJob: (job: GeneratedAnalysisJob | string) => Promise<GeneratedAnalysisJob>;
|
|
42
|
+
submit: (definitionId: string, inputs: Record<string, unknown>) => Promise<GeneratedAnalysisJob>;
|
|
43
|
+
loadResult: (job: GeneratedAnalysisJob) => Promise<GeneratedAnalysisResult | null>;
|
|
44
|
+
resultForJob: (jobId: string) => GeneratedAnalysisResult | null;
|
|
45
|
+
refreshJobs: () => Promise<GeneratedAnalysisJob[]>;
|
|
46
|
+
refresh: () => Promise<GeneratedAnalysisJob[]>;
|
|
47
|
+
getJob: (jobId: string, options?: PluginJobRequestOptions) => Promise<GeneratedAnalysisJob>;
|
|
48
|
+
waitForJob: (job: GeneratedAnalysisJob | string, options?: PluginJobWaitOptions) => Promise<GeneratedAnalysisJob>;
|
|
49
|
+
jobsFor: (definitionId: string) => GeneratedAnalysisJob[];
|
|
50
|
+
cancelJob: (job: GeneratedAnalysisJob | string) => Promise<GeneratedAnalysisJob>;
|
|
51
|
+
deleteJob: (job: GeneratedAnalysisJob | string) => Promise<boolean>;
|
|
52
|
+
clearFinishedJobs: (definitionId?: string) => Promise<number>;
|
|
53
|
+
pause: () => void;
|
|
54
|
+
resume: () => void;
|
|
55
|
+
dispose: () => void;
|
|
56
|
+
/** @deprecated Pass the runtime itself to SDK job UI as its source. */
|
|
57
|
+
jobsAdapter: JobsStatusTrayAdapter;
|
|
58
|
+
}
|
|
59
|
+
export type UseGeneratedAnalysisReturn = UsePluginJobsReturn;
|
|
60
|
+
export declare function createGeneratedAnalysisTransport(options?: GeneratedAnalysisTransportOptions): GeneratedAnalysisTransport;
|
|
61
|
+
export declare function useGeneratedAnalysis(options: GeneratedAnalysisOptions): UseGeneratedAnalysisReturn;
|
|
62
|
+
export declare function usePluginJobs(options: UsePluginJobsOptions): UsePluginJobsReturn;
|
|
@@ -2,28 +2,64 @@ import { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from 'vue';
|
|
|
2
2
|
import { JobListPayload, JobState, JobStateInput, JobStreamData } from '../types/jobs';
|
|
3
3
|
import { UsePluginEventStreamReturn } from './usePluginClient';
|
|
4
4
|
export type JobsStatusTrayTab = 'active' | 'history';
|
|
5
|
+
/**
|
|
6
|
+
* The canonical owner of a collection of plugin jobs.
|
|
7
|
+
*
|
|
8
|
+
* Sources, rather than job-center UI, own polling, event streams, and all job
|
|
9
|
+
* mutations. This keeps components and consumers on one reactive job graph.
|
|
10
|
+
*/
|
|
11
|
+
export interface PluginJobCenterSource {
|
|
12
|
+
jobs: MaybeRefOrGetter<readonly JobStateInput[]>;
|
|
13
|
+
refreshJobs?: () => Promise<JobListPayload | readonly JobStateInput[] | void>;
|
|
14
|
+
cancelJob?: (jobId: string) => Promise<JobStateInput | void>;
|
|
15
|
+
deleteJob?: (jobId: string) => Promise<boolean | void>;
|
|
16
|
+
clearFinishedJobs?: () => Promise<number | void>;
|
|
17
|
+
dispose?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export interface CombinedPluginJobCenterSource extends PluginJobCenterSource {
|
|
20
|
+
jobs: ComputedRef<readonly JobStateInput[]>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Combines independent job runtimes without copying their reactive state.
|
|
24
|
+
*
|
|
25
|
+
* Job ids must be globally unique across the sources. A duplicate id throws
|
|
26
|
+
* when jobs are read or an id-routed action is requested, rather than silently
|
|
27
|
+
* dispatching a mutation to the wrong owner.
|
|
28
|
+
*/
|
|
29
|
+
export declare function combinePluginJobSources(sources: readonly PluginJobCenterSource[]): CombinedPluginJobCenterSource;
|
|
30
|
+
/** @deprecated Prefer a {@link PluginJobCenterSource}. */
|
|
5
31
|
export interface JobsStatusTrayAdapter {
|
|
6
32
|
listJobs?: () => Promise<JobListPayload | readonly JobStateInput[]>;
|
|
7
33
|
cancelJob?: (job: JobState) => Promise<JobStateInput | void>;
|
|
8
34
|
deleteJob?: (job: JobState) => Promise<boolean | void>;
|
|
9
35
|
clearFinishedJobs?: (jobs: readonly JobState[]) => Promise<number | void>;
|
|
10
36
|
}
|
|
11
|
-
export interface
|
|
37
|
+
export interface UsePluginJobCenterOptions {
|
|
38
|
+
source?: MaybeRefOrGetter<PluginJobCenterSource | undefined>;
|
|
39
|
+
/** @deprecated Pass a source with its canonical jobs ref. */
|
|
12
40
|
jobs?: MaybeRefOrGetter<readonly JobStateInput[] | undefined>;
|
|
41
|
+
/** @deprecated Pass source actions instead. */
|
|
13
42
|
adapter?: MaybeRefOrGetter<JobsStatusTrayAdapter | undefined>;
|
|
43
|
+
/** @deprecated Event handling belongs to the source runtime. */
|
|
14
44
|
eventStream?: MaybeRefOrGetter<UsePluginEventStreamReturn<JobStreamData> | undefined>;
|
|
15
45
|
loadOnMount?: boolean;
|
|
16
46
|
}
|
|
47
|
+
export interface UseJobsStatusTrayOptions extends UsePluginJobCenterOptions {
|
|
48
|
+
}
|
|
17
49
|
export interface JobStreamMessage {
|
|
18
50
|
event: string;
|
|
19
51
|
data: JobStreamData;
|
|
20
52
|
}
|
|
21
|
-
export interface
|
|
22
|
-
jobs:
|
|
53
|
+
export interface UsePluginJobCenterReturn {
|
|
54
|
+
jobs: ComputedRef<JobState[]>;
|
|
23
55
|
activeJobs: ComputedRef<JobState[]>;
|
|
24
56
|
historyJobs: ComputedRef<JobState[]>;
|
|
25
57
|
deletableJobs: ComputedRef<JobState[]>;
|
|
26
58
|
featuredJob: ComputedRef<JobState | null>;
|
|
59
|
+
canRefresh: ComputedRef<boolean>;
|
|
60
|
+
canCancel: ComputedRef<boolean>;
|
|
61
|
+
canDelete: ComputedRef<boolean>;
|
|
62
|
+
canClearFinished: ComputedRef<boolean>;
|
|
27
63
|
isOpen: Ref<boolean>;
|
|
28
64
|
activeTab: Ref<JobsStatusTrayTab>;
|
|
29
65
|
isLoading: Ref<boolean>;
|
|
@@ -39,5 +75,13 @@ export interface UseJobsStatusTrayReturn {
|
|
|
39
75
|
clearFinished: () => Promise<boolean>;
|
|
40
76
|
isPending: (job: JobState) => boolean;
|
|
41
77
|
}
|
|
42
|
-
|
|
78
|
+
export type UseJobsStatusTrayReturn = UsePluginJobCenterReturn;
|
|
79
|
+
/**
|
|
80
|
+
* Headless controller for plugin job presentation and actions.
|
|
81
|
+
*
|
|
82
|
+
* When a source is supplied, every job list is derived directly from that
|
|
83
|
+
* source. The controller never mirrors source jobs into another ref.
|
|
84
|
+
*/
|
|
85
|
+
export declare function usePluginJobCenter(options?: UsePluginJobCenterOptions): UsePluginJobCenterReturn;
|
|
86
|
+
/** Backward-compatible name for the plugin job-center controller. */
|
|
43
87
|
export declare function useJobsStatusTray(options?: UseJobsStatusTrayOptions): UseJobsStatusTrayReturn;
|
|
@@ -37,6 +37,7 @@ export declare function usePlatformContext(options?: PlatformContextOptions): {
|
|
|
37
37
|
color?: string | undefined;
|
|
38
38
|
route_prefix: string;
|
|
39
39
|
api_prefix: string;
|
|
40
|
+
settings_api?: "plugin" | "platform" | undefined;
|
|
40
41
|
nav_items?: {
|
|
41
42
|
id?: string | undefined;
|
|
42
43
|
label: string;
|
|
@@ -96,6 +97,7 @@ export declare function usePlatformContext(options?: PlatformContextOptions): {
|
|
|
96
97
|
color?: string | undefined;
|
|
97
98
|
route_prefix: string;
|
|
98
99
|
api_prefix: string;
|
|
100
|
+
settings_api?: "plugin" | "platform" | undefined;
|
|
99
101
|
nav_items?: {
|
|
100
102
|
id?: string | undefined;
|
|
101
103
|
label: string;
|
|
@@ -155,6 +157,7 @@ export declare function usePlatformContext(options?: PlatformContextOptions): {
|
|
|
155
157
|
color?: string | undefined;
|
|
156
158
|
route_prefix: string;
|
|
157
159
|
api_prefix: string;
|
|
160
|
+
settings_api?: "plugin" | "platform" | undefined;
|
|
158
161
|
nav_items?: {
|
|
159
162
|
id?: string | undefined;
|
|
160
163
|
label: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { ExperimentSummary, PageSelectorItem, SettingsModalSchema, TopBarSettingsConfig } from '../types';
|
|
2
|
+
import { ExperimentSummary, GeneratedJobDefinition, PageSelectorItem, SettingsModalSchema, TopBarSettingsConfig } from '../types';
|
|
3
3
|
export { buildPluginEndpointUrl, resolvePluginBaseUrl, } from './pluginEndpointBuilder';
|
|
4
4
|
export type PluginHttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
5
5
|
export interface PluginEndpointContract {
|
|
6
6
|
name: string;
|
|
7
7
|
method: PluginHttpMethod;
|
|
8
8
|
path: string;
|
|
9
|
+
requiresAuth?: boolean;
|
|
9
10
|
pathParams?: PluginEndpointParamContract[];
|
|
10
11
|
queryParams?: PluginEndpointParamContract[];
|
|
11
12
|
requestType?: string | null;
|
|
@@ -52,11 +53,13 @@ export interface PluginContract {
|
|
|
52
53
|
schema?: SettingsModalSchema | null;
|
|
53
54
|
};
|
|
54
55
|
endpoints: PluginEndpointContract[];
|
|
56
|
+
jobs?: GeneratedJobDefinition[];
|
|
55
57
|
hash: string;
|
|
56
58
|
}
|
|
57
59
|
export interface PluginEndpointDefinition {
|
|
58
60
|
method: PluginHttpMethod;
|
|
59
61
|
path: string;
|
|
62
|
+
requiresAuth?: boolean;
|
|
60
63
|
pathParams?: PluginEndpointParamDefinition[];
|
|
61
64
|
queryParams?: PluginEndpointParamDefinition[];
|
|
62
65
|
hasBody?: boolean;
|
|
@@ -109,7 +112,7 @@ export interface UsePluginSettingsOptions {
|
|
|
109
112
|
apiBaseUrl?: string;
|
|
110
113
|
/** Platform API base URL for /plugins/{name}/config. Defaults to the injected platform API URL. */
|
|
111
114
|
platformApiBaseUrl?: string;
|
|
112
|
-
/** SettingsModal schema generated from the backend
|
|
115
|
+
/** SettingsModal schema generated from the backend plugin config model. */
|
|
113
116
|
schema?: SettingsModalSchema | null;
|
|
114
117
|
/** SettingsModal title when using settingsConfig. */
|
|
115
118
|
title?: string;
|
|
@@ -205,7 +208,7 @@ export type GeneratedPluginClient = Record<string, (...args: any[]) => Promise<a
|
|
|
205
208
|
export declare function pluginFormDataFromPayload(payload: unknown): FormData;
|
|
206
209
|
/** Trigger a browser download for an already-created Blob. */
|
|
207
210
|
export declare function downloadBlob(blob: Blob, filename: string, options?: DownloadBlobOptions): void;
|
|
208
|
-
/** Convert
|
|
211
|
+
/** Convert resolved @mint_plugin nav_items into page selectors for the topbar and homepage PluginCards. */
|
|
209
212
|
export declare function getPluginPageSelectorItems(contract: PluginContract): PageSelectorItem[];
|
|
210
213
|
/** Create a typed plugin API client from a generated MINT plugin contract. */
|
|
211
214
|
export declare function createPluginClient<TClient extends object = GeneratedPluginClient>(contract: PluginContract, options: CreatePluginClientOptions): TClient;
|