-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18127 from jmchilton/file_source_templates
Empower Users to Bring Their Own Storage and File Sources
- Loading branch information
Showing
225 changed files
with
11,988 additions
and
208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type { components } from "@/api/schema/schema"; | ||
|
||
export type Instance = | ||
| components["schemas"]["UserFileSourceModel"] | ||
| components["schemas"]["UserConcreteObjectStoreModel"]; | ||
|
||
export type TemplateVariable = | ||
| components["schemas"]["TemplateVariableString"] | ||
| components["schemas"]["TemplateVariableInteger"] | ||
| components["schemas"]["TemplateVariablePathComponent"] | ||
| components["schemas"]["TemplateVariableBoolean"]; | ||
export type TemplateSecret = components["schemas"]["TemplateSecret"]; | ||
export type VariableValueType = (string | boolean | number) | undefined; | ||
export type VariableData = { [key: string]: VariableValueType }; | ||
export type SecretData = { [key: string]: string }; | ||
|
||
export interface TemplateSummary { | ||
description: string | null; | ||
hidden?: boolean; | ||
id: string; | ||
name: string | null; | ||
secrets?: TemplateSecret[] | null; | ||
variables?: TemplateVariable[] | null; | ||
version?: number; | ||
} |
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 { type components } from "@/api/schema"; | ||
|
||
export type FileSourceTemplateSummary = components["schemas"]["FileSourceTemplateSummary"]; | ||
export type FileSourceTemplateSummaries = FileSourceTemplateSummary[]; | ||
|
||
export type UserFileSourceModel = components["schemas"]["UserFileSourceModel"]; |
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
Oops, something went wrong.