@dbx-tools/databricks 0.6.182 → 0.6.185
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 +30 -17
- package/index.ts +1 -1
- package/lib/index.js +1710 -13
- package/package.json +10 -10
- package/src/_bindings-ffi.ts +463 -0
- package/src/_bindings.ts +2402 -3
- package/src/bindings.ts +1 -0
package/package.json
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@databricks/appkit": "^0.60.0",
|
|
11
|
-
"@dbx-tools/appkit": "0.6.
|
|
12
|
-
"@dbx-tools/core": "0.6.
|
|
13
|
-
"@dbx-tools/shared-core": "0.6.
|
|
14
|
-
"@dbx-tools/shared-fs": "0.6.
|
|
11
|
+
"@dbx-tools/appkit": "0.6.185",
|
|
12
|
+
"@dbx-tools/core": "0.6.185",
|
|
13
|
+
"@dbx-tools/shared-core": "0.6.185",
|
|
14
|
+
"@dbx-tools/shared-fs": "0.6.185",
|
|
15
15
|
"@ubjs/core": "0.31.0-5",
|
|
16
16
|
"@ubjs/node": "0.31.0-5"
|
|
17
17
|
},
|
|
18
18
|
"main": "./lib/index.js",
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
|
-
"version": "0.6.
|
|
20
|
+
"version": "0.6.185",
|
|
21
21
|
"types": "./index.ts",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"lib"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@dbx-tools/databricks-linux-x64-gnu": "0.6.
|
|
37
|
-
"@dbx-tools/databricks-linux-arm64-gnu": "0.6.
|
|
38
|
-
"@dbx-tools/databricks-darwin-x64": "0.6.
|
|
39
|
-
"@dbx-tools/databricks-darwin-arm64": "0.6.
|
|
40
|
-
"@dbx-tools/databricks-win32-x64-msvc": "0.6.
|
|
36
|
+
"@dbx-tools/databricks-linux-x64-gnu": "0.6.185",
|
|
37
|
+
"@dbx-tools/databricks-linux-arm64-gnu": "0.6.185",
|
|
38
|
+
"@dbx-tools/databricks-darwin-x64": "0.6.185",
|
|
39
|
+
"@dbx-tools/databricks-darwin-arm64": "0.6.185",
|
|
40
|
+
"@dbx-tools/databricks-win32-x64-msvc": "0.6.185"
|
|
41
41
|
},
|
|
42
42
|
"dbxToolsConfig": {
|
|
43
43
|
"uniffi": true,
|
package/src/_bindings-ffi.ts
CHANGED
|
@@ -265,6 +265,91 @@ const DEFINITIONS = {
|
|
|
265
265
|
ret: FfiType.Void,
|
|
266
266
|
hasRustCallStatus: false,
|
|
267
267
|
},
|
|
268
|
+
"uniffi_dbx_tools_databricks_fn_clone_persistentauth": {
|
|
269
|
+
args: [FfiType.Handle],
|
|
270
|
+
ret: FfiType.Handle,
|
|
271
|
+
hasRustCallStatus: true,
|
|
272
|
+
},
|
|
273
|
+
"uniffi_dbx_tools_databricks_fn_free_persistentauth": {
|
|
274
|
+
args: [FfiType.Handle],
|
|
275
|
+
ret: FfiType.Void,
|
|
276
|
+
hasRustCallStatus: true,
|
|
277
|
+
},
|
|
278
|
+
"uniffi_dbx_tools_databricks_fn_clone_providerauth": {
|
|
279
|
+
args: [FfiType.Handle],
|
|
280
|
+
ret: FfiType.Handle,
|
|
281
|
+
hasRustCallStatus: true,
|
|
282
|
+
},
|
|
283
|
+
"uniffi_dbx_tools_databricks_fn_free_providerauth": {
|
|
284
|
+
args: [FfiType.Handle],
|
|
285
|
+
ret: FfiType.Void,
|
|
286
|
+
hasRustCallStatus: true,
|
|
287
|
+
},
|
|
288
|
+
"uniffi_dbx_tools_databricks_fn_clone_storageadapter": {
|
|
289
|
+
args: [FfiType.Handle],
|
|
290
|
+
ret: FfiType.Handle,
|
|
291
|
+
hasRustCallStatus: true,
|
|
292
|
+
},
|
|
293
|
+
"uniffi_dbx_tools_databricks_fn_free_storageadapter": {
|
|
294
|
+
args: [FfiType.Handle],
|
|
295
|
+
ret: FfiType.Void,
|
|
296
|
+
hasRustCallStatus: true,
|
|
297
|
+
},
|
|
298
|
+
"uniffi_dbx_tools_databricks_fn_clone_storagehandle": {
|
|
299
|
+
args: [FfiType.Handle],
|
|
300
|
+
ret: FfiType.Handle,
|
|
301
|
+
hasRustCallStatus: true,
|
|
302
|
+
},
|
|
303
|
+
"uniffi_dbx_tools_databricks_fn_free_storagehandle": {
|
|
304
|
+
args: [FfiType.Handle],
|
|
305
|
+
ret: FfiType.Void,
|
|
306
|
+
hasRustCallStatus: true,
|
|
307
|
+
},
|
|
308
|
+
"uniffi_dbx_tools_databricks_fn_init_callback_vtable_storageadapter": {
|
|
309
|
+
args: [FfiType.Reference(FfiType.Struct("VTableCallbackInterfaceDbxToolsDatabricksStorageAdapter"))],
|
|
310
|
+
ret: FfiType.Void,
|
|
311
|
+
hasRustCallStatus: false,
|
|
312
|
+
},
|
|
313
|
+
"uniffi_dbx_tools_databricks_fn_func_canonical_scopes": {
|
|
314
|
+
args: [FfiType.RustBuffer],
|
|
315
|
+
ret: FfiType.RustBuffer,
|
|
316
|
+
hasRustCallStatus: true,
|
|
317
|
+
},
|
|
318
|
+
"uniffi_dbx_tools_databricks_fn_func_create_persistent_auth": {
|
|
319
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer],
|
|
320
|
+
ret: FfiType.Handle,
|
|
321
|
+
hasRustCallStatus: false,
|
|
322
|
+
},
|
|
323
|
+
"uniffi_dbx_tools_databricks_fn_func_create_persistent_auth_for_request": {
|
|
324
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer, FfiType.RustBuffer],
|
|
325
|
+
ret: FfiType.Handle,
|
|
326
|
+
hasRustCallStatus: false,
|
|
327
|
+
},
|
|
328
|
+
"uniffi_dbx_tools_databricks_fn_func_create_persistent_auth_with_storage": {
|
|
329
|
+
args: [FfiType.RustBuffer, FfiType.Handle],
|
|
330
|
+
ret: FfiType.Handle,
|
|
331
|
+
hasRustCallStatus: false,
|
|
332
|
+
},
|
|
333
|
+
"uniffi_dbx_tools_databricks_fn_func_create_provider_auth": {
|
|
334
|
+
args: [FfiType.RustBuffer],
|
|
335
|
+
ret: FfiType.Handle,
|
|
336
|
+
hasRustCallStatus: false,
|
|
337
|
+
},
|
|
338
|
+
"uniffi_dbx_tools_databricks_fn_func_create_provider_auth_with_storage": {
|
|
339
|
+
args: [FfiType.RustBuffer, FfiType.Handle],
|
|
340
|
+
ret: FfiType.Handle,
|
|
341
|
+
hasRustCallStatus: false,
|
|
342
|
+
},
|
|
343
|
+
"uniffi_dbx_tools_databricks_fn_func_create_storage_handle": {
|
|
344
|
+
args: [FfiType.Handle],
|
|
345
|
+
ret: FfiType.Handle,
|
|
346
|
+
hasRustCallStatus: true,
|
|
347
|
+
},
|
|
348
|
+
"uniffi_dbx_tools_databricks_fn_func_credential_key": {
|
|
349
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer, FfiType.RustBuffer],
|
|
350
|
+
ret: FfiType.RustBuffer,
|
|
351
|
+
hasRustCallStatus: true,
|
|
352
|
+
},
|
|
268
353
|
"uniffi_dbx_tools_databricks_fn_func_databricks_cli_available": {
|
|
269
354
|
args: [],
|
|
270
355
|
ret: FfiType.Int8,
|
|
@@ -275,11 +360,136 @@ const DEFINITIONS = {
|
|
|
275
360
|
ret: FfiType.Int8,
|
|
276
361
|
hasRustCallStatus: true,
|
|
277
362
|
},
|
|
363
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_challenge": {
|
|
364
|
+
args: [FfiType.Handle],
|
|
365
|
+
ret: FfiType.Handle,
|
|
366
|
+
hasRustCallStatus: false,
|
|
367
|
+
},
|
|
368
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_force_refresh_token": {
|
|
369
|
+
args: [FfiType.Handle],
|
|
370
|
+
ret: FfiType.Handle,
|
|
371
|
+
hasRustCallStatus: false,
|
|
372
|
+
},
|
|
373
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_logout": {
|
|
374
|
+
args: [FfiType.Handle],
|
|
375
|
+
ret: FfiType.Handle,
|
|
376
|
+
hasRustCallStatus: false,
|
|
377
|
+
},
|
|
378
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_refresh_rejected_token": {
|
|
379
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
380
|
+
ret: FfiType.Handle,
|
|
381
|
+
hasRustCallStatus: false,
|
|
382
|
+
},
|
|
383
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_status": {
|
|
384
|
+
args: [FfiType.Handle],
|
|
385
|
+
ret: FfiType.RustBuffer,
|
|
386
|
+
hasRustCallStatus: true,
|
|
387
|
+
},
|
|
388
|
+
"uniffi_dbx_tools_databricks_fn_method_persistentauth_token": {
|
|
389
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
390
|
+
ret: FfiType.Handle,
|
|
391
|
+
hasRustCallStatus: false,
|
|
392
|
+
},
|
|
393
|
+
"uniffi_dbx_tools_databricks_fn_method_providerauth_force_refresh_token": {
|
|
394
|
+
args: [FfiType.Handle],
|
|
395
|
+
ret: FfiType.Handle,
|
|
396
|
+
hasRustCallStatus: false,
|
|
397
|
+
},
|
|
398
|
+
"uniffi_dbx_tools_databricks_fn_method_providerauth_logout": {
|
|
399
|
+
args: [FfiType.Handle],
|
|
400
|
+
ret: FfiType.Handle,
|
|
401
|
+
hasRustCallStatus: false,
|
|
402
|
+
},
|
|
403
|
+
"uniffi_dbx_tools_databricks_fn_method_providerauth_refresh_rejected_token": {
|
|
404
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
405
|
+
ret: FfiType.Handle,
|
|
406
|
+
hasRustCallStatus: false,
|
|
407
|
+
},
|
|
408
|
+
"uniffi_dbx_tools_databricks_fn_method_providerauth_token": {
|
|
409
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
410
|
+
ret: FfiType.Handle,
|
|
411
|
+
hasRustCallStatus: false,
|
|
412
|
+
},
|
|
413
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_load": {
|
|
414
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
415
|
+
ret: FfiType.Handle,
|
|
416
|
+
hasRustCallStatus: false,
|
|
417
|
+
},
|
|
418
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_prepare_write": {
|
|
419
|
+
args: [FfiType.Handle],
|
|
420
|
+
ret: FfiType.Handle,
|
|
421
|
+
hasRustCallStatus: false,
|
|
422
|
+
},
|
|
423
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_save": {
|
|
424
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer],
|
|
425
|
+
ret: FfiType.Handle,
|
|
426
|
+
hasRustCallStatus: false,
|
|
427
|
+
},
|
|
428
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_remove": {
|
|
429
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
430
|
+
ret: FfiType.Handle,
|
|
431
|
+
hasRustCallStatus: false,
|
|
432
|
+
},
|
|
433
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_acquire_lock": {
|
|
434
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.UInt64],
|
|
435
|
+
ret: FfiType.Handle,
|
|
436
|
+
hasRustCallStatus: false,
|
|
437
|
+
},
|
|
438
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_release_lock": {
|
|
439
|
+
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
440
|
+
ret: FfiType.Handle,
|
|
441
|
+
hasRustCallStatus: false,
|
|
442
|
+
},
|
|
443
|
+
"uniffi_dbx_tools_databricks_fn_method_storageadapter_name": {
|
|
444
|
+
args: [FfiType.Handle],
|
|
445
|
+
ret: FfiType.RustBuffer,
|
|
446
|
+
hasRustCallStatus: true,
|
|
447
|
+
},
|
|
278
448
|
"ffi_dbx_tools_databricks_uniffi_contract_version": {
|
|
279
449
|
args: [],
|
|
280
450
|
ret: FfiType.UInt32,
|
|
281
451
|
hasRustCallStatus: false,
|
|
282
452
|
},
|
|
453
|
+
"uniffi_dbx_tools_databricks_checksum_func_canonical_scopes": {
|
|
454
|
+
args: [],
|
|
455
|
+
ret: FfiType.UInt16,
|
|
456
|
+
hasRustCallStatus: false,
|
|
457
|
+
},
|
|
458
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth": {
|
|
459
|
+
args: [],
|
|
460
|
+
ret: FfiType.UInt16,
|
|
461
|
+
hasRustCallStatus: false,
|
|
462
|
+
},
|
|
463
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth_for_request": {
|
|
464
|
+
args: [],
|
|
465
|
+
ret: FfiType.UInt16,
|
|
466
|
+
hasRustCallStatus: false,
|
|
467
|
+
},
|
|
468
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth_with_storage": {
|
|
469
|
+
args: [],
|
|
470
|
+
ret: FfiType.UInt16,
|
|
471
|
+
hasRustCallStatus: false,
|
|
472
|
+
},
|
|
473
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_provider_auth": {
|
|
474
|
+
args: [],
|
|
475
|
+
ret: FfiType.UInt16,
|
|
476
|
+
hasRustCallStatus: false,
|
|
477
|
+
},
|
|
478
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_provider_auth_with_storage": {
|
|
479
|
+
args: [],
|
|
480
|
+
ret: FfiType.UInt16,
|
|
481
|
+
hasRustCallStatus: false,
|
|
482
|
+
},
|
|
483
|
+
"uniffi_dbx_tools_databricks_checksum_func_create_storage_handle": {
|
|
484
|
+
args: [],
|
|
485
|
+
ret: FfiType.UInt16,
|
|
486
|
+
hasRustCallStatus: false,
|
|
487
|
+
},
|
|
488
|
+
"uniffi_dbx_tools_databricks_checksum_func_credential_key": {
|
|
489
|
+
args: [],
|
|
490
|
+
ret: FfiType.UInt16,
|
|
491
|
+
hasRustCallStatus: false,
|
|
492
|
+
},
|
|
283
493
|
"uniffi_dbx_tools_databricks_checksum_func_databricks_cli_available": {
|
|
284
494
|
args: [],
|
|
285
495
|
ret: FfiType.UInt16,
|
|
@@ -290,6 +500,91 @@ const DEFINITIONS = {
|
|
|
290
500
|
ret: FfiType.UInt16,
|
|
291
501
|
hasRustCallStatus: false,
|
|
292
502
|
},
|
|
503
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_challenge": {
|
|
504
|
+
args: [],
|
|
505
|
+
ret: FfiType.UInt16,
|
|
506
|
+
hasRustCallStatus: false,
|
|
507
|
+
},
|
|
508
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_force_refresh_token": {
|
|
509
|
+
args: [],
|
|
510
|
+
ret: FfiType.UInt16,
|
|
511
|
+
hasRustCallStatus: false,
|
|
512
|
+
},
|
|
513
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_logout": {
|
|
514
|
+
args: [],
|
|
515
|
+
ret: FfiType.UInt16,
|
|
516
|
+
hasRustCallStatus: false,
|
|
517
|
+
},
|
|
518
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_refresh_rejected_token": {
|
|
519
|
+
args: [],
|
|
520
|
+
ret: FfiType.UInt16,
|
|
521
|
+
hasRustCallStatus: false,
|
|
522
|
+
},
|
|
523
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_status": {
|
|
524
|
+
args: [],
|
|
525
|
+
ret: FfiType.UInt16,
|
|
526
|
+
hasRustCallStatus: false,
|
|
527
|
+
},
|
|
528
|
+
"uniffi_dbx_tools_databricks_checksum_method_persistentauth_token": {
|
|
529
|
+
args: [],
|
|
530
|
+
ret: FfiType.UInt16,
|
|
531
|
+
hasRustCallStatus: false,
|
|
532
|
+
},
|
|
533
|
+
"uniffi_dbx_tools_databricks_checksum_method_providerauth_force_refresh_token": {
|
|
534
|
+
args: [],
|
|
535
|
+
ret: FfiType.UInt16,
|
|
536
|
+
hasRustCallStatus: false,
|
|
537
|
+
},
|
|
538
|
+
"uniffi_dbx_tools_databricks_checksum_method_providerauth_logout": {
|
|
539
|
+
args: [],
|
|
540
|
+
ret: FfiType.UInt16,
|
|
541
|
+
hasRustCallStatus: false,
|
|
542
|
+
},
|
|
543
|
+
"uniffi_dbx_tools_databricks_checksum_method_providerauth_refresh_rejected_token": {
|
|
544
|
+
args: [],
|
|
545
|
+
ret: FfiType.UInt16,
|
|
546
|
+
hasRustCallStatus: false,
|
|
547
|
+
},
|
|
548
|
+
"uniffi_dbx_tools_databricks_checksum_method_providerauth_token": {
|
|
549
|
+
args: [],
|
|
550
|
+
ret: FfiType.UInt16,
|
|
551
|
+
hasRustCallStatus: false,
|
|
552
|
+
},
|
|
553
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_load": {
|
|
554
|
+
args: [],
|
|
555
|
+
ret: FfiType.UInt16,
|
|
556
|
+
hasRustCallStatus: false,
|
|
557
|
+
},
|
|
558
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_prepare_write": {
|
|
559
|
+
args: [],
|
|
560
|
+
ret: FfiType.UInt16,
|
|
561
|
+
hasRustCallStatus: false,
|
|
562
|
+
},
|
|
563
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_save": {
|
|
564
|
+
args: [],
|
|
565
|
+
ret: FfiType.UInt16,
|
|
566
|
+
hasRustCallStatus: false,
|
|
567
|
+
},
|
|
568
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_remove": {
|
|
569
|
+
args: [],
|
|
570
|
+
ret: FfiType.UInt16,
|
|
571
|
+
hasRustCallStatus: false,
|
|
572
|
+
},
|
|
573
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_acquire_lock": {
|
|
574
|
+
args: [],
|
|
575
|
+
ret: FfiType.UInt16,
|
|
576
|
+
hasRustCallStatus: false,
|
|
577
|
+
},
|
|
578
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_release_lock": {
|
|
579
|
+
args: [],
|
|
580
|
+
ret: FfiType.UInt16,
|
|
581
|
+
hasRustCallStatus: false,
|
|
582
|
+
},
|
|
583
|
+
"uniffi_dbx_tools_databricks_checksum_method_storageadapter_name": {
|
|
584
|
+
args: [],
|
|
585
|
+
ret: FfiType.UInt16,
|
|
586
|
+
hasRustCallStatus: false,
|
|
587
|
+
},
|
|
293
588
|
},
|
|
294
589
|
callbacks: {
|
|
295
590
|
"RustFutureContinuationCallback": {
|
|
@@ -302,12 +597,92 @@ const DEFINITIONS = {
|
|
|
302
597
|
ret: FfiType.Void,
|
|
303
598
|
hasRustCallStatus: false,
|
|
304
599
|
},
|
|
600
|
+
"ForeignFutureCompleterust_buffer": {
|
|
601
|
+
args: [FfiType.Handle, FfiType.Struct("ForeignFutureResultRustBuffer")],
|
|
602
|
+
ret: FfiType.Void,
|
|
603
|
+
hasRustCallStatus: false,
|
|
604
|
+
},
|
|
605
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod0": {
|
|
606
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompleterust_buffer"), FfiType.Handle],
|
|
607
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
608
|
+
hasRustCallStatus: false,
|
|
609
|
+
outReturn: true,
|
|
610
|
+
},
|
|
611
|
+
"ForeignFutureCompletevoid": {
|
|
612
|
+
args: [FfiType.Handle, FfiType.Struct("ForeignFutureResultVoid")],
|
|
613
|
+
ret: FfiType.Void,
|
|
614
|
+
hasRustCallStatus: false,
|
|
615
|
+
},
|
|
616
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod1": {
|
|
617
|
+
args: [FfiType.Handle, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
|
|
618
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
619
|
+
hasRustCallStatus: false,
|
|
620
|
+
outReturn: true,
|
|
621
|
+
},
|
|
622
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod2": {
|
|
623
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
|
|
624
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
625
|
+
hasRustCallStatus: false,
|
|
626
|
+
outReturn: true,
|
|
627
|
+
},
|
|
628
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod3": {
|
|
629
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
|
|
630
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
631
|
+
hasRustCallStatus: false,
|
|
632
|
+
outReturn: true,
|
|
633
|
+
},
|
|
634
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod4": {
|
|
635
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.UInt64, FfiType.Callback("ForeignFutureCompleterust_buffer"), FfiType.Handle],
|
|
636
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
637
|
+
hasRustCallStatus: false,
|
|
638
|
+
outReturn: true,
|
|
639
|
+
},
|
|
640
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod5": {
|
|
641
|
+
args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
|
|
642
|
+
ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
|
|
643
|
+
hasRustCallStatus: false,
|
|
644
|
+
outReturn: true,
|
|
645
|
+
},
|
|
646
|
+
"CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod6": {
|
|
647
|
+
args: [FfiType.Handle],
|
|
648
|
+
ret: FfiType.RustBuffer,
|
|
649
|
+
hasRustCallStatus: true,
|
|
650
|
+
outReturn: true,
|
|
651
|
+
},
|
|
652
|
+
"CallbackInterfaceCloneDbxToolsDatabricks_StorageAdapter": {
|
|
653
|
+
args: [FfiType.Handle],
|
|
654
|
+
ret: FfiType.Handle,
|
|
655
|
+
hasRustCallStatus: false,
|
|
656
|
+
},
|
|
657
|
+
"CallbackInterfaceFreeDbxToolsDatabricks_StorageAdapter": {
|
|
658
|
+
args: [FfiType.Handle],
|
|
659
|
+
ret: FfiType.Void,
|
|
660
|
+
hasRustCallStatus: false,
|
|
661
|
+
},
|
|
305
662
|
},
|
|
306
663
|
structs: {
|
|
307
664
|
"ForeignFutureDroppedCallbackStruct": [
|
|
308
665
|
{ name: "handle", type: FfiType.Handle },
|
|
309
666
|
{ name: "free", type: FfiType.Callback("ForeignFutureDroppedCallback") },
|
|
310
667
|
],
|
|
668
|
+
"ForeignFutureResultRustBuffer": [
|
|
669
|
+
{ name: "return_value", type: FfiType.RustBuffer },
|
|
670
|
+
{ name: "call_status", type: FfiType.RustCallStatus },
|
|
671
|
+
],
|
|
672
|
+
"ForeignFutureResultVoid": [
|
|
673
|
+
{ name: "call_status", type: FfiType.RustCallStatus },
|
|
674
|
+
],
|
|
675
|
+
"VTableCallbackInterfaceDbxToolsDatabricksStorageAdapter": [
|
|
676
|
+
{ name: "uniffi_free", type: FfiType.Callback("CallbackInterfaceFreeDbxToolsDatabricks_StorageAdapter") },
|
|
677
|
+
{ name: "uniffi_clone", type: FfiType.Callback("CallbackInterfaceCloneDbxToolsDatabricks_StorageAdapter") },
|
|
678
|
+
{ name: "load", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod0") },
|
|
679
|
+
{ name: "prepare_write", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod1") },
|
|
680
|
+
{ name: "save", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod2") },
|
|
681
|
+
{ name: "remove", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod3") },
|
|
682
|
+
{ name: "acquire_lock", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod4") },
|
|
683
|
+
{ name: "release_lock", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod5") },
|
|
684
|
+
{ name: "name", type: FfiType.Callback("CallbackInterfaceDbxToolsDatabricksStorageAdapterMethod6") },
|
|
685
|
+
],
|
|
311
686
|
},
|
|
312
687
|
} as const;
|
|
313
688
|
|
|
@@ -360,11 +735,70 @@ interface NativeModuleInterface {
|
|
|
360
735
|
ffi_dbx_tools_databricks_rust_future_cancel_void(handle: bigint): void;
|
|
361
736
|
ffi_dbx_tools_databricks_rust_future_complete_void(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
362
737
|
ffi_dbx_tools_databricks_rust_future_free_void(handle: bigint): void;
|
|
738
|
+
uniffi_dbx_tools_databricks_fn_clone_persistentauth(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
739
|
+
uniffi_dbx_tools_databricks_fn_free_persistentauth(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
740
|
+
uniffi_dbx_tools_databricks_fn_clone_providerauth(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
741
|
+
uniffi_dbx_tools_databricks_fn_free_providerauth(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
742
|
+
uniffi_dbx_tools_databricks_fn_clone_storageadapter(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
743
|
+
uniffi_dbx_tools_databricks_fn_free_storageadapter(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
744
|
+
uniffi_dbx_tools_databricks_fn_clone_storagehandle(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
745
|
+
uniffi_dbx_tools_databricks_fn_free_storagehandle(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
746
|
+
uniffi_dbx_tools_databricks_fn_init_callback_vtable_storageadapter(vtable: UniffiVTableCallbackInterfaceDbxToolsDatabricksStorageAdapter): void;
|
|
747
|
+
uniffi_dbx_tools_databricks_fn_func_canonical_scopes(scopes: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
748
|
+
uniffi_dbx_tools_databricks_fn_func_create_persistent_auth(options: Uint8Array, storage: Uint8Array): bigint;
|
|
749
|
+
uniffi_dbx_tools_databricks_fn_func_create_persistent_auth_for_request(options: Uint8Array, requestHeaders: Uint8Array, storage: Uint8Array): bigint;
|
|
750
|
+
uniffi_dbx_tools_databricks_fn_func_create_persistent_auth_with_storage(options: Uint8Array, storage: bigint): bigint;
|
|
751
|
+
uniffi_dbx_tools_databricks_fn_func_create_provider_auth(options: Uint8Array): bigint;
|
|
752
|
+
uniffi_dbx_tools_databricks_fn_func_create_provider_auth_with_storage(options: Uint8Array, storage: bigint): bigint;
|
|
753
|
+
uniffi_dbx_tools_databricks_fn_func_create_storage_handle(storage: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
754
|
+
uniffi_dbx_tools_databricks_fn_func_credential_key(provider: Uint8Array, profile: Uint8Array, scopes: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
363
755
|
uniffi_dbx_tools_databricks_fn_func_databricks_cli_available(uniffi_out_err: UniffiRustCallStatus): number;
|
|
364
756
|
uniffi_dbx_tools_databricks_fn_func_is_databricks_app(uniffi_out_err: UniffiRustCallStatus): number;
|
|
757
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_challenge(uniffiSelf: bigint): bigint;
|
|
758
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_force_refresh_token(uniffiSelf: bigint): bigint;
|
|
759
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_logout(uniffiSelf: bigint): bigint;
|
|
760
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_refresh_rejected_token(uniffiSelf: bigint, staleAccessToken: Uint8Array): bigint;
|
|
761
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_status(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
762
|
+
uniffi_dbx_tools_databricks_fn_method_persistentauth_token(uniffiSelf: bigint, login: Uint8Array): bigint;
|
|
763
|
+
uniffi_dbx_tools_databricks_fn_method_providerauth_force_refresh_token(uniffiSelf: bigint): bigint;
|
|
764
|
+
uniffi_dbx_tools_databricks_fn_method_providerauth_logout(uniffiSelf: bigint): bigint;
|
|
765
|
+
uniffi_dbx_tools_databricks_fn_method_providerauth_refresh_rejected_token(uniffiSelf: bigint, staleAccessToken: Uint8Array): bigint;
|
|
766
|
+
uniffi_dbx_tools_databricks_fn_method_providerauth_token(uniffiSelf: bigint, login: Uint8Array): bigint;
|
|
767
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_load(uniffiSelf: bigint, profile: Uint8Array): bigint;
|
|
768
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_prepare_write(uniffiSelf: bigint): bigint;
|
|
769
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_save(uniffiSelf: bigint, profile: Uint8Array, token: Uint8Array): bigint;
|
|
770
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_remove(uniffiSelf: bigint, profile: Uint8Array): bigint;
|
|
771
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_acquire_lock(uniffiSelf: bigint, profile: Uint8Array, timeoutMillis: bigint): bigint;
|
|
772
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_release_lock(uniffiSelf: bigint, lease: Uint8Array): bigint;
|
|
773
|
+
uniffi_dbx_tools_databricks_fn_method_storageadapter_name(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
365
774
|
ffi_dbx_tools_databricks_uniffi_contract_version(): number;
|
|
775
|
+
uniffi_dbx_tools_databricks_checksum_func_canonical_scopes(): number;
|
|
776
|
+
uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth(): number;
|
|
777
|
+
uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth_for_request(): number;
|
|
778
|
+
uniffi_dbx_tools_databricks_checksum_func_create_persistent_auth_with_storage(): number;
|
|
779
|
+
uniffi_dbx_tools_databricks_checksum_func_create_provider_auth(): number;
|
|
780
|
+
uniffi_dbx_tools_databricks_checksum_func_create_provider_auth_with_storage(): number;
|
|
781
|
+
uniffi_dbx_tools_databricks_checksum_func_create_storage_handle(): number;
|
|
782
|
+
uniffi_dbx_tools_databricks_checksum_func_credential_key(): number;
|
|
366
783
|
uniffi_dbx_tools_databricks_checksum_func_databricks_cli_available(): number;
|
|
367
784
|
uniffi_dbx_tools_databricks_checksum_func_is_databricks_app(): number;
|
|
785
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_challenge(): number;
|
|
786
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_force_refresh_token(): number;
|
|
787
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_logout(): number;
|
|
788
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_refresh_rejected_token(): number;
|
|
789
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_status(): number;
|
|
790
|
+
uniffi_dbx_tools_databricks_checksum_method_persistentauth_token(): number;
|
|
791
|
+
uniffi_dbx_tools_databricks_checksum_method_providerauth_force_refresh_token(): number;
|
|
792
|
+
uniffi_dbx_tools_databricks_checksum_method_providerauth_logout(): number;
|
|
793
|
+
uniffi_dbx_tools_databricks_checksum_method_providerauth_refresh_rejected_token(): number;
|
|
794
|
+
uniffi_dbx_tools_databricks_checksum_method_providerauth_token(): number;
|
|
795
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_load(): number;
|
|
796
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_prepare_write(): number;
|
|
797
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_save(): number;
|
|
798
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_remove(): number;
|
|
799
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_acquire_lock(): number;
|
|
800
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_release_lock(): number;
|
|
801
|
+
uniffi_dbx_tools_databricks_checksum_method_storageadapter_name(): number;
|
|
368
802
|
// Codegen call sites use these via `nativeModule().rustbuffer_alloc(...)`
|
|
369
803
|
// and `nativeModule().rustbuffer_free(...)`. The runtime's registered
|
|
370
804
|
// module exposes them as method properties.
|
|
@@ -393,4 +827,33 @@ export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;
|
|
|
393
827
|
export type UniffiForeignFutureDroppedCallbackStruct = {
|
|
394
828
|
handle: bigint;
|
|
395
829
|
free: UniffiForeignFutureDroppedCallback;
|
|
830
|
+
};
|
|
831
|
+
export type UniffiForeignFutureResultRustBuffer = {
|
|
832
|
+
return_value: Uint8Array;
|
|
833
|
+
call_status: UniffiRustCallStatus;
|
|
834
|
+
};
|
|
835
|
+
export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;
|
|
836
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod0 = (uniffiHandle: bigint, profile: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
837
|
+
export type UniffiForeignFutureResultVoid = {
|
|
838
|
+
call_status: UniffiRustCallStatus;
|
|
839
|
+
};
|
|
840
|
+
export type UniffiForeignFutureCompletevoid = (callbackData: bigint, result: UniffiForeignFutureResultVoid) => void;
|
|
841
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
842
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod2 = (uniffiHandle: bigint, profile: Uint8Array, token: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
843
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod3 = (uniffiHandle: bigint, profile: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
844
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod4 = (uniffiHandle: bigint, profile: Uint8Array, timeoutMillis: bigint, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
845
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod5 = (uniffiHandle: bigint, lease: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
846
|
+
type UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod6 = (uniffiHandle: bigint) => Uint8Array;
|
|
847
|
+
type UniffiCallbackInterfaceCloneDbxToolsDatabricksStorageAdapter = (handle: bigint) => UniffiResult<void>;
|
|
848
|
+
type UniffiCallbackInterfaceFreeDbxToolsDatabricksStorageAdapter = (handle: bigint) => void;
|
|
849
|
+
export type UniffiVTableCallbackInterfaceDbxToolsDatabricksStorageAdapter = {
|
|
850
|
+
uniffi_free: UniffiCallbackInterfaceFreeDbxToolsDatabricksStorageAdapter;
|
|
851
|
+
uniffi_clone: UniffiCallbackInterfaceCloneDbxToolsDatabricksStorageAdapter;
|
|
852
|
+
load: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod0;
|
|
853
|
+
prepare_write: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod1;
|
|
854
|
+
save: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod2;
|
|
855
|
+
remove: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod3;
|
|
856
|
+
acquire_lock: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod4;
|
|
857
|
+
release_lock: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod5;
|
|
858
|
+
name: UniffiCallbackInterfaceDbxToolsDatabricksStorageAdapterMethod6;
|
|
396
859
|
};
|