@picteus/extension-sdk 0.13.1 → 0.15.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/dist/intents.d.ts +64 -1
- package/dist/intents.js +6 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +35 -10
- package/dist/picteus-ws-client/apis/ExtensionApi.js +38 -10
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +108 -50
- package/dist/picteus-ws-client/apis/ImageApi.js +123 -44
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +24 -23
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +19 -23
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +25 -2
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -2
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +12 -12
- package/dist/picteus-ws-client/apis/SettingsApi.js +7 -7
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +32 -0
- package/dist/picteus-ws-client/models/ApplicationConfiguration.js +41 -0
- package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +32 -0
- package/dist/picteus-ws-client/models/ApplicationSettings.js +41 -0
- package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
- package/dist/picteus-ws-client/models/Collection.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +29 -0
- package/dist/picteus-ws-client/models/ExtensionCategory.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +14 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +8 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +8 -7
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +6 -5
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +1 -1
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +38 -0
- package/dist/picteus-ws-client/models/ImageEmbedding.js +47 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +4 -9
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +33 -9
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +9 -2
- package/dist/picteus-ws-client/models/Manifest.js +6 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +3 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +8 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +4 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +10 -4
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +4 -4
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +32 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +43 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +3 -3
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/PromptKind.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
- package/dist/picteus-ws-client/models/Repository.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +39 -0
- package/dist/picteus-ws-client/models/RunCommandParameters.js +46 -0
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +1 -1
- package/dist/picteus-ws-client/models/Software.js +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +7 -2
- package/dist/picteus-ws-client/models/index.js +7 -2
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +52 -26
- package/dist/picteusExtension.js +184 -57
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { ManifestUserInterface } from './ManifestUserInterface.js';
|
|
13
13
|
import type { ManifestRuntime } from './ManifestRuntime.js';
|
|
14
14
|
import type { ManifestInstructions } from './ManifestInstructions.js';
|
|
15
|
+
import type { ExtensionCategory } from './ExtensionCategory.js';
|
|
15
16
|
/**
|
|
16
17
|
* The manifest of an extension
|
|
17
18
|
* @export
|
|
@@ -42,6 +43,12 @@ export interface Manifest {
|
|
|
42
43
|
* @memberof Manifest
|
|
43
44
|
*/
|
|
44
45
|
description: string;
|
|
46
|
+
/**
|
|
47
|
+
* The categories the extension belongs to
|
|
48
|
+
* @type {Array<ExtensionCategory>}
|
|
49
|
+
* @memberof Manifest
|
|
50
|
+
*/
|
|
51
|
+
categories: Array<ExtensionCategory>;
|
|
45
52
|
/**
|
|
46
53
|
* The required runtime environments
|
|
47
54
|
* @type {Array<ManifestRuntime>}
|
|
@@ -61,7 +68,7 @@ export interface Manifest {
|
|
|
61
68
|
*/
|
|
62
69
|
settings: object;
|
|
63
70
|
/**
|
|
64
|
-
* The
|
|
71
|
+
* The UI definition of the extensions
|
|
65
72
|
* @type {ManifestUserInterface}
|
|
66
73
|
* @memberof Manifest
|
|
67
74
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.19.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { ManifestUserInterfaceFromJSON, ManifestUserInterfaceToJSON, } from './ManifestUserInterface.js';
|
|
15
15
|
import { ManifestRuntimeFromJSON, ManifestRuntimeToJSON, } from './ManifestRuntime.js';
|
|
16
16
|
import { ManifestInstructionsFromJSON, ManifestInstructionsToJSON, } from './ManifestInstructions.js';
|
|
17
|
+
import { ExtensionCategoryFromJSON, ExtensionCategoryToJSON, } from './ExtensionCategory.js';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the Manifest interface.
|
|
19
20
|
*/
|
|
@@ -26,6 +27,8 @@ export function instanceOfManifest(value) {
|
|
|
26
27
|
return false;
|
|
27
28
|
if (!('description' in value) || value['description'] === undefined)
|
|
28
29
|
return false;
|
|
30
|
+
if (!('categories' in value) || value['categories'] === undefined)
|
|
31
|
+
return false;
|
|
29
32
|
if (!('runtimes' in value) || value['runtimes'] === undefined)
|
|
30
33
|
return false;
|
|
31
34
|
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
@@ -46,6 +49,7 @@ export function ManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
49
|
'version': json['version'],
|
|
47
50
|
'name': json['name'],
|
|
48
51
|
'description': json['description'],
|
|
52
|
+
'categories': (json['categories'].map(ExtensionCategoryFromJSON)),
|
|
49
53
|
'runtimes': (json['runtimes'].map(ManifestRuntimeFromJSON)),
|
|
50
54
|
'instructions': (json['instructions'].map(ManifestInstructionsFromJSON)),
|
|
51
55
|
'settings': json['settings'],
|
|
@@ -64,6 +68,7 @@ export function ManifestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
68
|
'version': value['version'],
|
|
65
69
|
'name': value['name'],
|
|
66
70
|
'description': value['description'],
|
|
71
|
+
'categories': (value['categories'].map(ExtensionCategoryToJSON)),
|
|
67
72
|
'runtimes': (value['runtimes'].map(ManifestRuntimeToJSON)),
|
|
68
73
|
'instructions': (value['instructions'].map(ManifestInstructionsToJSON)),
|
|
69
74
|
'settings': value['settings'],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
export declare const ManifestEvent: {
|
|
17
17
|
readonly ProcessStarted: "process.started";
|
|
18
18
|
readonly ProcessRunCommand: "process.runCommand";
|
|
19
|
+
readonly ExtensionVersions: "extension.versions";
|
|
20
|
+
readonly ExtensionReady: "extension.ready";
|
|
19
21
|
readonly ExtensionSettings: "extension.settings";
|
|
20
22
|
readonly ImageCreated: "image.created";
|
|
21
23
|
readonly ImageUpdated: "image.updated";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.19.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
export const ManifestEvent = {
|
|
19
19
|
ProcessStarted: 'process.started',
|
|
20
20
|
ProcessRunCommand: 'process.runCommand',
|
|
21
|
+
ExtensionVersions: 'extension.versions',
|
|
22
|
+
ExtensionReady: 'extension.ready',
|
|
21
23
|
ExtensionSettings: 'extension.settings',
|
|
22
24
|
ImageCreated: 'image.created',
|
|
23
25
|
ImageUpdated: 'image.updated',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ManifestExtensionCommandSpecification } from './ManifestExtensionCommandSpecification.js';
|
|
13
|
+
import type { ManifestExtensionCommandUi } from './ManifestExtensionCommandUi.js';
|
|
13
14
|
import type { ManifestExtensionCommandOn } from './ManifestExtensionCommandOn.js';
|
|
14
15
|
/**
|
|
15
16
|
* The definition of an extension's command
|
|
@@ -41,6 +42,12 @@ export interface ManifestExtensionCommand {
|
|
|
41
42
|
* @memberof ManifestExtensionCommand
|
|
42
43
|
*/
|
|
43
44
|
specifications: Array<ManifestExtensionCommandSpecification>;
|
|
45
|
+
/**
|
|
46
|
+
* The UI specifications of the command
|
|
47
|
+
* @type {ManifestExtensionCommandUi}
|
|
48
|
+
* @memberof ManifestExtensionCommand
|
|
49
|
+
*/
|
|
50
|
+
ui?: ManifestExtensionCommandUi;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
46
53
|
* Check if a given object implements the ManifestExtensionCommand interface.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.19.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ManifestExtensionCommandSpecificationFromJSON, ManifestExtensionCommandSpecificationToJSON, } from './ManifestExtensionCommandSpecification.js';
|
|
15
|
+
import { ManifestExtensionCommandUiFromJSON, ManifestExtensionCommandUiToJSON, } from './ManifestExtensionCommandUi.js';
|
|
15
16
|
import { ManifestExtensionCommandOnFromJSON, ManifestExtensionCommandOnToJSON, } from './ManifestExtensionCommandOn.js';
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the ManifestExtensionCommand interface.
|
|
@@ -37,6 +38,7 @@ export function ManifestExtensionCommandFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
38
|
'on': ManifestExtensionCommandOnFromJSON(json['on']),
|
|
38
39
|
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
39
40
|
'specifications': (json['specifications'].map(ManifestExtensionCommandSpecificationFromJSON)),
|
|
41
|
+
'ui': json['ui'] == null ? undefined : ManifestExtensionCommandUiFromJSON(json['ui']),
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
export function ManifestExtensionCommandToJSON(json) {
|
|
@@ -51,5 +53,6 @@ export function ManifestExtensionCommandToJSONTyped(value, ignoreDiscriminator =
|
|
|
51
53
|
'on': ManifestExtensionCommandOnToJSON(value['on']),
|
|
52
54
|
'parameters': value['parameters'],
|
|
53
55
|
'specifications': (value['specifications'].map(ManifestExtensionCommandSpecificationToJSON)),
|
|
56
|
+
'ui': ManifestExtensionCommandUiToJSON(value['ui']),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,17 +22,23 @@ export interface ManifestExtensionCommandSpecification {
|
|
|
22
22
|
*/
|
|
23
23
|
locale: string;
|
|
24
24
|
/**
|
|
25
|
-
* The command label
|
|
25
|
+
* The command label displayed on buttons
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ManifestExtensionCommandSpecification
|
|
28
28
|
*/
|
|
29
29
|
label: string;
|
|
30
30
|
/**
|
|
31
|
-
* The command
|
|
31
|
+
* The command name displayed on dialog boxes
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ManifestExtensionCommandSpecification
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The command description
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManifestExtensionCommandSpecification
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the ManifestExtensionCommandSpecification interface.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.19.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,8 +19,6 @@ export function instanceOfManifestExtensionCommandSpecification(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('label' in value) || value['label'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
23
|
-
return false;
|
|
24
22
|
return true;
|
|
25
23
|
}
|
|
26
24
|
export function ManifestExtensionCommandSpecificationFromJSON(json) {
|
|
@@ -33,7 +31,8 @@ export function ManifestExtensionCommandSpecificationFromJSONTyped(json, ignoreD
|
|
|
33
31
|
return {
|
|
34
32
|
'locale': json['locale'],
|
|
35
33
|
'label': json['label'],
|
|
36
|
-
'
|
|
34
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
export function ManifestExtensionCommandSpecificationToJSON(json) {
|
|
@@ -46,6 +45,7 @@ export function ManifestExtensionCommandSpecificationToJSONTyped(value, ignoreDi
|
|
|
46
45
|
return {
|
|
47
46
|
'locale': value['locale'],
|
|
48
47
|
'label': value['label'],
|
|
48
|
+
'name': value['name'],
|
|
49
49
|
'description': value['description'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The User Interface (UI) specifications of an extension command
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ManifestExtensionCommandUi
|
|
16
|
+
*/
|
|
17
|
+
export interface ManifestExtensionCommandUi {
|
|
18
|
+
/**
|
|
19
|
+
* The URI of the command icon
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ManifestExtensionCommandUi
|
|
22
|
+
*/
|
|
23
|
+
iconUri: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ManifestExtensionCommandUi interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfManifestExtensionCommandUi(value: object): value is ManifestExtensionCommandUi;
|
|
29
|
+
export declare function ManifestExtensionCommandUiFromJSON(json: any): ManifestExtensionCommandUi;
|
|
30
|
+
export declare function ManifestExtensionCommandUiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManifestExtensionCommandUi;
|
|
31
|
+
export declare function ManifestExtensionCommandUiToJSON(json: any): ManifestExtensionCommandUi;
|
|
32
|
+
export declare function ManifestExtensionCommandUiToJSONTyped(value?: ManifestExtensionCommandUi | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.19.0
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ManifestExtensionCommandUi interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfManifestExtensionCommandUi(value) {
|
|
18
|
+
if (!('iconUri' in value) || value['iconUri'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ManifestExtensionCommandUiFromJSON(json) {
|
|
23
|
+
return ManifestExtensionCommandUiFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ManifestExtensionCommandUiFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'iconUri': json['iconUri'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ManifestExtensionCommandUiToJSON(json) {
|
|
34
|
+
return ManifestExtensionCommandUiToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ManifestExtensionCommandUiToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'iconUri': value['iconUri'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ManifestInterfaceElement } from './ManifestInterfaceElement.js';
|
|
13
13
|
/**
|
|
14
|
-
* The definition of all extension's User Interface fragments
|
|
14
|
+
* The definition of all extension's User Interface (UI) fragments
|
|
15
15
|
* @export
|
|
16
16
|
* @interface ManifestUserInterface
|
|
17
17
|
*/
|
|
18
18
|
export interface ManifestUserInterface {
|
|
19
19
|
/**
|
|
20
|
-
* The various elements of the
|
|
20
|
+
* The various elements of the UI
|
|
21
21
|
* @type {Array<ManifestInterfaceElement>}
|
|
22
22
|
* @memberof ManifestUserInterface
|
|
23
23
|
*/
|