@scaleway/sdk-test 2.9.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 };
|
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,7 +33,7 @@
|
|
|
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
39
|
"@repo/configs": "^0.1.1",
|