@scaleway/sdk-test 2.8.0 → 2.10.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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { EyeColors, HumanStatus, ListHumansRequestOrderBy } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link EyeColors}. */
|
|
3
|
+
export declare const EYE_COLORSES: EyeColors[];
|
|
4
|
+
/** Lists all values of the enum {@link HumanStatus}. */
|
|
5
|
+
export declare const HUMAN_STATUSES: HumanStatus[];
|
|
6
|
+
/** Lists all values of the enum {@link ListHumansRequestOrderBy}. */
|
|
7
|
+
export declare const LIST_HUMANS_REQUEST_ORDER_BIES: ListHumansRequestOrderBy[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/v1/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link EyeColors}. */
|
|
3
|
+
const EYE_COLORSES = [
|
|
4
|
+
"unknown",
|
|
5
|
+
"amber",
|
|
6
|
+
"blue",
|
|
7
|
+
"brown",
|
|
8
|
+
"gray",
|
|
9
|
+
"green",
|
|
10
|
+
"hazel",
|
|
11
|
+
"red",
|
|
12
|
+
"violet"
|
|
13
|
+
];
|
|
14
|
+
/** Lists all values of the enum {@link HumanStatus}. */
|
|
15
|
+
const HUMAN_STATUSES = [
|
|
16
|
+
"unknown",
|
|
17
|
+
"stopped",
|
|
18
|
+
"running"
|
|
19
|
+
];
|
|
20
|
+
/** Lists all values of the enum {@link ListHumansRequestOrderBy}. */
|
|
21
|
+
const LIST_HUMANS_REQUEST_ORDER_BIES = [
|
|
22
|
+
"created_at_asc",
|
|
23
|
+
"created_at_desc",
|
|
24
|
+
"updated_at_asc",
|
|
25
|
+
"updated_at_desc",
|
|
26
|
+
"height_asc",
|
|
27
|
+
"height_desc"
|
|
28
|
+
];
|
|
29
|
+
//#endregion
|
|
30
|
+
export { EYE_COLORSES, HUMAN_STATUSES, LIST_HUMANS_REQUEST_ORDER_BIES };
|
package/dist/v1/index.gen.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { API, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
|
+
export * from './constants.gen.js';
|
|
3
4
|
export * from './marshalling.gen.js';
|
|
4
5
|
export type { CreateHumanRequest, DeleteHumanRequest, EyeColors, GetHumanRequest, Human, HumanStatus, ListHumansRequest, ListHumansRequestOrderBy, ListHumansResponse, RegisterRequest, RegisterResponse, RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest, } from './types.gen.js';
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -2,10 +2,14 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { HUMAN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalCreateHumanRequest, marshalRegisterRequest, marshalUpdateHumanRequest, unmarshalHuman, unmarshalListHumansResponse, unmarshalRegisterResponse } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
|
+
import { EYE_COLORSES, HUMAN_STATUSES, LIST_HUMANS_REQUEST_ORDER_BIES } from "./constants.gen.js";
|
|
5
6
|
//#region src/v1/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
9
|
+
EYE_COLORSES: () => EYE_COLORSES,
|
|
10
|
+
HUMAN_STATUSES: () => HUMAN_STATUSES,
|
|
8
11
|
HUMAN_TRANSIENT_STATUSES: () => HUMAN_TRANSIENT_STATUSES,
|
|
12
|
+
LIST_HUMANS_REQUEST_ORDER_BIES: () => LIST_HUMANS_REQUEST_ORDER_BIES,
|
|
9
13
|
marshalCreateHumanRequest: () => marshalCreateHumanRequest,
|
|
10
14
|
marshalRegisterRequest: () => marshalRegisterRequest,
|
|
11
15
|
marshalUpdateHumanRequest: () => marshalUpdateHumanRequest,
|
|
@@ -14,4 +18,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
14
18
|
unmarshalRegisterResponse: () => unmarshalRegisterResponse
|
|
15
19
|
});
|
|
16
20
|
//#endregion
|
|
17
|
-
export { API, HUMAN_TRANSIENT_STATUSES, index_gen_exports, marshalCreateHumanRequest, marshalRegisterRequest, marshalUpdateHumanRequest, unmarshalHuman, unmarshalListHumansResponse, unmarshalRegisterResponse };
|
|
21
|
+
export { API, EYE_COLORSES, HUMAN_STATUSES, HUMAN_TRANSIENT_STATUSES, LIST_HUMANS_REQUEST_ORDER_BIES, index_gen_exports, marshalCreateHumanRequest, marshalRegisterRequest, marshalUpdateHumanRequest, unmarshalHuman, unmarshalListHumansResponse, unmarshalRegisterResponse };
|
|
@@ -9,10 +9,12 @@ export declare const queriesMetadata: {
|
|
|
9
9
|
readonly protoName: 'ListHumans';
|
|
10
10
|
readonly paramsType: 'ListHumansRequest';
|
|
11
11
|
readonly returnType: 'ListHumansResponse';
|
|
12
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-test/v1';
|
|
12
13
|
readonly isList: true;
|
|
13
14
|
readonly paginationType: 'offset';
|
|
14
15
|
readonly pageParamKey: 'page';
|
|
15
16
|
readonly listItemType: 'Human';
|
|
17
|
+
readonly listItemTypeNamespace: '@scaleway-internal/sdk-test/v1';
|
|
16
18
|
readonly isPrivate: false;
|
|
17
19
|
readonly description: '"';
|
|
18
20
|
}, {
|
|
@@ -20,6 +22,7 @@ export declare const queriesMetadata: {
|
|
|
20
22
|
readonly protoName: 'GetHuman';
|
|
21
23
|
readonly paramsType: 'GetHumanRequest';
|
|
22
24
|
readonly returnType: 'Human';
|
|
25
|
+
readonly returnTypeNamespace: '@scaleway-internal/sdk-test/v1';
|
|
23
26
|
readonly isList: false;
|
|
24
27
|
readonly paginationType: 'none';
|
|
25
28
|
readonly isPrivate: false;
|
package/dist/v1/metadata.gen.js
CHANGED
|
@@ -10,10 +10,12 @@ const queriesMetadata = {
|
|
|
10
10
|
protoName: "ListHumans",
|
|
11
11
|
paramsType: "ListHumansRequest",
|
|
12
12
|
returnType: "ListHumansResponse",
|
|
13
|
+
returnTypeNamespace: "@scaleway-internal/sdk-test/v1",
|
|
13
14
|
isList: true,
|
|
14
15
|
paginationType: "offset",
|
|
15
16
|
pageParamKey: "page",
|
|
16
17
|
listItemType: "Human",
|
|
18
|
+
listItemTypeNamespace: "@scaleway-internal/sdk-test/v1",
|
|
17
19
|
isPrivate: false,
|
|
18
20
|
description: "\""
|
|
19
21
|
}, {
|
|
@@ -21,6 +23,7 @@ const queriesMetadata = {
|
|
|
21
23
|
protoName: "GetHuman",
|
|
22
24
|
paramsType: "GetHumanRequest",
|
|
23
25
|
returnType: "Human",
|
|
26
|
+
returnTypeNamespace: "@scaleway-internal/sdk-test/v1",
|
|
24
27
|
isList: false,
|
|
25
28
|
paginationType: "none",
|
|
26
29
|
isPrivate: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-test",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Scaleway SDK test",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.
|
|
36
|
+
"@scaleway/sdk-std": "2.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
39
|
+
"@repo/configs": "^0.1.1",
|
|
40
|
+
"@scaleway/sdk-client": "^2.6.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@scaleway/sdk-client": "^2.6.0"
|