@quantum-hub/qhubctl 1.1.1 → 1.1.3
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/README.md +1 -1
- package/bin/dev.js +3 -1
- package/bin/run.js +1 -1
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +9 -46
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +11 -48
- package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformJobsApi.js +9 -46
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformServicesApi.js +34 -71
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +7 -44
- package/dist/client/kqh/apis/TaxonomiesApi.d.ts +2 -2
- package/dist/client/kqh/apis/TaxonomiesApi.js +12 -49
- package/dist/client/kqh/apis/index.d.ts +9 -9
- package/dist/client/kqh/apis/index.js +9 -25
- package/dist/client/kqh/index.d.ts +3 -3
- package/dist/client/kqh/index.js +3 -19
- package/dist/client/kqh/models/AccessTokenDto.js +5 -12
- package/dist/client/kqh/models/AmountMajorDto.js +4 -10
- package/dist/client/kqh/models/ApiDto.d.ts +2 -2
- package/dist/client/kqh/models/ApiDto.js +13 -20
- package/dist/client/kqh/models/ApiOverviewDto.d.ts +1 -1
- package/dist/client/kqh/models/ApiOverviewDto.js +10 -17
- package/dist/client/kqh/models/ApplicationDto.js +5 -12
- package/dist/client/kqh/models/BuildJobDto.d.ts +1 -1
- package/dist/client/kqh/models/BuildJobDto.js +9 -16
- package/dist/client/kqh/models/CpuConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/CpuConfiguration.js +7 -13
- package/dist/client/kqh/models/CreateApplicationRequest.js +4 -10
- package/dist/client/kqh/models/CreateDataPoolRequest.js +4 -10
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +1 -1
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +8 -15
- package/dist/client/kqh/models/CreateJobRequest.d.ts +1 -1
- package/dist/client/kqh/models/CreateJobRequest.js +9 -15
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +6 -13
- package/dist/client/kqh/models/CreateProductRequest.js +4 -10
- package/dist/client/kqh/models/CreateSubscriptionRequest.js +4 -10
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +4 -10
- package/dist/client/kqh/models/DataPoolDto.d.ts +3 -3
- package/dist/client/kqh/models/DataPoolDto.js +21 -28
- package/dist/client/kqh/models/DataPoolRef.js +4 -10
- package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +1 -1
- package/dist/client/kqh/models/DataSourceDescriptorDto.js +8 -15
- package/dist/client/kqh/models/FileDto.js +4 -10
- package/dist/client/kqh/models/FileSource.d.ts +1 -1
- package/dist/client/kqh/models/FileSource.js +4 -10
- package/dist/client/kqh/models/GpuConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/GpuConfiguration.js +8 -15
- package/dist/client/kqh/models/JobDto.d.ts +2 -2
- package/dist/client/kqh/models/JobDto.js +13 -20
- package/dist/client/kqh/models/JobOverviewDto.d.ts +1 -1
- package/dist/client/kqh/models/JobOverviewDto.js +8 -15
- package/dist/client/kqh/models/MemoryConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/MemoryConfiguration.js +7 -13
- package/dist/client/kqh/models/MeteringRequest.js +4 -10
- package/dist/client/kqh/models/MeteringResponse.js +4 -10
- package/dist/client/kqh/models/MonthAmountDto.d.ts +2 -2
- package/dist/client/kqh/models/MonthAmountDto.js +10 -16
- package/dist/client/kqh/models/OwnerDto.js +4 -10
- package/dist/client/kqh/models/PageDataPoolDto.d.ts +3 -3
- package/dist/client/kqh/models/PageDataPoolDto.js +13 -19
- package/dist/client/kqh/models/PageableObject.d.ts +1 -1
- package/dist/client/kqh/models/PageableObject.js +7 -13
- package/dist/client/kqh/models/PricingPlanDto.d.ts +1 -1
- package/dist/client/kqh/models/PricingPlanDto.js +8 -15
- package/dist/client/kqh/models/ProductAmountDto.d.ts +1 -1
- package/dist/client/kqh/models/ProductAmountDto.js +7 -13
- package/dist/client/kqh/models/ProductDto.js +5 -12
- package/dist/client/kqh/models/ProductGroupDto.d.ts +2 -2
- package/dist/client/kqh/models/ProductGroupDto.js +10 -16
- package/dist/client/kqh/models/ProductUsageDto.js +4 -10
- package/dist/client/kqh/models/RegistrySource.d.ts +1 -1
- package/dist/client/kqh/models/RegistrySource.js +7 -13
- package/dist/client/kqh/models/RepositorySource.d.ts +1 -1
- package/dist/client/kqh/models/RepositorySource.js +7 -13
- package/dist/client/kqh/models/ResourceConfiguration.js +10 -16
- package/dist/client/kqh/models/ReviewDto.js +5 -12
- package/dist/client/kqh/models/RuntimeConfiguration.js +5 -12
- package/dist/client/kqh/models/ServiceDefinitionCommand.js +5 -12
- package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +5 -5
- package/dist/client/kqh/models/ServiceDefinitionDto.js +21 -28
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +3 -3
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +18 -23
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +6 -13
- package/dist/client/kqh/models/ServiceDto.d.ts +1 -1
- package/dist/client/kqh/models/ServiceDto.js +8 -15
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +5 -12
- package/dist/client/kqh/models/ServiceExecutionDto.js +4 -10
- package/dist/client/kqh/models/ServiceOverviewDto.js +8 -15
- package/dist/client/kqh/models/ServiceSource.js +10 -16
- package/dist/client/kqh/models/SortObject.js +4 -10
- package/dist/client/kqh/models/SubscriptionDto.d.ts +3 -3
- package/dist/client/kqh/models/SubscriptionDto.js +13 -19
- package/dist/client/kqh/models/TaxonomyElement.js +4 -10
- package/dist/client/kqh/models/UpdateDataPoolRequest.js +4 -10
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +3 -3
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +18 -23
- package/dist/client/kqh/models/UpdateVersionRequest.d.ts +1 -1
- package/dist/client/kqh/models/UpdateVersionRequest.js +7 -13
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +4 -10
- package/dist/client/kqh/models/ValidationResult.js +5 -12
- package/dist/client/kqh/models/index.d.ts +57 -57
- package/dist/client/kqh/models/index.js +57 -73
- package/dist/client/kqh/runtime.js +17 -32
- package/dist/client/users/apis/AuthenticationApi.d.ts +2 -2
- package/dist/client/users/apis/AuthenticationApi.js +4 -41
- package/dist/client/users/apis/ExpertsApi.d.ts +2 -2
- package/dist/client/users/apis/ExpertsApi.js +5 -42
- package/dist/client/users/apis/SearchApi.d.ts +2 -2
- package/dist/client/users/apis/SearchApi.js +5 -42
- package/dist/client/users/apis/UserSettingsApi.d.ts +2 -2
- package/dist/client/users/apis/UserSettingsApi.js +11 -48
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +2 -2
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +7 -44
- package/dist/client/users/apis/UsersApi.d.ts +2 -2
- package/dist/client/users/apis/UsersApi.js +4 -41
- package/dist/client/users/apis/index.d.ts +6 -6
- package/dist/client/users/apis/index.js +6 -22
- package/dist/client/users/index.d.ts +3 -3
- package/dist/client/users/index.js +3 -19
- package/dist/client/users/models/AccessTokenCreateRequest.js +5 -12
- package/dist/client/users/models/AccessTokenDto.js +5 -12
- package/dist/client/users/models/AccessTokensResponse.d.ts +1 -1
- package/dist/client/users/models/AccessTokensResponse.js +7 -13
- package/dist/client/users/models/DefaultAccessTokenResponse.js +4 -10
- package/dist/client/users/models/Language.js +4 -10
- package/dist/client/users/models/PageUserDto.d.ts +3 -3
- package/dist/client/users/models/PageUserDto.js +13 -19
- package/dist/client/users/models/Pageable.js +4 -10
- package/dist/client/users/models/PageableObject.d.ts +1 -1
- package/dist/client/users/models/PageableObject.js +7 -13
- package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +1 -1
- package/dist/client/users/models/PersonalAccessTokenPrincipal.js +7 -13
- package/dist/client/users/models/Skill.js +4 -10
- package/dist/client/users/models/SortObject.js +4 -10
- package/dist/client/users/models/UpdateUserRequest.js +4 -10
- package/dist/client/users/models/UserDto.d.ts +2 -2
- package/dist/client/users/models/UserDto.js +10 -16
- package/dist/client/users/models/UserOverviewDto.js +4 -10
- package/dist/client/users/models/index.d.ts +14 -14
- package/dist/client/users/models/index.js +14 -30
- package/dist/client/users/runtime.js +17 -32
- package/dist/commands/compress/index.d.ts +1 -1
- package/dist/commands/compress/index.js +13 -19
- package/dist/commands/datapool/upload.d.ts +4 -4
- package/dist/commands/datapool/upload.js +24 -30
- package/dist/commands/get-context/index.d.ts +1 -1
- package/dist/commands/get-context/index.js +2 -5
- package/dist/commands/init/index.d.ts +3 -3
- package/dist/commands/init/index.js +30 -36
- package/dist/commands/list-contexts/index.d.ts +2 -2
- package/dist/commands/list-contexts/index.js +11 -17
- package/dist/commands/login/index.d.ts +3 -3
- package/dist/commands/login/index.js +16 -22
- package/dist/commands/logout/index.d.ts +1 -1
- package/dist/commands/logout/index.js +7 -10
- package/dist/commands/openapi/index.d.ts +7 -7
- package/dist/commands/openapi/index.js +81 -87
- package/dist/commands/run/index.d.ts +6 -6
- package/dist/commands/run/index.js +43 -48
- package/dist/commands/serve/index.d.ts +3 -3
- package/dist/commands/serve/index.js +31 -37
- package/dist/commands/services/index.d.ts +5 -5
- package/dist/commands/services/index.js +17 -23
- package/dist/commands/set-context/index.d.ts +4 -4
- package/dist/commands/set-context/index.js +13 -19
- package/dist/commands/up/index.d.ts +5 -5
- package/dist/commands/up/index.js +51 -57
- package/dist/index.js +1 -4
- package/dist/lib/command.js +5 -10
- package/dist/lib/debug.js +1 -5
- package/dist/lib/entrypoint-resolver.js +3 -7
- package/dist/lib/error.js +8 -12
- package/dist/lib/fetch.js +4 -10
- package/dist/lib/init-user-input.d.ts +1 -1
- package/dist/lib/init-user-input.js +16 -20
- package/dist/lib/random-name.js +1 -5
- package/dist/lib/random-string.js +1 -5
- package/dist/lib/repository.js +9 -17
- package/dist/lib/stream-to-blob.d.ts +1 -1
- package/dist/lib/stream-to-blob.js +1 -5
- package/dist/lib/up/get-description.js +9 -15
- package/dist/lib/up/ignore.js +9 -15
- package/dist/lib/up/zip.js +18 -24
- package/dist/model/account.js +1 -2
- package/dist/model/command.d.ts +2 -2
- package/dist/model/command.js +11 -19
- package/dist/model/managed-service-config.js +4 -7
- package/dist/model/user-config.js +3 -6
- package/dist/service/auth-service.d.ts +3 -3
- package/dist/service/auth-service.js +8 -14
- package/dist/service/command-service.d.ts +2 -2
- package/dist/service/command-service.js +1 -5
- package/dist/service/quantum-hub-service.d.ts +10 -10
- package/dist/service/quantum-hub-service.js +21 -24
- package/dist/service/service-config-service.d.ts +1 -1
- package/dist/service/service-config-service.js +14 -21
- package/dist/service/user-config-service.d.ts +1 -1
- package/dist/service/user-config-service.js +14 -21
- package/dist/service/user-service.d.ts +2 -2
- package/dist/service/user-service.js +8 -11
- package/oclif.manifest.json +170 -170
- package/package.json +4 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfSkill = instanceOfSkill;
|
|
17
|
-
exports.SkillFromJSON = SkillFromJSON;
|
|
18
|
-
exports.SkillFromJSONTyped = SkillFromJSONTyped;
|
|
19
|
-
exports.SkillToJSON = SkillToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the Skill interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfSkill(value) {
|
|
17
|
+
export function instanceOfSkill(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function SkillFromJSON(json) {
|
|
20
|
+
export function SkillFromJSON(json) {
|
|
27
21
|
return SkillFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function SkillFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function SkillFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -34,7 +28,7 @@ function SkillFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
28
|
'name': json['name'] == null ? undefined : json['name'],
|
|
35
29
|
};
|
|
36
30
|
}
|
|
37
|
-
function SkillToJSON(value) {
|
|
31
|
+
export function SkillToJSON(value) {
|
|
38
32
|
if (value == null) {
|
|
39
33
|
return value;
|
|
40
34
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfSortObject = instanceOfSortObject;
|
|
17
|
-
exports.SortObjectFromJSON = SortObjectFromJSON;
|
|
18
|
-
exports.SortObjectFromJSONTyped = SortObjectFromJSONTyped;
|
|
19
|
-
exports.SortObjectToJSON = SortObjectToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the SortObject interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfSortObject(value) {
|
|
17
|
+
export function instanceOfSortObject(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function SortObjectFromJSON(json) {
|
|
20
|
+
export function SortObjectFromJSON(json) {
|
|
27
21
|
return SortObjectFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -36,7 +30,7 @@ function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
30
|
'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
|
|
37
31
|
};
|
|
38
32
|
}
|
|
39
|
-
function SortObjectToJSON(value) {
|
|
33
|
+
export function SortObjectToJSON(value) {
|
|
40
34
|
if (value == null) {
|
|
41
35
|
return value;
|
|
42
36
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
|
|
17
|
-
exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
|
|
18
|
-
exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
|
|
19
|
-
exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the UpdateUserRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfUpdateUserRequest(value) {
|
|
17
|
+
export function instanceOfUpdateUserRequest(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function UpdateUserRequestFromJSON(json) {
|
|
20
|
+
export function UpdateUserRequestFromJSON(json) {
|
|
27
21
|
return UpdateUserRequestFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -39,7 +33,7 @@ function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
33
|
'isEmailPublic': json['isEmailPublic'] == null ? undefined : json['isEmailPublic'],
|
|
40
34
|
};
|
|
41
35
|
}
|
|
42
|
-
function UpdateUserRequestToJSON(value) {
|
|
36
|
+
export function UpdateUserRequestToJSON(value) {
|
|
43
37
|
if (value == null) {
|
|
44
38
|
return value;
|
|
45
39
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Skill } from './Skill';
|
|
13
|
-
import type { Language } from './Language';
|
|
12
|
+
import type { Skill } from './Skill.js';
|
|
13
|
+
import type { Language } from './Language.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,23 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.UserDtoFromJSON = UserDtoFromJSON;
|
|
18
|
-
exports.UserDtoFromJSONTyped = UserDtoFromJSONTyped;
|
|
19
|
-
exports.UserDtoToJSON = UserDtoToJSON;
|
|
20
|
-
const Skill_1 = require("./Skill");
|
|
21
|
-
const Language_1 = require("./Language");
|
|
14
|
+
import { SkillFromJSON, SkillToJSON, } from './Skill.js';
|
|
15
|
+
import { LanguageFromJSON, LanguageToJSON, } from './Language.js';
|
|
22
16
|
/**
|
|
23
17
|
* Check if a given object implements the UserDto interface.
|
|
24
18
|
*/
|
|
25
|
-
function instanceOfUserDto(value) {
|
|
19
|
+
export function instanceOfUserDto(value) {
|
|
26
20
|
return true;
|
|
27
21
|
}
|
|
28
|
-
function UserDtoFromJSON(json) {
|
|
22
|
+
export function UserDtoFromJSON(json) {
|
|
29
23
|
return UserDtoFromJSONTyped(json, false);
|
|
30
24
|
}
|
|
31
|
-
function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
26
|
if (json == null) {
|
|
33
27
|
return json;
|
|
34
28
|
}
|
|
@@ -42,14 +36,14 @@ function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
36
|
'homepage': json['homepage'] == null ? undefined : json['homepage'],
|
|
43
37
|
'about': json['about'] == null ? undefined : json['about'],
|
|
44
38
|
'academicTitle': json['academicTitle'] == null ? undefined : json['academicTitle'],
|
|
45
|
-
'languages': json['languages'] == null ? undefined : (new Set(json['languages'].map(
|
|
46
|
-
'skills': json['skills'] == null ? undefined : (new Set(json['skills'].map(
|
|
39
|
+
'languages': json['languages'] == null ? undefined : (new Set(json['languages'].map(LanguageFromJSON))),
|
|
40
|
+
'skills': json['skills'] == null ? undefined : (new Set(json['skills'].map(SkillFromJSON))),
|
|
47
41
|
'isExpert': json['isExpert'] == null ? undefined : json['isExpert'],
|
|
48
42
|
'isEmailPublic': json['isEmailPublic'] == null ? undefined : json['isEmailPublic'],
|
|
49
43
|
'isReceiveEmails': json['isReceiveEmails'] == null ? undefined : json['isReceiveEmails'],
|
|
50
44
|
};
|
|
51
45
|
}
|
|
52
|
-
function UserDtoToJSON(value) {
|
|
46
|
+
export function UserDtoToJSON(value) {
|
|
53
47
|
if (value == null) {
|
|
54
48
|
return value;
|
|
55
49
|
}
|
|
@@ -63,8 +57,8 @@ function UserDtoToJSON(value) {
|
|
|
63
57
|
'homepage': value['homepage'],
|
|
64
58
|
'about': value['about'],
|
|
65
59
|
'academicTitle': value['academicTitle'],
|
|
66
|
-
'languages': value['languages'] == null ? undefined : (Array.from(value['languages']).map(
|
|
67
|
-
'skills': value['skills'] == null ? undefined : (Array.from(value['skills']).map(
|
|
60
|
+
'languages': value['languages'] == null ? undefined : (Array.from(value['languages']).map(LanguageToJSON)),
|
|
61
|
+
'skills': value['skills'] == null ? undefined : (Array.from(value['skills']).map(SkillToJSON)),
|
|
68
62
|
'isExpert': value['isExpert'],
|
|
69
63
|
'isEmailPublic': value['isEmailPublic'],
|
|
70
64
|
'isReceiveEmails': value['isReceiveEmails'],
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfUserOverviewDto = instanceOfUserOverviewDto;
|
|
17
|
-
exports.UserOverviewDtoFromJSON = UserOverviewDtoFromJSON;
|
|
18
|
-
exports.UserOverviewDtoFromJSONTyped = UserOverviewDtoFromJSONTyped;
|
|
19
|
-
exports.UserOverviewDtoToJSON = UserOverviewDtoToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the UserOverviewDto interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfUserOverviewDto(value) {
|
|
17
|
+
export function instanceOfUserOverviewDto(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function UserOverviewDtoFromJSON(json) {
|
|
20
|
+
export function UserOverviewDtoFromJSON(json) {
|
|
27
21
|
return UserOverviewDtoFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -40,7 +34,7 @@ function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
34
|
'isReceiveEmails': json['isReceiveEmails'] == null ? undefined : json['isReceiveEmails'],
|
|
41
35
|
};
|
|
42
36
|
}
|
|
43
|
-
function UserOverviewDtoToJSON(value) {
|
|
37
|
+
export function UserOverviewDtoToJSON(value) {
|
|
44
38
|
if (value == null) {
|
|
45
39
|
return value;
|
|
46
40
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './AccessTokenCreateRequest';
|
|
2
|
-
export * from './AccessTokenDto';
|
|
3
|
-
export * from './AccessTokensResponse';
|
|
4
|
-
export * from './DefaultAccessTokenResponse';
|
|
5
|
-
export * from './Language';
|
|
6
|
-
export * from './PageUserDto';
|
|
7
|
-
export * from './Pageable';
|
|
8
|
-
export * from './PageableObject';
|
|
9
|
-
export * from './PersonalAccessTokenPrincipal';
|
|
10
|
-
export * from './Skill';
|
|
11
|
-
export * from './SortObject';
|
|
12
|
-
export * from './UpdateUserRequest';
|
|
13
|
-
export * from './UserDto';
|
|
14
|
-
export * from './UserOverviewDto';
|
|
1
|
+
export * from './AccessTokenCreateRequest.js';
|
|
2
|
+
export * from './AccessTokenDto.js';
|
|
3
|
+
export * from './AccessTokensResponse.js';
|
|
4
|
+
export * from './DefaultAccessTokenResponse.js';
|
|
5
|
+
export * from './Language.js';
|
|
6
|
+
export * from './PageUserDto.js';
|
|
7
|
+
export * from './Pageable.js';
|
|
8
|
+
export * from './PageableObject.js';
|
|
9
|
+
export * from './PersonalAccessTokenPrincipal.js';
|
|
10
|
+
export * from './Skill.js';
|
|
11
|
+
export * from './SortObject.js';
|
|
12
|
+
export * from './UpdateUserRequest.js';
|
|
13
|
+
export * from './UserDto.js';
|
|
14
|
+
export * from './UserOverviewDto.js';
|
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
1
|
/* tslint:disable */
|
|
18
2
|
/* eslint-disable */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
3
|
+
export * from './AccessTokenCreateRequest.js';
|
|
4
|
+
export * from './AccessTokenDto.js';
|
|
5
|
+
export * from './AccessTokensResponse.js';
|
|
6
|
+
export * from './DefaultAccessTokenResponse.js';
|
|
7
|
+
export * from './Language.js';
|
|
8
|
+
export * from './PageUserDto.js';
|
|
9
|
+
export * from './Pageable.js';
|
|
10
|
+
export * from './PageableObject.js';
|
|
11
|
+
export * from './PersonalAccessTokenPrincipal.js';
|
|
12
|
+
export * from './Skill.js';
|
|
13
|
+
export * from './SortObject.js';
|
|
14
|
+
export * from './UpdateUserRequest.js';
|
|
15
|
+
export * from './UserDto.js';
|
|
16
|
+
export * from './UserOverviewDto.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,13 +11,8 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.querystring = querystring;
|
|
18
|
-
exports.mapValues = mapValues;
|
|
19
|
-
exports.canConsumeForm = canConsumeForm;
|
|
20
|
-
exports.BASE_PATH = "https://34.90.225.20.nip.io/user-service".replace(/\/+$/, "");
|
|
21
|
-
class Configuration {
|
|
14
|
+
export const BASE_PATH = "https://34.90.225.20.nip.io/user-service".replace(/\/+$/, "");
|
|
15
|
+
export class Configuration {
|
|
22
16
|
configuration;
|
|
23
17
|
constructor(configuration = {}) {
|
|
24
18
|
this.configuration = configuration;
|
|
@@ -27,7 +21,7 @@ class Configuration {
|
|
|
27
21
|
this.configuration = configuration;
|
|
28
22
|
}
|
|
29
23
|
get basePath() {
|
|
30
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
24
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
|
31
25
|
}
|
|
32
26
|
get fetchApi() {
|
|
33
27
|
return this.configuration.fetchApi;
|
|
@@ -65,16 +59,15 @@ class Configuration {
|
|
|
65
59
|
return this.configuration.credentials;
|
|
66
60
|
}
|
|
67
61
|
}
|
|
68
|
-
|
|
69
|
-
exports.DefaultConfig = new Configuration();
|
|
62
|
+
export const DefaultConfig = new Configuration();
|
|
70
63
|
/**
|
|
71
64
|
* This is the base class for all generated API classes.
|
|
72
65
|
*/
|
|
73
|
-
class BaseAPI {
|
|
66
|
+
export class BaseAPI {
|
|
74
67
|
configuration;
|
|
75
68
|
static jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
|
|
76
69
|
middleware;
|
|
77
|
-
constructor(configuration =
|
|
70
|
+
constructor(configuration = DefaultConfig) {
|
|
78
71
|
this.configuration = configuration;
|
|
79
72
|
this.middleware = configuration.middleware;
|
|
80
73
|
}
|
|
@@ -217,7 +210,6 @@ class BaseAPI {
|
|
|
217
210
|
return next;
|
|
218
211
|
}
|
|
219
212
|
}
|
|
220
|
-
exports.BaseAPI = BaseAPI;
|
|
221
213
|
;
|
|
222
214
|
function isBlob(value) {
|
|
223
215
|
return typeof Blob !== 'undefined' && value instanceof Blob;
|
|
@@ -225,7 +217,7 @@ function isBlob(value) {
|
|
|
225
217
|
function isFormData(value) {
|
|
226
218
|
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
227
219
|
}
|
|
228
|
-
class ResponseError extends Error {
|
|
220
|
+
export class ResponseError extends Error {
|
|
229
221
|
response;
|
|
230
222
|
name = "ResponseError";
|
|
231
223
|
constructor(response, msg) {
|
|
@@ -233,8 +225,7 @@ class ResponseError extends Error {
|
|
|
233
225
|
this.response = response;
|
|
234
226
|
}
|
|
235
227
|
}
|
|
236
|
-
|
|
237
|
-
class FetchError extends Error {
|
|
228
|
+
export class FetchError extends Error {
|
|
238
229
|
cause;
|
|
239
230
|
name = "FetchError";
|
|
240
231
|
constructor(cause, msg) {
|
|
@@ -242,8 +233,7 @@ class FetchError extends Error {
|
|
|
242
233
|
this.cause = cause;
|
|
243
234
|
}
|
|
244
235
|
}
|
|
245
|
-
|
|
246
|
-
class RequiredError extends Error {
|
|
236
|
+
export class RequiredError extends Error {
|
|
247
237
|
field;
|
|
248
238
|
name = "RequiredError";
|
|
249
239
|
constructor(field, msg) {
|
|
@@ -251,14 +241,13 @@ class RequiredError extends Error {
|
|
|
251
241
|
this.field = field;
|
|
252
242
|
}
|
|
253
243
|
}
|
|
254
|
-
|
|
255
|
-
exports.COLLECTION_FORMATS = {
|
|
244
|
+
export const COLLECTION_FORMATS = {
|
|
256
245
|
csv: ",",
|
|
257
246
|
ssv: " ",
|
|
258
247
|
tsv: "\t",
|
|
259
248
|
pipes: "|",
|
|
260
249
|
};
|
|
261
|
-
function querystring(params, prefix = '') {
|
|
250
|
+
export function querystring(params, prefix = '') {
|
|
262
251
|
return Object.keys(params)
|
|
263
252
|
.map(key => querystringSingleKey(key, params[key], prefix))
|
|
264
253
|
.filter(part => part.length > 0)
|
|
@@ -283,10 +272,10 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
283
272
|
}
|
|
284
273
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
285
274
|
}
|
|
286
|
-
function mapValues(data, fn) {
|
|
275
|
+
export function mapValues(data, fn) {
|
|
287
276
|
return Object.keys(data).reduce((acc, key) => ({ ...acc, [key]: fn(data[key]) }), {});
|
|
288
277
|
}
|
|
289
|
-
function canConsumeForm(consumes) {
|
|
278
|
+
export function canConsumeForm(consumes) {
|
|
290
279
|
for (const consume of consumes) {
|
|
291
280
|
if ('multipart/form-data' === consume.contentType) {
|
|
292
281
|
return true;
|
|
@@ -294,7 +283,7 @@ function canConsumeForm(consumes) {
|
|
|
294
283
|
}
|
|
295
284
|
return false;
|
|
296
285
|
}
|
|
297
|
-
class JSONApiResponse {
|
|
286
|
+
export class JSONApiResponse {
|
|
298
287
|
raw;
|
|
299
288
|
transformer;
|
|
300
289
|
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
@@ -305,8 +294,7 @@ class JSONApiResponse {
|
|
|
305
294
|
return this.transformer(await this.raw.json());
|
|
306
295
|
}
|
|
307
296
|
}
|
|
308
|
-
|
|
309
|
-
class VoidApiResponse {
|
|
297
|
+
export class VoidApiResponse {
|
|
310
298
|
raw;
|
|
311
299
|
constructor(raw) {
|
|
312
300
|
this.raw = raw;
|
|
@@ -315,8 +303,7 @@ class VoidApiResponse {
|
|
|
315
303
|
return undefined;
|
|
316
304
|
}
|
|
317
305
|
}
|
|
318
|
-
|
|
319
|
-
class BlobApiResponse {
|
|
306
|
+
export class BlobApiResponse {
|
|
320
307
|
raw;
|
|
321
308
|
constructor(raw) {
|
|
322
309
|
this.raw = raw;
|
|
@@ -326,8 +313,7 @@ class BlobApiResponse {
|
|
|
326
313
|
}
|
|
327
314
|
;
|
|
328
315
|
}
|
|
329
|
-
|
|
330
|
-
class TextApiResponse {
|
|
316
|
+
export class TextApiResponse {
|
|
331
317
|
raw;
|
|
332
318
|
constructor(raw) {
|
|
333
319
|
this.raw = raw;
|
|
@@ -337,4 +323,3 @@ class TextApiResponse {
|
|
|
337
323
|
}
|
|
338
324
|
;
|
|
339
325
|
}
|
|
340
|
-
exports.TextApiResponse = TextApiResponse;
|
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
8
|
-
const node_path_1 = __importDefault(require("node:path"));
|
|
9
|
-
const zip_1 = require("../../lib/up/zip");
|
|
10
|
-
const command_1 = require("../../model/command");
|
|
11
|
-
class Compress extends command_1.AbstractCommand {
|
|
1
|
+
import { ux } from '@oclif/core';
|
|
2
|
+
import fs from 'fs-extra';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { zipProjectFolder } from '../../lib/up/zip.js';
|
|
5
|
+
import { AbstractCommand } from '../../model/command.js';
|
|
6
|
+
export default class Compress extends AbstractCommand {
|
|
12
7
|
static description = `Compresses the current project and creates a ZIP file. Use the '.dockerignore' file to exclude files and directories from the ZIP file.`;
|
|
13
8
|
static examples = [
|
|
14
9
|
'$ qhubctl compress',
|
|
15
10
|
];
|
|
16
11
|
async run() {
|
|
17
|
-
|
|
12
|
+
ux.action.start('Compressing project');
|
|
18
13
|
const targetDirectory = process.cwd();
|
|
19
14
|
const targetFilename = 'service.zip';
|
|
20
|
-
const targetFilePath =
|
|
15
|
+
const targetFilePath = path.join(targetDirectory, '/', targetFilename);
|
|
21
16
|
// remove the file if it already exists
|
|
22
|
-
if (
|
|
23
|
-
|
|
17
|
+
if (fs.existsSync(targetFilePath)) {
|
|
18
|
+
fs.unlinkSync(targetFilePath);
|
|
24
19
|
}
|
|
25
|
-
await
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
await zipProjectFolder('./', targetDirectory, targetFilename);
|
|
21
|
+
ux.action.stop('Succeeded.');
|
|
22
|
+
ux.stdout(`\nFile created at: ${targetFilePath}`);
|
|
28
23
|
this.exit();
|
|
29
24
|
}
|
|
30
25
|
}
|
|
31
|
-
exports.default = Compress;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AuthenticatedCommand } from '../../model/command';
|
|
2
|
-
import { HubPlatformClient } from "@quantum-hub/qhub-api/
|
|
1
|
+
import { AuthenticatedCommand } from '../../model/command.js';
|
|
2
|
+
import { HubPlatformClient } from "@quantum-hub/qhub-api/platform";
|
|
3
3
|
export default class DatapoolUpload extends AuthenticatedCommand {
|
|
4
4
|
static readonly description = "Upload files to a data pool";
|
|
5
5
|
static readonly examples: string[];
|
|
6
6
|
static readonly flags: {
|
|
7
|
-
file: import("@oclif/core/
|
|
8
|
-
'datapool-id': import("@oclif/core/
|
|
7
|
+
file: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
'datapool-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
hubPlatformClient: HubPlatformClient;
|
|
11
11
|
init(): Promise<void>;
|