@databricks/appkit 0.37.0 → 0.38.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/CLAUDE.md +3 -2
- package/dist/appkit/package.js +1 -1
- package/dist/cache/index.js +1 -2
- package/dist/cache/index.js.map +1 -1
- package/dist/cache/storage/persistent.js +1 -2
- package/dist/cache/storage/persistent.js.map +1 -1
- package/dist/cli/commands/plugin/add-resource/add-resource.js.map +1 -1
- package/dist/cli/commands/plugin/create/resource-defaults.js +2 -1
- package/dist/cli/commands/plugin/create/resource-defaults.js.map +1 -1
- package/dist/cli/commands/plugin/schema-resources.js +34 -51
- package/dist/cli/commands/plugin/schema-resources.js.map +1 -1
- package/dist/cli/commands/plugin/sync/sync.js +20 -6
- package/dist/cli/commands/plugin/sync/sync.js.map +1 -1
- package/dist/cli/commands/plugin/validate/validate-manifest.js +71 -157
- package/dist/cli/commands/plugin/validate/validate-manifest.js.map +1 -1
- package/dist/cli/commands/plugin/validate/validate.js +2 -2
- package/dist/cli/commands/plugin/validate/validate.js.map +1 -1
- package/dist/cli/commands/setup.js +2 -2
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/connectors/index.js +0 -1
- package/dist/connectors/jobs/client.js +1 -2
- package/dist/connectors/jobs/client.js.map +1 -1
- package/dist/connectors/lakebase/routing-pool.js +1 -2
- package/dist/connectors/lakebase/routing-pool.js.map +1 -1
- package/dist/connectors/sql-warehouse/client.js +1 -2
- package/dist/connectors/sql-warehouse/client.js.map +1 -1
- package/dist/context/execution-context.js +9 -13
- package/dist/context/execution-context.js.map +1 -1
- package/dist/context/index.js +3 -13
- package/dist/context/service-context.js +137 -136
- package/dist/context/service-context.js.map +1 -1
- package/dist/context/user-context.js +1 -5
- package/dist/context/user-context.js.map +1 -1
- package/dist/core/agent/create-agent.js +1 -2
- package/dist/core/agent/create-agent.js.map +1 -1
- package/dist/core/appkit.js +1 -2
- package/dist/core/appkit.js.map +1 -1
- package/dist/errors/authentication.js +44 -40
- package/dist/errors/authentication.js.map +1 -1
- package/dist/errors/base.js +86 -70
- package/dist/errors/base.js.map +1 -1
- package/dist/errors/configuration.js +70 -66
- package/dist/errors/configuration.js.map +1 -1
- package/dist/errors/connection.js +50 -46
- package/dist/errors/connection.js.map +1 -1
- package/dist/errors/execution.js +47 -43
- package/dist/errors/execution.js.map +1 -1
- package/dist/errors/index.js +10 -27
- package/dist/errors/initialization.js +38 -34
- package/dist/errors/initialization.js.map +1 -1
- package/dist/errors/server.js +34 -31
- package/dist/errors/server.js.map +1 -1
- package/dist/errors/tunnel.js +47 -43
- package/dist/errors/tunnel.js.map +1 -1
- package/dist/errors/validation.js +41 -37
- package/dist/errors/validation.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -9
- package/dist/plugin/dev-reader.js +1 -2
- package/dist/plugin/dev-reader.js.map +1 -1
- package/dist/plugin/interceptors/retry.js +1 -2
- package/dist/plugin/interceptors/retry.js.map +1 -1
- package/dist/plugin/interceptors/telemetry.js +1 -2
- package/dist/plugin/interceptors/telemetry.js.map +1 -1
- package/dist/plugin/plugin.js +2 -4
- package/dist/plugin/plugin.js.map +1 -1
- package/dist/plugins/analytics/analytics.js +1 -2
- package/dist/plugins/analytics/analytics.js.map +1 -1
- package/dist/plugins/analytics/manifest.js +9 -1
- package/dist/plugins/analytics/query.js +2 -4
- package/dist/plugins/analytics/query.js.map +1 -1
- package/dist/plugins/files/manifest.js +7 -1
- package/dist/plugins/files/plugin.js +3 -6
- package/dist/plugins/files/plugin.js.map +1 -1
- package/dist/plugins/genie/genie.js +1 -2
- package/dist/plugins/genie/genie.js.map +1 -1
- package/dist/plugins/genie/manifest.js +7 -1
- package/dist/plugins/jobs/plugin.js +2 -4
- package/dist/plugins/jobs/plugin.js.map +1 -1
- package/dist/plugins/lakebase/lakebase.js +1 -2
- package/dist/plugins/lakebase/lakebase.js.map +1 -1
- package/dist/plugins/lakebase/manifest.js +26 -4
- package/dist/plugins/server/index.js +1 -2
- package/dist/plugins/server/index.js.map +1 -1
- package/dist/plugins/server/vite-dev-server.js +1 -2
- package/dist/plugins/server/vite-dev-server.js.map +1 -1
- package/dist/plugins/serving/serving.js +1 -2
- package/dist/plugins/serving/serving.js.map +1 -1
- package/dist/registry/index.d.ts +1 -1
- package/dist/registry/manifest-loader.d.ts +4 -4
- package/dist/registry/manifest-loader.d.ts.map +1 -1
- package/dist/registry/manifest-loader.js +1 -2
- package/dist/registry/manifest-loader.js.map +1 -1
- package/dist/registry/resource-registry.js +1 -2
- package/dist/registry/resource-registry.js.map +1 -1
- package/dist/registry/types.d.ts +21 -7
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.generated.d.ts +1 -1
- package/dist/registry/types.generated.js +1 -1
- package/dist/registry/types.generated.js.map +1 -1
- package/dist/registry/types.js +3 -3
- package/dist/registry/types.js.map +1 -1
- package/dist/schemas/manifest.d.ts +1139 -0
- package/dist/schemas/manifest.d.ts.map +1 -0
- package/dist/schemas/manifest.js +524 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/shared/src/index.d.ts +1 -1
- package/dist/shared/src/plugin.d.ts +38 -7
- package/dist/shared/src/plugin.d.ts.map +1 -1
- package/dist/shared/src/schemas/manifest.d.ts +1110 -0
- package/dist/shared/src/schemas/manifest.d.ts.map +1 -0
- package/dist/stream/arrow-stream-processor.js +1 -2
- package/dist/stream/arrow-stream-processor.js.map +1 -1
- package/dist/stream/buffers.js +1 -2
- package/dist/stream/buffers.js.map +1 -1
- package/docs/api/appkit/Enumeration.ResourceType.md +1 -1
- package/docs/api/appkit/Interface.PluginManifest.md +57 -3
- package/docs/api/appkit/Interface.ResourceEntry.md +6 -4
- package/docs/api/appkit/Interface.ResourceRequirement.md +7 -61
- package/docs/api/appkit/TypeAlias.ResourceFieldEntry.md +6 -0
- package/docs/api/appkit.md +6 -6
- package/docs/app-management.md +1 -1
- package/docs/development/ai-assisted-development.md +2 -2
- package/docs/development/local-development.md +1 -1
- package/docs/development/remote-bridge.md +1 -1
- package/docs/development/templates.md +118 -12
- package/docs/development.md +1 -1
- package/docs/plugins/custom-plugins.md +33 -23
- package/docs/plugins/lakebase.md +1 -1
- package/docs/plugins/manifest.md +293 -0
- package/docs.md +2 -2
- package/llms.txt +3 -2
- package/package.json +3 -3
- package/sbom.cdx.json +1 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -7
- package/dist/connectors/lakebase-v1/client.js +0 -15
- package/dist/connectors/lakebase-v1/client.js.map +0 -1
- package/dist/connectors/lakebase-v1/index.js +0 -3
- package/dist/context/index.js.map +0 -1
- package/dist/errors/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/schemas/plugin-manifest.generated.d.ts +0 -182
- package/dist/schemas/plugin-manifest.generated.d.ts.map +0 -1
- package/dist/schemas/plugin-manifest.schema.json +0 -489
- package/dist/schemas/template-plugins.schema.json +0 -113
- package/dist/shared/src/schemas/plugin-manifest.generated.d.ts +0 -182
- package/dist/shared/src/schemas/plugin-manifest.generated.d.ts.map +0 -1
- package/docs/api/appkit/Interface.ResourceFieldEntry.md +0 -82
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://databricks.github.io/appkit/schemas/template-plugins.schema.json",
|
|
4
|
-
"title": "AppKit Template Plugins Manifest",
|
|
5
|
-
"description": "Aggregated plugin manifest for AppKit templates. Read by Databricks CLI during init to discover available plugins and their resource requirements.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "plugins"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Reference to the JSON Schema for validation"
|
|
12
|
-
},
|
|
13
|
-
"version": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"enum": ["1.0", "1.1"],
|
|
16
|
-
"description": "Schema version for the template plugins manifest"
|
|
17
|
-
},
|
|
18
|
-
"plugins": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"description": "Map of plugin name to plugin manifest with package source",
|
|
21
|
-
"additionalProperties": {
|
|
22
|
-
"$ref": "#/$defs/templatePlugin"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"$defs": {
|
|
28
|
-
"templatePlugin": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"required": [
|
|
31
|
-
"name",
|
|
32
|
-
"displayName",
|
|
33
|
-
"description",
|
|
34
|
-
"package",
|
|
35
|
-
"resources"
|
|
36
|
-
],
|
|
37
|
-
"description": "Plugin manifest with package source information",
|
|
38
|
-
"properties": {
|
|
39
|
-
"name": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"pattern": "^[a-z][a-z0-9-]*$",
|
|
42
|
-
"description": "Plugin identifier. Must be lowercase, start with a letter, and contain only letters, numbers, and hyphens.",
|
|
43
|
-
"examples": ["analytics", "server", "my-custom-plugin"]
|
|
44
|
-
},
|
|
45
|
-
"displayName": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"minLength": 1,
|
|
48
|
-
"description": "Human-readable display name for UI and CLI",
|
|
49
|
-
"examples": ["Analytics Plugin", "Server Plugin"]
|
|
50
|
-
},
|
|
51
|
-
"description": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"minLength": 1,
|
|
54
|
-
"description": "Brief description of what the plugin does",
|
|
55
|
-
"examples": ["SQL query execution against Databricks SQL Warehouses"]
|
|
56
|
-
},
|
|
57
|
-
"package": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"minLength": 1,
|
|
60
|
-
"description": "NPM package name that provides this plugin",
|
|
61
|
-
"examples": ["@databricks/appkit", "@my-org/custom-plugin"]
|
|
62
|
-
},
|
|
63
|
-
"requiredByTemplate": {
|
|
64
|
-
"type": "boolean",
|
|
65
|
-
"default": false,
|
|
66
|
-
"description": "When true, this plugin is required by the template and cannot be deselected during CLI init. The user will only be prompted to configure its resources. When absent or false, the plugin is optional and the user can choose whether to include it."
|
|
67
|
-
},
|
|
68
|
-
"onSetupMessage": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "Message displayed to the user after project initialization. Use this to inform about manual setup steps (e.g. environment variables, resource provisioning)."
|
|
71
|
-
},
|
|
72
|
-
"stability": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"enum": ["beta", "ga"],
|
|
75
|
-
"default": "ga",
|
|
76
|
-
"description": "Plugin stability level. Beta is heading to GA; APIs may change between minor releases. GA (general availability) follows semver."
|
|
77
|
-
},
|
|
78
|
-
"resources": {
|
|
79
|
-
"type": "object",
|
|
80
|
-
"required": ["required", "optional"],
|
|
81
|
-
"description": "Databricks resource requirements for this plugin",
|
|
82
|
-
"properties": {
|
|
83
|
-
"required": {
|
|
84
|
-
"type": "array",
|
|
85
|
-
"description": "Resources that must be available for the plugin to function",
|
|
86
|
-
"items": {
|
|
87
|
-
"$ref": "#/$defs/resourceRequirement"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"optional": {
|
|
91
|
-
"type": "array",
|
|
92
|
-
"description": "Resources that enhance functionality but are not mandatory",
|
|
93
|
-
"items": {
|
|
94
|
-
"$ref": "#/$defs/resourceRequirement"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"additionalProperties": false
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"additionalProperties": false
|
|
102
|
-
},
|
|
103
|
-
"resourceType": {
|
|
104
|
-
"$ref": "plugin-manifest.schema.json#/$defs/resourceType"
|
|
105
|
-
},
|
|
106
|
-
"resourceFieldEntry": {
|
|
107
|
-
"$ref": "plugin-manifest.schema.json#/$defs/resourceFieldEntry"
|
|
108
|
-
},
|
|
109
|
-
"resourceRequirement": {
|
|
110
|
-
"$ref": "plugin-manifest.schema.json#/$defs/resourceRequirement"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
//#region ../shared/src/schemas/plugin-manifest.generated.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Declares a resource requirement for a plugin. Can be defined statically in a manifest or dynamically via getResourceRequirements().
|
|
4
|
-
*
|
|
5
|
-
* This interface was referenced by `PluginManifest`'s JSON-Schema
|
|
6
|
-
* via the `definition` "resourceRequirement".
|
|
7
|
-
*/
|
|
8
|
-
type ResourceRequirement = {
|
|
9
|
-
type: ResourceType;
|
|
10
|
-
/**
|
|
11
|
-
* Human-readable label for UI/display only. Deduplication uses resourceKey, not alias.
|
|
12
|
-
*/
|
|
13
|
-
alias: string;
|
|
14
|
-
/**
|
|
15
|
-
* Stable key for machine use: deduplication, env naming, composite keys, app.yaml. Required for registry lookup.
|
|
16
|
-
*/
|
|
17
|
-
resourceKey: string;
|
|
18
|
-
/**
|
|
19
|
-
* Human-readable description of why this resource is needed
|
|
20
|
-
*/
|
|
21
|
-
description: string;
|
|
22
|
-
/**
|
|
23
|
-
* Required permission level. Validated per resource type by the allOf/if-then rules below.
|
|
24
|
-
*/
|
|
25
|
-
permission: string;
|
|
26
|
-
/**
|
|
27
|
-
* Map of field name to env and optional description. Single-value types use one key (e.g. id); multi-value (database, secret) use multiple (e.g. instance_name, database_name or scope, key).
|
|
28
|
-
*/
|
|
29
|
-
fields?: {
|
|
30
|
-
[k: string]: ResourceFieldEntry;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Type of Databricks resource
|
|
35
|
-
*
|
|
36
|
-
* This interface was referenced by `PluginManifest`'s JSON-Schema
|
|
37
|
-
* via the `definition` "resourceType".
|
|
38
|
-
*/
|
|
39
|
-
type ResourceType = "secret" | "job" | "sql_warehouse" | "serving_endpoint" | "volume" | "vector_search_index" | "uc_function" | "uc_connection" | "database" | "postgres" | "genie_space" | "experiment" | "app";
|
|
40
|
-
/**
|
|
41
|
-
* Schema for Databricks AppKit plugin manifest files. Defines plugin metadata, resource requirements, and configuration options.
|
|
42
|
-
*/
|
|
43
|
-
interface PluginManifest {
|
|
44
|
-
/**
|
|
45
|
-
* Reference to the JSON Schema for validation
|
|
46
|
-
*/
|
|
47
|
-
$schema?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Plugin identifier. Must be lowercase, start with a letter, and contain only letters, numbers, and hyphens.
|
|
50
|
-
*/
|
|
51
|
-
name: string;
|
|
52
|
-
/**
|
|
53
|
-
* Human-readable display name for UI and CLI
|
|
54
|
-
*/
|
|
55
|
-
displayName: string;
|
|
56
|
-
/**
|
|
57
|
-
* Brief description of what the plugin does
|
|
58
|
-
*/
|
|
59
|
-
description: string;
|
|
60
|
-
/**
|
|
61
|
-
* Databricks resource requirements for this plugin
|
|
62
|
-
*/
|
|
63
|
-
resources: {
|
|
64
|
-
/**
|
|
65
|
-
* Resources that must be available for the plugin to function
|
|
66
|
-
*/
|
|
67
|
-
required: ResourceRequirement[];
|
|
68
|
-
/**
|
|
69
|
-
* Resources that enhance functionality but are not mandatory
|
|
70
|
-
*/
|
|
71
|
-
optional: ResourceRequirement[];
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Configuration schema for the plugin
|
|
75
|
-
*/
|
|
76
|
-
config?: {
|
|
77
|
-
schema?: ConfigSchema;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Author name or organization
|
|
81
|
-
*/
|
|
82
|
-
author?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Plugin version (semver format)
|
|
85
|
-
*/
|
|
86
|
-
version?: string;
|
|
87
|
-
/**
|
|
88
|
-
* URL to the plugin's source repository
|
|
89
|
-
*/
|
|
90
|
-
repository?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Keywords for plugin discovery
|
|
93
|
-
*/
|
|
94
|
-
keywords?: string[];
|
|
95
|
-
/**
|
|
96
|
-
* SPDX license identifier
|
|
97
|
-
*/
|
|
98
|
-
license?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Message displayed to the user after project initialization. Use this to inform about manual setup steps (e.g. environment variables, resource provisioning).
|
|
101
|
-
*/
|
|
102
|
-
onSetupMessage?: string;
|
|
103
|
-
/**
|
|
104
|
-
* When true, this plugin is excluded from the template plugins manifest (appkit.plugins.json) during sync.
|
|
105
|
-
*/
|
|
106
|
-
hidden?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Plugin stability level. Beta plugins may have breaking API changes between minor releases but are on a path to GA. GA (general availability) plugins follow semver strictly.
|
|
109
|
-
*/
|
|
110
|
-
stability?: "beta" | "ga";
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Defines a single field for a resource. Each field has its own environment variable and optional description. Single-value types use one key (e.g. id); multi-value types (database, secret) use multiple (e.g. instance_name, database_name or scope, key).
|
|
114
|
-
*
|
|
115
|
-
* This interface was referenced by `PluginManifest`'s JSON-Schema
|
|
116
|
-
* via the `definition` "resourceFieldEntry".
|
|
117
|
-
*/
|
|
118
|
-
interface ResourceFieldEntry {
|
|
119
|
-
/**
|
|
120
|
-
* Environment variable name for this field
|
|
121
|
-
*/
|
|
122
|
-
env?: string;
|
|
123
|
-
/**
|
|
124
|
-
* Human-readable description for this field
|
|
125
|
-
*/
|
|
126
|
-
description?: string;
|
|
127
|
-
/**
|
|
128
|
-
* When true, this field is excluded from Databricks bundle configuration (databricks.yml) generation.
|
|
129
|
-
*/
|
|
130
|
-
bundleIgnore?: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* Example values showing the expected format for this field
|
|
133
|
-
*/
|
|
134
|
-
examples?: string[];
|
|
135
|
-
/**
|
|
136
|
-
* When true, this field is only generated for local .env files. The Databricks Apps platform auto-injects it at deploy time.
|
|
137
|
-
*/
|
|
138
|
-
localOnly?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Static value for this field. Used when no prompted or resolved value exists.
|
|
141
|
-
*/
|
|
142
|
-
value?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Named resolver prefixed by resource type (e.g., 'postgres:host'). The CLI resolves this value during the init prompt flow.
|
|
145
|
-
*/
|
|
146
|
-
resolve?: string;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* This interface was referenced by `PluginManifest`'s JSON-Schema
|
|
150
|
-
* via the `definition` "configSchema".
|
|
151
|
-
*/
|
|
152
|
-
interface ConfigSchema {
|
|
153
|
-
type: "object" | "array" | "string" | "number" | "boolean";
|
|
154
|
-
properties?: {
|
|
155
|
-
[k: string]: ConfigSchemaProperty;
|
|
156
|
-
};
|
|
157
|
-
items?: ConfigSchema;
|
|
158
|
-
required?: string[];
|
|
159
|
-
additionalProperties?: boolean;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* This interface was referenced by `PluginManifest`'s JSON-Schema
|
|
163
|
-
* via the `definition` "configSchemaProperty".
|
|
164
|
-
*/
|
|
165
|
-
interface ConfigSchemaProperty {
|
|
166
|
-
type: "object" | "array" | "string" | "number" | "boolean" | "integer";
|
|
167
|
-
description?: string;
|
|
168
|
-
default?: unknown;
|
|
169
|
-
enum?: unknown[];
|
|
170
|
-
properties?: {
|
|
171
|
-
[k: string]: ConfigSchemaProperty;
|
|
172
|
-
};
|
|
173
|
-
items?: ConfigSchemaProperty;
|
|
174
|
-
minimum?: number;
|
|
175
|
-
maximum?: number;
|
|
176
|
-
minLength?: number;
|
|
177
|
-
maxLength?: number;
|
|
178
|
-
required?: string[];
|
|
179
|
-
}
|
|
180
|
-
//#endregion
|
|
181
|
-
export { PluginManifest, ResourceFieldEntry, ResourceRequirement };
|
|
182
|
-
//# sourceMappingURL=plugin-manifest.generated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-manifest.generated.d.ts","names":[],"sources":["../../../../../shared/src/schemas/plugin-manifest.generated.ts"],"mappings":";;AAQA;;;;;KAAY,mBAAA;EACV,IAAA,EAAM,YAAA;EAQN;;;EAJA,KAAA;EAiBG;;;EAbH,WAAA;EAsBU;;;EAlBV,WAAA;EAkBsB;AAiHxB;;EA/HE,UAAA;EAuJY;;;EAnJZ,MAAA;IAAA,CACG,CAAA,WAAY,kBAAA;EAAA;AAAA;;;;;;;KASL,YAAA;;;;UAiHK,cAAA;;;;EAIf,OAAA;;;;EAIA,IAAA;;;;EAIA,WAAA;;;;EAIA,WAAA;;;;EAIA,SAAA;;;;IAIE,QAAA,EAAU,mBAAA;;;;IAIV,QAAA,EAAU,mBAAA;EAAA;;;;EAKZ,MAAA;IACE,MAAA,GAAS,YAAA;EAAA;;;;EAKX,MAAA;;;;EAIA,OAAA;;;;EAIA,UAAA;;;;EAIA,QAAA;;;;EAIA,OAAA;;;;EAIA,cAAA;;;;EAIA,MAAA;;;;EAIA,SAAA;AAAA;;;;;;;UAQe,kBAAA;;;;EAIf,GAAA;;;;EAIA,WAAA;;;;EAIA,YAAA;;;;EAIA,QAAA;;;;EAIA,SAAA;;;;EAIA,KAAA;;;;EAIA,OAAA;AAAA;;;;;UAMe,YAAA;EACf,IAAA;EACA,UAAA;IAAA,CACG,CAAA,WAAY,oBAAA;EAAA;EAEf,KAAA,GAAQ,YAAA;EACR,QAAA;EACA,oBAAA;AAAA;;;;;UAMe,oBAAA;EACf,IAAA;EACA,WAAA;EACA,OAAA;EACA,IAAA;EACA,UAAA;IAAA,CACG,CAAA,WAAY,oBAAA;EAAA;EAEf,KAAA,GAAQ,oBAAA;EACR,OAAA;EACA,OAAA;EACA,SAAA;EACA,SAAA;EACA,QAAA;AAAA"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# Interface: ResourceFieldEntry
|
|
2
|
-
|
|
3
|
-
Defines a single field for a resource. Each field has its own environment variable and optional description. Single-value types use one key (e.g. id); multi-value types (database, secret) use multiple (e.g. instance\_name, database\_name or scope, key).
|
|
4
|
-
|
|
5
|
-
This interface was referenced by `PluginManifest`'s JSON-Schema via the `definition` "resourceFieldEntry".
|
|
6
|
-
|
|
7
|
-
## Properties[](#properties "Direct link to Properties")
|
|
8
|
-
|
|
9
|
-
### bundleIgnore?[](#bundleignore "Direct link to bundleIgnore?")
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
optional bundleIgnore: boolean;
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
When true, this field is excluded from Databricks bundle configuration (databricks.yml) generation.
|
|
17
|
-
|
|
18
|
-
***
|
|
19
|
-
|
|
20
|
-
### description?[](#description "Direct link to description?")
|
|
21
|
-
|
|
22
|
-
```ts
|
|
23
|
-
optional description: string;
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Human-readable description for this field
|
|
28
|
-
|
|
29
|
-
***
|
|
30
|
-
|
|
31
|
-
### env?[](#env "Direct link to env?")
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
optional env: string;
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Environment variable name for this field
|
|
39
|
-
|
|
40
|
-
***
|
|
41
|
-
|
|
42
|
-
### examples?[](#examples "Direct link to examples?")
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
optional examples: string[];
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Example values showing the expected format for this field
|
|
50
|
-
|
|
51
|
-
***
|
|
52
|
-
|
|
53
|
-
### localOnly?[](#localonly "Direct link to localOnly?")
|
|
54
|
-
|
|
55
|
-
```ts
|
|
56
|
-
optional localOnly: boolean;
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
When true, this field is only generated for local .env files. The Databricks Apps platform auto-injects it at deploy time.
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
|
-
### resolve?[](#resolve "Direct link to resolve?")
|
|
65
|
-
|
|
66
|
-
```ts
|
|
67
|
-
optional resolve: string;
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
Named resolver prefixed by resource type (e.g., 'postgres<!-- -->:host<!-- -->'). The CLI resolves this value during the init prompt flow.
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### value?[](#value "Direct link to value?")
|
|
76
|
-
|
|
77
|
-
```ts
|
|
78
|
-
optional value: string;
|
|
79
|
-
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Static value for this field. Used when no prompted or resolved value exists.
|