-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fd64d6
commit 81aa709
Showing
128 changed files
with
1,593 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './compiled-types/src/Test'; | ||
export { default } from './compiled-types/src/Test'; |
3 changes: 3 additions & 0 deletions
3
frontend/@mf-types/@mf/model-registry/compiled-types/src/Test.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import React from 'react'; | ||
declare const Test: React.FC; | ||
export default Test; |
1 change: 1 addition & 0 deletions
1
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/const.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const BFF_API_VERSION = "v1"; |
13 changes: 13 additions & 0 deletions
13
...end/@mf-types/@mf/model-registry/compiled-types/src/app/context/ModelRegistryContext.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as React from 'react'; | ||
import { ModelRegistryAPIState } from './useModelRegistryAPIState'; | ||
export type ModelRegistryContextType = { | ||
apiState: ModelRegistryAPIState; | ||
refreshAPIState: () => void; | ||
}; | ||
type ModelRegistryContextProviderProps = { | ||
children: React.ReactNode; | ||
modelRegistryName: string; | ||
}; | ||
export declare const ModelRegistryContext: React.Context<ModelRegistryContextType>; | ||
export declare const ModelRegistryContextProvider: React.FC<ModelRegistryContextProviderProps>; | ||
export {}; |
17 changes: 17 additions & 0 deletions
17
...types/@mf/model-registry/compiled-types/src/app/context/ModelRegistrySelectorContext.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import * as React from 'react'; | ||
import { ModelRegistry } from '~/app/types'; | ||
export type ModelRegistrySelectorContextType = { | ||
modelRegistriesLoaded: boolean; | ||
modelRegistriesLoadError?: Error; | ||
modelRegistries: ModelRegistry[]; | ||
preferredModelRegistry: ModelRegistry | undefined; | ||
updatePreferredModelRegistry: (modelRegistry: ModelRegistry | undefined) => void; | ||
apiPrefix: string; | ||
}; | ||
type ModelRegistrySelectorContextProviderProps = { | ||
apiPrefix?: string; | ||
children: React.ReactNode; | ||
}; | ||
export declare const ModelRegistrySelectorContext: React.Context<ModelRegistrySelectorContextType>; | ||
export declare const ModelRegistrySelectorContextProvider: React.FC<ModelRegistrySelectorContextProviderProps>; | ||
export {}; |
14 changes: 14 additions & 0 deletions
14
...tend/@mf-types/@mf/model-registry/compiled-types/src/app/context/NotificationContext.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import { Notification, NotificationAction } from '~/app/types'; | ||
type NotificationContextProps = { | ||
notifications: Notification[]; | ||
notificationCount: number; | ||
updateNotificationCount: React.Dispatch<React.SetStateAction<number>>; | ||
dispatch: React.Dispatch<NotificationAction>; | ||
}; | ||
export declare const NotificationContext: React.Context<NotificationContextProps>; | ||
type NotificationContextProviderProps = { | ||
children: React.ReactNode; | ||
}; | ||
export declare const NotificationContextProvider: React.FC<NotificationContextProviderProps>; | ||
export {}; |
5 changes: 5 additions & 0 deletions
5
...@mf-types/@mf/model-registry/compiled-types/src/app/context/useModelRegistryAPIState.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { APIState } from '~/shared/api/types'; | ||
import { ModelRegistryAPIs } from '~/app/types'; | ||
export type ModelRegistryAPIState = APIState<ModelRegistryAPIs>; | ||
declare const useModelRegistryAPIState: (hostPath: string | null) => [apiState: ModelRegistryAPIState, refreshAPIState: () => void]; | ||
export default useModelRegistryAPIState; |
4 changes: 4 additions & 0 deletions
4
...f-types/@mf/model-registry/compiled-types/src/app/hooks/useModelArtifactsByVersionId.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { ModelArtifactList } from '~/app/types'; | ||
declare const useModelArtifactsByVersionId: (modelVersionId?: string) => FetchState<ModelArtifactList>; | ||
export default useModelArtifactsByVersionId; |
4 changes: 4 additions & 0 deletions
4
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useModelRegistries.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { ModelRegistry } from '~/app/types'; | ||
declare const useModelRegistries: (apiPrefix?: string) => FetchState<ModelRegistry[]>; | ||
export default useModelRegistries; |
6 changes: 6 additions & 0 deletions
6
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useModelRegistryAPI.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ModelRegistryAPIState } from '~/app/context/useModelRegistryAPIState'; | ||
type UseModelRegistryAPI = ModelRegistryAPIState & { | ||
refreshAllAPI: () => void; | ||
}; | ||
export declare const useModelRegistryAPI: () => UseModelRegistryAPI; | ||
export {}; |
4 changes: 4 additions & 0 deletions
4
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useModelVersionById.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { ModelVersion } from '~/app/types'; | ||
declare const useModelVersionById: (modelVersionId?: string) => FetchState<ModelVersion | null>; | ||
export default useModelVersionById; |
4 changes: 4 additions & 0 deletions
4
...es/@mf/model-registry/compiled-types/src/app/hooks/useModelVersionsByRegisteredModel.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { ModelVersionList } from '~/app/types'; | ||
declare const useModelVersionsByRegisteredModel: (registeredModelId?: string) => FetchState<ModelVersionList>; | ||
export default useModelVersionsByRegisteredModel; |
17 changes: 17 additions & 0 deletions
17
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useNotification.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
declare enum NotificationTypes { | ||
SUCCESS = "success", | ||
ERROR = "error", | ||
INFO = "info", | ||
WARNING = "warning" | ||
} | ||
type NotificationProps = (title: string, message?: React.ReactNode) => void; | ||
type NotificationRemoveProps = (id: number | undefined) => void; | ||
type NotificationTypeFunc = { | ||
[key in NotificationTypes]: NotificationProps; | ||
}; | ||
interface NotificationFunc extends NotificationTypeFunc { | ||
remove: NotificationRemoveProps; | ||
} | ||
export declare const useNotification: () => NotificationFunc; | ||
export {}; |
4 changes: 4 additions & 0 deletions
4
...end/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useRegisteredModelById.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { RegisteredModel } from '~/app/types'; | ||
declare const useRegisteredModelById: (registeredModel?: string) => FetchState<RegisteredModel | null>; | ||
export default useRegisteredModelById; |
4 changes: 4 additions & 0 deletions
4
frontend/@mf-types/@mf/model-registry/compiled-types/src/app/hooks/useRegisteredModels.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FetchState } from '~/shared/utilities/useFetchState'; | ||
import { RegisteredModelList } from '~/app/types'; | ||
declare const useRegisteredModels: () => FetchState<RegisteredModelList>; | ||
export default useRegisteredModels; |
6 changes: 6 additions & 0 deletions
6
...mf/model-registry/compiled-types/src/app/pages/modelRegistry/ModelRegistryCoreLoader.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import * as React from 'react'; | ||
type ModelRegistryCoreLoaderProps = { | ||
getInvalidRedirectPath: (modelRegistry: string) => string; | ||
}; | ||
declare const ModelRegistryCoreLoader: React.FC<ModelRegistryCoreLoaderProps>; | ||
export default ModelRegistryCoreLoader; |
4 changes: 4 additions & 0 deletions
4
...es/@mf/model-registry/compiled-types/src/app/pages/modelRegistry/ModelRegistryRoutes.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import * as React from 'react'; | ||
import '~/shared/style/MUI-theme.scss'; | ||
declare const ModelRegistryRoutes: React.FC; | ||
export default ModelRegistryRoutes; |
7 changes: 7 additions & 0 deletions
7
...del-registry/compiled-types/src/app/pages/modelRegistry/screens/InvalidModelRegistry.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as React from 'react'; | ||
type InvalidModelRegistryProps = { | ||
title?: string; | ||
modelRegistry?: string; | ||
}; | ||
declare const InvalidModelRegistry: React.FC<InvalidModelRegistryProps>; | ||
export default InvalidModelRegistry; |
9 changes: 9 additions & 0 deletions
9
...mpiled-types/src/app/pages/modelRegistry/screens/ModelPropertiesDescriptionListGroup.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from 'react'; | ||
import { ModelRegistryCustomProperties } from '~/app/types'; | ||
type ModelPropertiesDescriptionListGroupProps = { | ||
customProperties: ModelRegistryCustomProperties; | ||
isArchive?: boolean; | ||
saveEditedCustomProperties: (properties: ModelRegistryCustomProperties) => Promise<unknown>; | ||
}; | ||
declare const ModelPropertiesDescriptionListGroup: React.FC<ModelPropertiesDescriptionListGroupProps>; | ||
export default ModelPropertiesDescriptionListGroup; |
19 changes: 19 additions & 0 deletions
19
...-registry/compiled-types/src/app/pages/modelRegistry/screens/ModelPropertiesTableRow.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import * as React from 'react'; | ||
import { KeyValuePair } from '~/shared/types'; | ||
import { EitherNotBoth } from '~/shared/typeHelpers'; | ||
type ModelPropertiesTableRowProps = { | ||
allExistingKeys: string[]; | ||
setIsEditing: (isEditing: boolean) => void; | ||
isSavingEdits: boolean; | ||
isArchive?: boolean; | ||
setIsSavingEdits: (isSaving: boolean) => void; | ||
saveEditedProperty: (oldKey: string, newPair: KeyValuePair) => Promise<unknown>; | ||
} & EitherNotBoth<{ | ||
isAddRow: true; | ||
}, { | ||
isEditing: boolean; | ||
keyValuePair: KeyValuePair; | ||
deleteProperty: (key: string) => Promise<unknown>; | ||
}>; | ||
declare const ModelPropertiesTableRow: React.FC<ModelPropertiesTableRowProps>; | ||
export default ModelPropertiesTableRow; |
5 changes: 5 additions & 0 deletions
5
.../@mf/model-registry/compiled-types/src/app/pages/modelRegistry/screens/ModelRegistry.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from 'react'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
type ModelRegistryProps = Omit<React.ComponentProps<typeof ApplicationsPage>, 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding' | 'removeChildrenTopPadding' | 'headerContent'>; | ||
declare const ModelRegistry: React.FC<ModelRegistryProps>; | ||
export default ModelRegistry; |
8 changes: 8 additions & 0 deletions
8
...el-registry/compiled-types/src/app/pages/modelRegistry/screens/ModelRegistrySelector.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import * as React from 'react'; | ||
type ModelRegistrySelectorProps = { | ||
modelRegistry: string; | ||
onSelection: (modelRegistry: string) => void; | ||
primary?: boolean; | ||
}; | ||
declare const ModelRegistrySelector: React.FC<ModelRegistrySelectorProps>; | ||
export default ModelRegistrySelector; |
7 changes: 7 additions & 0 deletions
7
...ry/compiled-types/src/app/pages/modelRegistry/screens/ModelRegistrySelectorNavigator.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as React from 'react'; | ||
import ModelRegistrySelector from './ModelRegistrySelector'; | ||
type ModelRegistrySelectorNavigatorProps = { | ||
getRedirectPath: (namespace: string) => string; | ||
} & Omit<React.ComponentProps<typeof ModelRegistrySelector>, 'onSelection' | 'modelRegistry'>; | ||
declare const ModelRegistrySelectorNavigator: React.FC<ModelRegistrySelectorNavigatorProps>; | ||
export default ModelRegistrySelectorNavigator; |
8 changes: 8 additions & 0 deletions
8
...ed-types/src/app/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionDetails.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
import { ModelVersionDetailsTab } from './const'; | ||
type ModelVersionsDetailProps = { | ||
tab: ModelVersionDetailsTab; | ||
} & Omit<React.ComponentProps<typeof ApplicationsPage>, 'breadcrumb' | 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding'>; | ||
declare const ModelVersionsDetails: React.FC<ModelVersionsDetailProps>; | ||
export default ModelVersionsDetails; |
7 changes: 7 additions & 0 deletions
7
...app/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionDetailsHeaderActions.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/app/types'; | ||
interface ModelVersionsDetailsHeaderActionsProps { | ||
mv: ModelVersion; | ||
} | ||
declare const ModelVersionsDetailsHeaderActions: React.FC<ModelVersionsDetailsHeaderActionsProps>; | ||
export default ModelVersionsDetailsHeaderActions; |
11 changes: 11 additions & 0 deletions
11
...ypes/src/app/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionDetailsTabs.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/app/types'; | ||
import { ModelVersionDetailsTab } from './const'; | ||
type ModelVersionDetailTabsProps = { | ||
tab: ModelVersionDetailsTab; | ||
modelVersion: ModelVersion; | ||
isArchiveVersion?: boolean; | ||
refresh: () => void; | ||
}; | ||
declare const ModelVersionDetailsTabs: React.FC<ModelVersionDetailTabsProps>; | ||
export default ModelVersionDetailsTabs; |
9 changes: 9 additions & 0 deletions
9
...ypes/src/app/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionDetailsView.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/app/types'; | ||
type ModelVersionDetailsViewProps = { | ||
modelVersion: ModelVersion; | ||
isArchiveVersion?: boolean; | ||
refresh: () => void; | ||
}; | ||
declare const ModelVersionDetailsView: React.FC<ModelVersionDetailsViewProps>; | ||
export default ModelVersionDetailsView; |
9 changes: 9 additions & 0 deletions
9
...d-types/src/app/pages/modelRegistry/screens/ModelVersionDetails/ModelVersionSelector.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/app/types'; | ||
type ModelVersionSelectorProps = { | ||
rmId?: string; | ||
selection: ModelVersion; | ||
onSelect: (versionId: string) => void; | ||
}; | ||
declare const ModelVersionSelector: React.FC<ModelVersionSelectorProps>; | ||
export default ModelVersionSelector; |
6 changes: 6 additions & 0 deletions
6
...egistry/compiled-types/src/app/pages/modelRegistry/screens/ModelVersionDetails/const.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export declare enum ModelVersionDetailsTab { | ||
DETAILS = "details" | ||
} | ||
export declare enum ModelVersionDetailsTabTitle { | ||
DETAILS = "Details" | ||
} |
9 changes: 9 additions & 0 deletions
9
...ry/compiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelDetailsView.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from 'react'; | ||
import { RegisteredModel } from '~/app/types'; | ||
type ModelDetailsViewProps = { | ||
registeredModel: RegisteredModel; | ||
refresh: () => void; | ||
isArchiveModel?: boolean; | ||
}; | ||
declare const ModelDetailsView: React.FC<ModelDetailsViewProps>; | ||
export default ModelDetailsView; |
10 changes: 10 additions & 0 deletions
10
...ompiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionListView.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion, RegisteredModel } from '~/app/types'; | ||
type ModelVersionListViewProps = { | ||
modelVersions: ModelVersion[]; | ||
registeredModel?: RegisteredModel; | ||
isArchiveModel?: boolean; | ||
refresh: () => void; | ||
}; | ||
declare const ModelVersionListView: React.FC<ModelVersionListViewProps>; | ||
export default ModelVersionListView; |
8 changes: 8 additions & 0 deletions
8
...istry/compiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersions.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import { ModelVersionsTab } from '~/app/pages/modelRegistry/screens/ModelVersions/const'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
type ModelVersionsProps = { | ||
tab: ModelVersionsTab; | ||
} & Omit<React.ComponentProps<typeof ApplicationsPage>, 'breadcrumb' | 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding'>; | ||
declare const ModelVersions: React.FC<ModelVersionsProps>; | ||
export default ModelVersions; |
7 changes: 7 additions & 0 deletions
7
...d-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionsHeaderActions.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as React from 'react'; | ||
import { RegisteredModel } from '~/app/types'; | ||
interface ModelVersionsHeaderActionsProps { | ||
rm: RegisteredModel; | ||
} | ||
declare const ModelVersionsHeaderActions: React.FC<ModelVersionsHeaderActionsProps>; | ||
export default ModelVersionsHeaderActions; |
11 changes: 11 additions & 0 deletions
11
.../compiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionsTable.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Table } from '~/shared/components/table'; | ||
import { ModelVersion } from '~/app/types'; | ||
type ModelVersionsTableProps = { | ||
clearFilters: () => void; | ||
modelVersions: ModelVersion[]; | ||
isArchiveModel?: boolean; | ||
refresh: () => void; | ||
} & Partial<Pick<React.ComponentProps<typeof Table>, 'toolbarContent'>>; | ||
declare const ModelVersionsTable: React.FC<ModelVersionsTableProps>; | ||
export default ModelVersionsTable; |
3 changes: 3 additions & 0 deletions
3
...ed-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionsTableColumns.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { SortableData } from '~/shared/components/table'; | ||
import { ModelVersion } from '~/app/types'; | ||
export declare const mvColumns: SortableData<ModelVersion>[]; |
10 changes: 10 additions & 0 deletions
10
...mpiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionsTableRow.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/app/types'; | ||
type ModelVersionsTableRowProps = { | ||
modelVersion: ModelVersion; | ||
isArchiveRow?: boolean; | ||
isArchiveModel?: boolean; | ||
refresh: () => void; | ||
}; | ||
declare const ModelVersionsTableRow: React.FC<ModelVersionsTableRowProps>; | ||
export default ModelVersionsTableRow; |
13 changes: 13 additions & 0 deletions
13
...y/compiled-types/src/app/pages/modelRegistry/screens/ModelVersions/ModelVersionsTabs.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion, RegisteredModel } from '~/app/types'; | ||
import { ModelVersionsTab } from '~/app/pages/modelRegistry/screens/ModelVersions/const'; | ||
type ModelVersionsTabProps = { | ||
tab: ModelVersionsTab; | ||
registeredModel: RegisteredModel; | ||
modelVersions: ModelVersion[]; | ||
isArchiveModel?: boolean; | ||
refresh: () => void; | ||
mvRefresh: () => void; | ||
}; | ||
declare const ModelVersionsTabs: React.FC<ModelVersionsTabProps>; | ||
export default ModelVersionsTabs; |
8 changes: 8 additions & 0 deletions
8
...odel-registry/compiled-types/src/app/pages/modelRegistry/screens/ModelVersions/const.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export declare enum ModelVersionsTab { | ||
VERSIONS = "versions", | ||
DETAILS = "details" | ||
} | ||
export declare enum ModelVersionsTabTitle { | ||
VERSIONS = "Versions", | ||
DETAILS = "Details" | ||
} |
8 changes: 8 additions & 0 deletions
8
.../src/app/pages/modelRegistry/screens/ModelVersionsArchive/ArchiveModelVersionDetails.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
import { ModelVersionDetailsTab } from '~/app/pages/modelRegistry/screens/ModelVersionDetails/const'; | ||
type ArchiveModelVersionDetailsProps = { | ||
tab: ModelVersionDetailsTab; | ||
} & Omit<React.ComponentProps<typeof ApplicationsPage>, 'breadcrumb' | 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding'>; | ||
declare const ArchiveModelVersionDetails: React.FC<ArchiveModelVersionDetailsProps>; | ||
export default ArchiveModelVersionDetails; |
9 changes: 9 additions & 0 deletions
9
...ages/modelRegistry/screens/ModelVersionsArchive/ArchiveModelVersionDetailsBreadcrumb.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
import { RegisteredModel } from '~/app/types'; | ||
type ArchiveModelVersionDetailsBreadcrumbProps = { | ||
preferredModelRegistry?: string; | ||
registeredModel: RegisteredModel | null; | ||
modelVersionName?: string; | ||
}; | ||
declare const ArchiveModelVersionDetailsBreadcrumb: React.FC<ArchiveModelVersionDetailsBreadcrumbProps>; | ||
export default ArchiveModelVersionDetailsBreadcrumb; |
8 changes: 8 additions & 0 deletions
8
.../src/app/pages/modelRegistry/screens/ModelVersionsArchive/ModelVersionArchiveDetails.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
import { ModelVersionDetailsTab } from '~/app/pages/modelRegistry/screens/ModelVersionDetails/const'; | ||
type ModelVersionsArchiveDetailsProps = { | ||
tab: ModelVersionDetailsTab; | ||
} & Omit<React.ComponentProps<typeof ApplicationsPage>, 'breadcrumb' | 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding'>; | ||
declare const ModelVersionsArchiveDetails: React.FC<ModelVersionsArchiveDetailsProps>; | ||
export default ModelVersionsArchiveDetails; |
9 changes: 9 additions & 0 deletions
9
...ages/modelRegistry/screens/ModelVersionsArchive/ModelVersionArchiveDetailsBreadcrumb.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
import { RegisteredModel } from '~/app/types'; | ||
type ModelVersionArchiveDetailsBreadcrumbProps = { | ||
preferredModelRegistry?: string; | ||
registeredModel: RegisteredModel | null; | ||
modelVersionName?: string; | ||
}; | ||
declare const ModelVersionArchiveDetailsBreadcrumb: React.FC<ModelVersionArchiveDetailsBreadcrumbProps>; | ||
export default ModelVersionArchiveDetailsBreadcrumb; |
5 changes: 5 additions & 0 deletions
5
...-types/src/app/pages/modelRegistry/screens/ModelVersionsArchive/ModelVersionsArchive.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from 'react'; | ||
import ApplicationsPage from '~/shared/components/ApplicationsPage'; | ||
type ModelVersionsArchiveProps = Omit<React.ComponentProps<typeof ApplicationsPage>, 'breadcrumb' | 'title' | 'description' | 'loadError' | 'loaded' | 'provideChildrenPadding'>; | ||
declare const ModelVersionsArchive: React.FC<ModelVersionsArchiveProps>; | ||
export default ModelVersionsArchive; |
Oops, something went wrong.