mixpeek 0.81.67 → 0.81.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/custom-models-api.d.ts +6 -6
- package/dist/api/custom-models-api.d.ts.map +1 -1
- package/dist/api/manifest-api.d.ts +24 -24
- package/dist/api/manifest-api.d.ts.map +1 -1
- package/dist/models/validation-error.d.ts +12 -0
- package/dist/models/validation-error.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -92,7 +92,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
|
|
|
92
92
|
* Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
|
|
93
93
|
* @summary Upload a custom model
|
|
94
94
|
* @param {string} namespaceId
|
|
95
|
-
* @param {
|
|
95
|
+
* @param {string} file Model archive (.tar.gz)
|
|
96
96
|
* @param {string} name Model name
|
|
97
97
|
* @param {string} version Model version
|
|
98
98
|
* @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
|
|
@@ -104,7 +104,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
uploadModelNamespaces: (namespaceId: string, file:
|
|
107
|
+
uploadModelNamespaces: (namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
110
|
* CustomModelsApi - functional programming interface
|
|
@@ -177,7 +177,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
|
|
|
177
177
|
* Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
|
|
178
178
|
* @summary Upload a custom model
|
|
179
179
|
* @param {string} namespaceId
|
|
180
|
-
* @param {
|
|
180
|
+
* @param {string} file Model archive (.tar.gz)
|
|
181
181
|
* @param {string} name Model name
|
|
182
182
|
* @param {string} version Model version
|
|
183
183
|
* @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
|
|
@@ -189,7 +189,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
|
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
uploadModelNamespaces(namespaceId: string, file:
|
|
192
|
+
uploadModelNamespaces(namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelUploadResponse>>;
|
|
193
193
|
};
|
|
194
194
|
/**
|
|
195
195
|
* CustomModelsApi - factory interface
|
|
@@ -402,10 +402,10 @@ export interface CustomModelsApiUploadModelNamespacesRequest {
|
|
|
402
402
|
readonly namespaceId: string;
|
|
403
403
|
/**
|
|
404
404
|
* Model archive (.tar.gz)
|
|
405
|
-
* @type {
|
|
405
|
+
* @type {string}
|
|
406
406
|
* @memberof CustomModelsApiUploadModelNamespaces
|
|
407
407
|
*/
|
|
408
|
-
readonly file:
|
|
408
|
+
readonly file: string;
|
|
409
409
|
/**
|
|
410
410
|
* Model name
|
|
411
411
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-models-api.d.ts","sourceRoot":"","sources":["../../api/custom-models-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAE5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAMxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD;;;GAGG;AACH,eAAO,MAAM,gCAAgC,GAAa,gBAAgB,aAAa;IAE/E;;;;;;;OAOG;yCACwC,MAAM,WAAW,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;I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O,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -24,20 +24,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
24
24
|
/**
|
|
25
25
|
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
26
26
|
* @summary Apply Manifest
|
|
27
|
-
* @param {
|
|
27
|
+
* @param {string} manifestFile YAML manifest file
|
|
28
28
|
* @param {boolean} [dryRun] Validate only, don\'t create resources
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
applyManifest: (manifestFile:
|
|
32
|
+
applyManifest: (manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
34
|
* Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
35
35
|
* @summary Diff Manifest
|
|
36
|
-
* @param {
|
|
36
|
+
* @param {string} manifestFile YAML manifest file
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
diffManifest: (manifestFile:
|
|
40
|
+
diffManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
/**
|
|
42
42
|
* Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
|
|
43
43
|
* @summary Export Manifest Get
|
|
@@ -69,20 +69,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
69
69
|
/**
|
|
70
70
|
* Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
|
|
71
71
|
* @summary Lint Manifest
|
|
72
|
-
* @param {
|
|
72
|
+
* @param {string} manifestFile YAML manifest file
|
|
73
73
|
* @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
77
|
-
lintManifest: (manifestFile:
|
|
77
|
+
lintManifest: (manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
78
|
/**
|
|
79
79
|
* Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
80
80
|
* @summary Validate Manifest
|
|
81
|
-
* @param {
|
|
81
|
+
* @param {string} manifestFile YAML manifest file
|
|
82
82
|
* @param {*} [options] Override http request option.
|
|
83
83
|
* @throws {RequiredError}
|
|
84
84
|
*/
|
|
85
|
-
validateManifest: (manifestFile:
|
|
85
|
+
validateManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* ManifestApi - functional programming interface
|
|
@@ -92,20 +92,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
/**
|
|
93
93
|
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
94
94
|
* @summary Apply Manifest
|
|
95
|
-
* @param {
|
|
95
|
+
* @param {string} manifestFile YAML manifest file
|
|
96
96
|
* @param {boolean} [dryRun] Validate only, don\'t create resources
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
applyManifest(manifestFile:
|
|
100
|
+
applyManifest(manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
|
|
101
101
|
/**
|
|
102
102
|
* Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
103
103
|
* @summary Diff Manifest
|
|
104
|
-
* @param {
|
|
104
|
+
* @param {string} manifestFile YAML manifest file
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
diffManifest(manifestFile:
|
|
108
|
+
diffManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiffResult>>;
|
|
109
109
|
/**
|
|
110
110
|
* Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
|
|
111
111
|
* @summary Export Manifest Get
|
|
@@ -137,20 +137,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
|
|
|
137
137
|
/**
|
|
138
138
|
* Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
|
|
139
139
|
* @summary Lint Manifest
|
|
140
|
-
* @param {
|
|
140
|
+
* @param {string} manifestFile YAML manifest file
|
|
141
141
|
* @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
lintManifest(manifestFile:
|
|
145
|
+
lintManifest(manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LintResponse>>;
|
|
146
146
|
/**
|
|
147
147
|
* Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
148
148
|
* @summary Validate Manifest
|
|
149
|
-
* @param {
|
|
149
|
+
* @param {string} manifestFile YAML manifest file
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
validateManifest(manifestFile:
|
|
153
|
+
validateManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateResult>>;
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
156
|
* ManifestApi - factory interface
|
|
@@ -222,10 +222,10 @@ export declare const ManifestApiFactory: (configuration?: Configuration, basePat
|
|
|
222
222
|
export interface ManifestApiApplyManifestRequest {
|
|
223
223
|
/**
|
|
224
224
|
* YAML manifest file
|
|
225
|
-
* @type {
|
|
225
|
+
* @type {string}
|
|
226
226
|
* @memberof ManifestApiApplyManifest
|
|
227
227
|
*/
|
|
228
|
-
readonly manifestFile:
|
|
228
|
+
readonly manifestFile: string;
|
|
229
229
|
/**
|
|
230
230
|
* Validate only, don\'t create resources
|
|
231
231
|
* @type {boolean}
|
|
@@ -241,10 +241,10 @@ export interface ManifestApiApplyManifestRequest {
|
|
|
241
241
|
export interface ManifestApiDiffManifestRequest {
|
|
242
242
|
/**
|
|
243
243
|
* YAML manifest file
|
|
244
|
-
* @type {
|
|
244
|
+
* @type {string}
|
|
245
245
|
* @memberof ManifestApiDiffManifest
|
|
246
246
|
*/
|
|
247
|
-
readonly manifestFile:
|
|
247
|
+
readonly manifestFile: string;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
250
|
* Request parameters for exportManifestGet operation in ManifestApi.
|
|
@@ -317,10 +317,10 @@ export interface ManifestApiGenerateManifestRequest {
|
|
|
317
317
|
export interface ManifestApiLintManifestRequest {
|
|
318
318
|
/**
|
|
319
319
|
* YAML manifest file
|
|
320
|
-
* @type {
|
|
320
|
+
* @type {string}
|
|
321
321
|
* @memberof ManifestApiLintManifest
|
|
322
322
|
*/
|
|
323
|
-
readonly manifestFile:
|
|
323
|
+
readonly manifestFile: string;
|
|
324
324
|
/**
|
|
325
325
|
* Rule codes to skip (e.g., MISSING_DESCRIPTION)
|
|
326
326
|
* @type {Array<string>}
|
|
@@ -336,10 +336,10 @@ export interface ManifestApiLintManifestRequest {
|
|
|
336
336
|
export interface ManifestApiValidateManifestRequest {
|
|
337
337
|
/**
|
|
338
338
|
* YAML manifest file
|
|
339
|
-
* @type {
|
|
339
|
+
* @type {string}
|
|
340
340
|
* @memberof ManifestApiValidateManifest
|
|
341
341
|
*/
|
|
342
|
-
readonly manifestFile:
|
|
342
|
+
readonly manifestFile: string;
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
345
|
* ManifestApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-api.d.ts","sourceRoot":"","sources":["../../api/manifest-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAM5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAa,gBAAgB,aAAa;IAE3E;;;;;;;OAOG;kCACiC,
|
|
1
|
+
{"version":3,"file":"manifest-api.d.ts","sourceRoot":"","sources":["../../api/manifest-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAM5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW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AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CACrC;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,OAAO;IACpC;;;;;;;OAOG;IACI,aAAa,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIxG;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIrH;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,GAAE,oCAAyC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvH;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI9G;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGjH"}
|
|
@@ -34,5 +34,17 @@ export interface ValidationError {
|
|
|
34
34
|
* @memberof ValidationError
|
|
35
35
|
*/
|
|
36
36
|
'type': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {any}
|
|
40
|
+
* @memberof ValidationError
|
|
41
|
+
*/
|
|
42
|
+
'input'?: any;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {object}
|
|
46
|
+
* @memberof ValidationError
|
|
47
|
+
*/
|
|
48
|
+
'ctx'?: object;
|
|
37
49
|
}
|
|
38
50
|
//# sourceMappingURL=validation-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-error.d.ts","sourceRoot":"","sources":["../../models/validation-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACtC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"validation-error.d.ts","sourceRoot":"","sources":["../../models/validation-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACtC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
package/package.json
CHANGED