@xuda.io/drive_module 1.1.1474 → 1.1.1476
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/index.mjs +744 -8
- package/index_ms.mjs +112 -0
- package/index_msa.mjs +222 -110
- package/index_msaa.mjs +350 -0
- package/package.json +1 -1
package/index_msaa.mjs
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
// =====================================================
|
|
2
|
+
// Queue wrapper – generated from index.mjs
|
|
3
|
+
// Queue target : drive_module
|
|
4
|
+
// =====================================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
import path from 'node:path';
|
|
8
|
+
|
|
9
|
+
const { MessageBroker } = await import(path.join(process.env.XUDA_HOME, 'common', 'ms_broker.mjs'));
|
|
10
|
+
|
|
11
|
+
const broker = new MessageBroker();
|
|
12
|
+
|
|
13
|
+
await broker.init({
|
|
14
|
+
queueName: 'drive_module',
|
|
15
|
+
module_in: global.module_in
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export const get_drive_files = function (...args) {
|
|
21
|
+
broker.send_to_queue_async("get_drive_files", ...args);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const get_drive_file_info = function (...args) {
|
|
25
|
+
broker.send_to_queue_async("get_drive_file_info", ...args);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const delete_drive_files = function (...args) {
|
|
29
|
+
broker.send_to_queue_async("delete_drive_files", ...args);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const update_drive_file = function (...args) {
|
|
33
|
+
broker.send_to_queue_async("update_drive_file", ...args);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const create_drive_folder = function (...args) {
|
|
37
|
+
broker.send_to_queue_async("create_drive_folder", ...args);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const rename_drive_file = function (...args) {
|
|
41
|
+
broker.send_to_queue_async("rename_drive_file", ...args);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const rename_drive_folder = function (...args) {
|
|
45
|
+
broker.send_to_queue_async("rename_drive_folder", ...args);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const update_drive_file_sharing_mode = function (...args) {
|
|
49
|
+
broker.send_to_queue_async("update_drive_file_sharing_mode", ...args);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const extract_drive_file = function (...args) {
|
|
53
|
+
broker.send_to_queue_async("extract_drive_file", ...args);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export const delete_file_bulk = function (...args) {
|
|
57
|
+
broker.send_to_queue_async("delete_file_bulk", ...args);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const upload_drive_file = function (...args) {
|
|
61
|
+
broker.send_to_queue_async("upload_drive_file", ...args);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export const check_drive_files = function (...args) {
|
|
65
|
+
broker.send_to_queue_async("check_drive_files", ...args);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export const check_drive_file = function (...args) {
|
|
69
|
+
broker.send_to_queue_async("check_drive_file", ...args);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const run_drive_pending_ocr = function (...args) {
|
|
73
|
+
broker.send_to_queue_async("run_drive_pending_ocr", ...args);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export const get_drive_size = function (...args) {
|
|
77
|
+
broker.send_to_queue_async("get_drive_size", ...args);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const copy_file_to_another_bucket = function (...args) {
|
|
81
|
+
broker.send_to_queue_async("copy_file_to_another_bucket", ...args);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const delete_file_from_bucket = function (...args) {
|
|
85
|
+
broker.send_to_queue_async("delete_file_from_bucket", ...args);
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export const update_drive_file_tags = function (...args) {
|
|
89
|
+
broker.send_to_queue_async("update_drive_file_tags", ...args);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const compile_javascript_program_in_studio_drive = function (...args) {
|
|
93
|
+
broker.send_to_queue_async("compile_javascript_program_in_studio_drive", ...args);
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const update_drive_addons = function (...args) {
|
|
97
|
+
broker.send_to_queue_async("update_drive_addons", ...args);
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export const list_site_files = function (...args) {
|
|
101
|
+
broker.send_to_queue_async("list_site_files", ...args);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export const read_site_file = function (...args) {
|
|
105
|
+
broker.send_to_queue_async("read_site_file", ...args);
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export const write_site_file = function (...args) {
|
|
109
|
+
broker.send_to_queue_async("write_site_file", ...args);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export const ingest_static_site_source = function (...args) {
|
|
113
|
+
broker.send_to_queue_async("ingest_static_site_source", ...args);
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export const read_static_site_source = function (...args) {
|
|
117
|
+
broker.send_to_queue_async("read_static_site_source", ...args);
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const get_static_site_dir = function (...args) {
|
|
121
|
+
broker.send_to_queue_async("get_static_site_dir", ...args);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export const list_static_site_folders = function (...args) {
|
|
125
|
+
broker.send_to_queue_async("list_static_site_folders", ...args);
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export const cleanup_static_site_drafts = function (...args) {
|
|
129
|
+
broker.send_to_queue_async("cleanup_static_site_drafts", ...args);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export const get_static_site_preview_url = function (...args) {
|
|
133
|
+
broker.send_to_queue_async("get_static_site_preview_url", ...args);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export const restore_site_fs_from_manifest = function (...args) {
|
|
137
|
+
broker.send_to_queue_async("restore_site_fs_from_manifest", ...args);
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
export const read_user_drive_folder = function (...args) {
|
|
141
|
+
broker.send_to_queue_async("read_user_drive_folder", ...args);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export const put_site_files = function (...args) {
|
|
145
|
+
broker.send_to_queue_async("put_site_files", ...args);
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export const delete_site_files = function (...args) {
|
|
149
|
+
broker.send_to_queue_async("delete_site_files", ...args);
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export const get_drive_files_workspace = function (...args) {
|
|
153
|
+
broker.send_to_queue_async("get_drive_files_workspace", ...args);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export const get_drive_files_user = function (...args) {
|
|
157
|
+
broker.send_to_queue_async("get_drive_files_user", ...args);
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
export const get_drive_file_info_workspace = function (...args) {
|
|
161
|
+
broker.send_to_queue_async("get_drive_file_info_workspace", ...args);
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export const get_drive_file_info_user = function (...args) {
|
|
165
|
+
broker.send_to_queue_async("get_drive_file_info_user", ...args);
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export const delete_drive_files_workspace = function (...args) {
|
|
169
|
+
broker.send_to_queue_async("delete_drive_files_workspace", ...args);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export const delete_drive_files_user = function (...args) {
|
|
173
|
+
broker.send_to_queue_async("delete_drive_files_user", ...args);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export const extract_drive_file_workspace = function (...args) {
|
|
177
|
+
broker.send_to_queue_async("extract_drive_file_workspace", ...args);
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export const extract_drive_file_user = function (...args) {
|
|
181
|
+
broker.send_to_queue_async("extract_drive_file_user", ...args);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export const upload_drive_file_workspace = function (...args) {
|
|
185
|
+
broker.send_to_queue_async("upload_drive_file_workspace", ...args);
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export const upload_drive_file_user = function (...args) {
|
|
189
|
+
broker.send_to_queue_async("upload_drive_file_user", ...args);
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export const update_drive_file_workspace = function (...args) {
|
|
193
|
+
broker.send_to_queue_async("update_drive_file_workspace", ...args);
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export const update_drive_file_user = function (...args) {
|
|
197
|
+
broker.send_to_queue_async("update_drive_file_user", ...args);
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
export const create_drive_folder_workspace = function (...args) {
|
|
201
|
+
broker.send_to_queue_async("create_drive_folder_workspace", ...args);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export const create_drive_folder_user = function (...args) {
|
|
205
|
+
broker.send_to_queue_async("create_drive_folder_user", ...args);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export const rename_drive_file_workspace = function (...args) {
|
|
209
|
+
broker.send_to_queue_async("rename_drive_file_workspace", ...args);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export const rename_drive_file_user = function (...args) {
|
|
213
|
+
broker.send_to_queue_async("rename_drive_file_user", ...args);
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export const rename_drive_folder_workspace = function (...args) {
|
|
217
|
+
broker.send_to_queue_async("rename_drive_folder_workspace", ...args);
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
export const rename_drive_folder_user = function (...args) {
|
|
221
|
+
broker.send_to_queue_async("rename_drive_folder_user", ...args);
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
export const update_drive_file_sharing_mode_workspace = function (...args) {
|
|
225
|
+
broker.send_to_queue_async("update_drive_file_sharing_mode_workspace", ...args);
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export const update_drive_file_sharing_mode_user = function (...args) {
|
|
229
|
+
broker.send_to_queue_async("update_drive_file_sharing_mode_user", ...args);
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export const delete_file_bulk_workspace = function (...args) {
|
|
233
|
+
broker.send_to_queue_async("delete_file_bulk_workspace", ...args);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export const delete_file_bulk_user = function (...args) {
|
|
237
|
+
broker.send_to_queue_async("delete_file_bulk_user", ...args);
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export const check_drive_file_workspace = function (...args) {
|
|
241
|
+
broker.send_to_queue_async("check_drive_file_workspace", ...args);
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export const check_drive_files_workspace = function (...args) {
|
|
245
|
+
broker.send_to_queue_async("check_drive_files_workspace", ...args);
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
export const check_drive_file_user = function (...args) {
|
|
249
|
+
broker.send_to_queue_async("check_drive_file_user", ...args);
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export const check_drive_files_user = function (...args) {
|
|
253
|
+
broker.send_to_queue_async("check_drive_files_user", ...args);
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
export const update_drive_file_tags_workspace = function (...args) {
|
|
257
|
+
broker.send_to_queue_async("update_drive_file_tags_workspace", ...args);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
export const update_drive_file_tags_user = function (...args) {
|
|
261
|
+
broker.send_to_queue_async("update_drive_file_tags_user", ...args);
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
export const update_drive_addons_workspace = function (...args) {
|
|
265
|
+
broker.send_to_queue_async("update_drive_addons_workspace", ...args);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export const update_drive_addons_user = function (...args) {
|
|
269
|
+
broker.send_to_queue_async("update_drive_addons_user", ...args);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export const getExtensionFromUrl = function (...args) {
|
|
273
|
+
broker.send_to_queue_async("getExtensionFromUrl", ...args);
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export const get_user_drive_file = function (...args) {
|
|
277
|
+
broker.send_to_queue_async("get_user_drive_file", ...args);
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
export const save_user_drive_file = function (...args) {
|
|
281
|
+
broker.send_to_queue_async("save_user_drive_file", ...args);
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
export const find_contact_query = function (...args) {
|
|
285
|
+
broker.send_to_queue_async("find_contact_query", ...args);
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
export const file_upload_validator = function (...args) {
|
|
289
|
+
broker.send_to_queue_async("file_upload_validator", ...args);
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export const get_drive_files_studio = function (...args) {
|
|
293
|
+
broker.send_to_queue_async("get_drive_files_studio", ...args);
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
export const get_drive_file_info_studio = function (...args) {
|
|
297
|
+
broker.send_to_queue_async("get_drive_file_info_studio", ...args);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
export const delete_drive_files_studio = function (...args) {
|
|
301
|
+
broker.send_to_queue_async("delete_drive_files_studio", ...args);
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export const extract_drive_file_studio = function (...args) {
|
|
305
|
+
broker.send_to_queue_async("extract_drive_file_studio", ...args);
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
export const upload_drive_file_studio = function (...args) {
|
|
309
|
+
broker.send_to_queue_async("upload_drive_file_studio", ...args);
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
export const update_drive_file_studio = function (...args) {
|
|
313
|
+
broker.send_to_queue_async("update_drive_file_studio", ...args);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
export const create_drive_folder_studio = function (...args) {
|
|
317
|
+
broker.send_to_queue_async("create_drive_folder_studio", ...args);
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
export const rename_drive_file_studio = function (...args) {
|
|
321
|
+
broker.send_to_queue_async("rename_drive_file_studio", ...args);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
export const rename_drive_folder_studio = function (...args) {
|
|
325
|
+
broker.send_to_queue_async("rename_drive_folder_studio", ...args);
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
export const update_drive_file_sharing_mode_studio = function (...args) {
|
|
329
|
+
broker.send_to_queue_async("update_drive_file_sharing_mode_studio", ...args);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
export const delete_file_bulk_studio = function (...args) {
|
|
333
|
+
broker.send_to_queue_async("delete_file_bulk_studio", ...args);
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
export const check_drive_file_studio = function (...args) {
|
|
337
|
+
broker.send_to_queue_async("check_drive_file_studio", ...args);
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
export const check_drive_files_studio = function (...args) {
|
|
341
|
+
broker.send_to_queue_async("check_drive_files_studio", ...args);
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
export const update_drive_file_tags_studio = function (...args) {
|
|
345
|
+
broker.send_to_queue_async("update_drive_file_tags_studio", ...args);
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export const update_drive_addons_studio = function (...args) {
|
|
349
|
+
broker.send_to_queue_async("update_drive_addons_studio", ...args);
|
|
350
|
+
};
|