@push.rocks/smartdb 2.12.0 → 2.12.1
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.
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartdb',
|
|
6
|
-
version: '2.12.
|
|
6
|
+
version: '2.12.1',
|
|
7
7
|
description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
|
|
@@ -39,7 +39,13 @@ export interface ISmartDbDatabaseTenantInput {
|
|
|
39
39
|
}
|
|
40
40
|
export interface ISmartDbDeleteDatabaseTenantInput {
|
|
41
41
|
databaseName: string;
|
|
42
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Exact tenant user to revoke. For a fenced deletion this identity is
|
|
44
|
+
* included in the durable mutation and is removed idempotently after the
|
|
45
|
+
* database deletion is durable. Omitting it from a fenced deletion
|
|
46
|
+
* preserves auth users; an unfenced omission retains the legacy behavior
|
|
47
|
+
* of deleting every user for the database.
|
|
48
|
+
*/
|
|
43
49
|
username?: string;
|
|
44
50
|
fence?: ISmartDbResourceFence;
|
|
45
51
|
}
|
|
@@ -56,9 +62,18 @@ export interface ISmartDbDatabaseTenantDescriptor {
|
|
|
56
62
|
}
|
|
57
63
|
export interface ISmartDbDeleteDatabaseTenantResult {
|
|
58
64
|
databaseName: string;
|
|
65
|
+
/**
|
|
66
|
+
* Users removed during the completing attempt. This can be zero after
|
|
67
|
+
* crash recovery when the exact user was durably removed by the prior
|
|
68
|
+
* attempt.
|
|
69
|
+
*/
|
|
59
70
|
deletedUsers: number;
|
|
60
71
|
databaseDropped: boolean;
|
|
61
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Present for fenced calls. False means the bound exact username is now
|
|
74
|
+
* absent; true means no username was supplied and auth users were preserved.
|
|
75
|
+
*/
|
|
76
|
+
usersPreserved?: boolean;
|
|
62
77
|
resourceFence?: ISmartDbResourceFenceReceipt;
|
|
63
78
|
}
|
|
64
79
|
export interface ISmartDbDatabaseExportCollection {
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -90,7 +90,13 @@ export interface ISmartDbDatabaseTenantInput {
|
|
|
90
90
|
|
|
91
91
|
export interface ISmartDbDeleteDatabaseTenantInput {
|
|
92
92
|
databaseName: string;
|
|
93
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Exact tenant user to revoke. For a fenced deletion this identity is
|
|
95
|
+
* included in the durable mutation and is removed idempotently after the
|
|
96
|
+
* database deletion is durable. Omitting it from a fenced deletion
|
|
97
|
+
* preserves auth users; an unfenced omission retains the legacy behavior
|
|
98
|
+
* of deleting every user for the database.
|
|
99
|
+
*/
|
|
94
100
|
username?: string;
|
|
95
101
|
fence?: ISmartDbResourceFence;
|
|
96
102
|
}
|
|
@@ -110,9 +116,18 @@ export interface ISmartDbDatabaseTenantDescriptor {
|
|
|
110
116
|
|
|
111
117
|
export interface ISmartDbDeleteDatabaseTenantResult {
|
|
112
118
|
databaseName: string;
|
|
119
|
+
/**
|
|
120
|
+
* Users removed during the completing attempt. This can be zero after
|
|
121
|
+
* crash recovery when the exact user was durably removed by the prior
|
|
122
|
+
* attempt.
|
|
123
|
+
*/
|
|
113
124
|
deletedUsers: number;
|
|
114
125
|
databaseDropped: boolean;
|
|
115
|
-
|
|
126
|
+
/**
|
|
127
|
+
* Present for fenced calls. False means the bound exact username is now
|
|
128
|
+
* absent; true means no username was supplied and auth users were preserved.
|
|
129
|
+
*/
|
|
130
|
+
usersPreserved?: boolean;
|
|
116
131
|
resourceFence?: ISmartDbResourceFenceReceipt;
|
|
117
132
|
}
|
|
118
133
|
|