@scaleway/sdk-mongodb 2.3.0 → 2.4.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +3 -6
- package/dist/v1/api.gen.js +336 -506
- package/dist/v1/content.gen.js +12 -13
- package/dist/v1/index.gen.d.ts +1 -1
- package/dist/v1/index.gen.js +33 -31
- package/dist/v1/marshalling.gen.js +226 -368
- package/dist/v1/validation-rules.gen.js +162 -190
- package/dist/v1alpha1/api.gen.js +283 -419
- package/dist/v1alpha1/content.gen.js +11 -12
- package/dist/v1alpha1/index.gen.d.ts +1 -1
- package/dist/v1alpha1/index.gen.js +31 -29
- package/dist/v1alpha1/marshalling.gen.js +213 -334
- package/dist/v1alpha1/validation-rules.gen.js +135 -157
- package/package.json +4 -4
|
@@ -1,16 +1,15 @@
|
|
|
1
|
+
/** Lists transient statutes of the enum {@link InstanceStatus}. */
|
|
1
2
|
const INSTANCE_TRANSIENT_STATUSES = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"provisioning",
|
|
4
|
+
"configuring",
|
|
5
|
+
"deleting",
|
|
6
|
+
"initializing",
|
|
7
|
+
"snapshotting"
|
|
7
8
|
];
|
|
9
|
+
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
8
10
|
const SNAPSHOT_TRANSIENT_STATUSES = [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
"creating",
|
|
12
|
+
"restoring",
|
|
13
|
+
"deleting"
|
|
12
14
|
];
|
|
13
|
-
export {
|
|
14
|
-
INSTANCE_TRANSIENT_STATUSES,
|
|
15
|
-
SNAPSHOT_TRANSIENT_STATUSES
|
|
16
|
-
};
|
|
15
|
+
export { INSTANCE_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { API } from './api.gen.js';
|
|
1
|
+
export { API, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
3
|
export * from './marshalling.gen.js';
|
|
4
4
|
export type { CreateEndpointRequest, CreateInstanceRequest, CreateInstanceRequestVolumeDetails, CreateSnapshotRequest, CreateUserRequest, DeleteEndpointRequest, DeleteInstanceRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, EndpointPrivateNetworkDetails, EndpointPublicDetails, EndpointSpec, EndpointSpecPrivateNetworkDetails, EndpointSpecPublicDetails, GetInstanceCertificateRequest, GetInstanceRequest, GetSnapshotRequest, Instance, InstanceSetting, InstanceSnapshotSchedule, InstanceStatus, ListInstancesRequest, ListInstancesRequestOrderBy, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListSnapshotsRequest, ListSnapshotsRequestOrderBy, ListSnapshotsResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, ListVersionsRequest, ListVersionsResponse, NodeType, NodeTypeStock, NodeTypeVolumeType, RestoreSnapshotRequest, RestoreSnapshotRequestVolumeDetails, Setting, SettingPropertyType, SetUserRoleRequest, Snapshot, SnapshotStatus, SnapshotVolumeType, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User, UserRole, UserRoleRole, Version, Volume, VolumeType, } from './types.gen.js';
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { INSTANCE_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalCreateEndpointRequest, marshalCreateInstanceRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalRestoreSnapshotRequest, marshalSetUserRoleRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalEndpoint, unmarshalInstance, unmarshalInstanceSetting, unmarshalListInstancesResponse, unmarshalListNodeTypesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalListVersionsResponse, unmarshalSnapshot, unmarshalUser, unmarshalVolume } from "./marshalling.gen.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
4
|
+
import { API } from "./api.gen.js";
|
|
5
|
+
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
API: () => API,
|
|
8
|
+
INSTANCE_TRANSIENT_STATUSES: () => INSTANCE_TRANSIENT_STATUSES,
|
|
9
|
+
SNAPSHOT_TRANSIENT_STATUSES: () => SNAPSHOT_TRANSIENT_STATUSES,
|
|
10
|
+
ValidationRules: () => validation_rules_gen_exports,
|
|
11
|
+
marshalCreateEndpointRequest: () => marshalCreateEndpointRequest,
|
|
12
|
+
marshalCreateInstanceRequest: () => marshalCreateInstanceRequest,
|
|
13
|
+
marshalCreateSnapshotRequest: () => marshalCreateSnapshotRequest,
|
|
14
|
+
marshalCreateUserRequest: () => marshalCreateUserRequest,
|
|
15
|
+
marshalRestoreSnapshotRequest: () => marshalRestoreSnapshotRequest,
|
|
16
|
+
marshalSetUserRoleRequest: () => marshalSetUserRoleRequest,
|
|
17
|
+
marshalUpdateInstanceRequest: () => marshalUpdateInstanceRequest,
|
|
18
|
+
marshalUpdateSnapshotRequest: () => marshalUpdateSnapshotRequest,
|
|
19
|
+
marshalUpdateUserRequest: () => marshalUpdateUserRequest,
|
|
20
|
+
marshalUpgradeInstanceRequest: () => marshalUpgradeInstanceRequest,
|
|
21
|
+
unmarshalEndpoint: () => unmarshalEndpoint,
|
|
22
|
+
unmarshalInstance: () => unmarshalInstance,
|
|
23
|
+
unmarshalInstanceSetting: () => unmarshalInstanceSetting,
|
|
24
|
+
unmarshalListInstancesResponse: () => unmarshalListInstancesResponse,
|
|
25
|
+
unmarshalListNodeTypesResponse: () => unmarshalListNodeTypesResponse,
|
|
26
|
+
unmarshalListSnapshotsResponse: () => unmarshalListSnapshotsResponse,
|
|
27
|
+
unmarshalListUsersResponse: () => unmarshalListUsersResponse,
|
|
28
|
+
unmarshalListVersionsResponse: () => unmarshalListVersionsResponse,
|
|
29
|
+
unmarshalSnapshot: () => unmarshalSnapshot,
|
|
30
|
+
unmarshalUser: () => unmarshalUser,
|
|
31
|
+
unmarshalVolume: () => unmarshalVolume
|
|
32
|
+
});
|
|
33
|
+
export { index_gen_exports };
|