@synopackageland/sdk 0.50.1 → 0.50.2
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/dist/index.js +2956 -2902
- package/dist/src/index.d.ts +1 -0
- package/dist/src/secret.d.ts +12 -0
- package/dist/vue.js +46 -43
- package/executor-manifest.json +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -41,3 +41,4 @@ export { createEntryCheck, type EntryCheck, type EntryFailure, type EntryMode }
|
|
|
41
41
|
export { createClient, type Batch, type BatchCall, type BatchResult, type ClientOptions, type SessionRetryOptions, type SessionRetryOperation } from './client';
|
|
42
42
|
export { readDsmPorts, type DsmPort, type DsmPortRange } from './dsm/service-ports';
|
|
43
43
|
export { readDsmHttpsURL } from './dsm/https';
|
|
44
|
+
export { requestSecret, RequestSecret, redactSecrets } from './secret';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** One request's external-service credential. Ordinary JSON and logs redact it. */
|
|
2
|
+
export declare class RequestSecret {
|
|
3
|
+
constructor(value: string);
|
|
4
|
+
toString(): string;
|
|
5
|
+
toJSON(): string;
|
|
6
|
+
[Symbol.toPrimitive](): string;
|
|
7
|
+
clear(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const requestSecret: (value: string) => RequestSecret;
|
|
10
|
+
export declare function encodeSecretRequest(value: unknown, credentials?: string[]): string;
|
|
11
|
+
/** Detached diagnostic copy; never log raw bodies or fall back to the input. */
|
|
12
|
+
export declare function redactSecrets(value: unknown, credentials?: readonly string[]): unknown;
|
package/dist/vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as dt, i as Ba } from "./context-DWEbBTIr.js";
|
|
2
2
|
import { c as So } from "./context-DWEbBTIr.js";
|
|
3
3
|
import { appRefusal as va, appDenial as He, delegateCopy as Ue, createDsmFileStation as ct, appLifecycle as Pe, lifecycleRetryDelay as Ca, joinSentences as Oa, lifecycleCopy as Fe, shellCopy as oa, uiLocale as Fa, format as Ge, nasCopy as Ve, nasErrorCopy as qa, saveCopy as $a, saveError as ia, createNasProvider as Ma, labelSeparator as Sa, identityCopy as Ka, backgroundCopy as vt, createBackgroundPickerProvider as ft, backgroundErrorCopy as pt, requestKey as _a, lifecycleRefusal as mt, errorCopy as yt, scopedPicker as bt, authorizationCopy as Ha, createEntryCheck as gt } from "./index.js";
|
|
4
|
-
import { FILE_STATION_APP as Po, LIFECYCLE_RETRY_MAX_MS as To, LIFECYCLE_STARTING_RETRY_MAX_MS as Ao, MAX_LAUNCH_ROUTE as zo,
|
|
4
|
+
import { FILE_STATION_APP as Po, LIFECYCLE_RETRY_MAX_MS as To, LIFECYCLE_STARTING_RETRY_MAX_MS as Ao, MAX_LAUNCH_ROUTE as zo, RequestSecret as Ro, activePage as Io, authorizationCatalogs as Uo, backgroundCatalogs as Do, bridgeCatalogs as Lo, bridgeErrorCopy as No, catalogs as Vo, createBackgroundSaveFacade as Bo, createClient as Oo, createDsmSession as Fo, createFileTransfers as qo, createPortalAccess as Mo, createSharedFolderAccess as Ko, createSharedFolderPermission as Ho, createStandaloneContext as Xo, createStandaloneHost as Go, decodeResponse as Wo, delegateCatalogs as Jo, dsmLaunchURL as Yo, encodeRequest as Qo, fileStationPath as Zo, followLaunchRoute as jo, identityCatalogs as ei, launchRoute as ai, mergeCatalogs as ti, nasCatalogs as li, openFileInFileStation as ni, openFolderInFileStation as si, portalCatalogs as oi, portalMessages as ii, protocolCodes as ui, protocolOps as ri, protocolSchemas as di, readDsmHttpsURL as ci, readDsmPorts as vi, redactSecrets as fi, requestSecret as pi, saveCatalogs as mi, sharedFolderAccessFor as yi, sharedFolderCatalogs as bi, sharedFolderMessages as gi, sharedFolderPermissionMessage as hi, shellCatalogs as ki, shellPages as _i, uiLocales as wi } from "./index.js";
|
|
5
5
|
import { inject as ze, ref as y, computed as x, onBeforeUnmount as ke, Comment as ht, Text as kt, Fragment as ee, watch as We, onMounted as xe, defineComponent as ve, openBlock as n, createElementBlock as w, createElementVNode as $, toDisplayString as o, createCommentVNode as b, renderList as me, normalizeClass as Re, createVNode as p, unref as e, createTextVNode as h, createBlock as g, renderSlot as ge, withCtx as s, resolveDynamicComponent as je, normalizeProps as ua, mergeProps as Ea, withModifiers as Je, isRef as ra, provide as Xe, useTemplateRef as Ne, watchEffect as la, useSlots as Xa, guardReactiveProps as za, createSlots as fa, Teleport as Ga, markRaw as _t, h as wt, useId as xt, shallowRef as Ct, onUnmounted as Wa, nextTick as $t } from "vue";
|
|
6
6
|
import { Timer as St, Info as Et, ShieldCheck as Ja, ChevronRight as Ya, LogOut as Pt, ChevronLeft as Tt, RotateCw as At } from "@lucide/vue";
|
|
7
7
|
import { SettingsSection as we, Callout as j, Button as N, SettingsRow as $e, Skeleton as Be, Badge as ea, PathDisplay as Oe, Form as Ye, FormItem as Te, Select as Pa, Input as Ie, Dialog as qe, ensureDeviceViewport as zt, AppRoot as Rt, ConfigProvider as It, PageContent as Ra, PageHeader as Ia, AppLayout as Ut, LoadingArea as Qa, AppSidebar as Dt, AppSidebarUser as Lt, IconButton as sa, AppToolbar as Nt, InfoTip as Za, FileTypeIcon as ha, Breadcrumb as Vt, FilePicker as Bt, TreeView as Ot, DataGrid as Ft, Link as wa, FormActions as pa, Card as Ua, Checkbox as qt, ListItem as Da } from "@synopackageland/ui";
|
|
@@ -4300,81 +4300,84 @@ export {
|
|
|
4300
4300
|
co as PageInfo,
|
|
4301
4301
|
ot as PageInfoTarget,
|
|
4302
4302
|
fo as PortalSettings,
|
|
4303
|
+
Ro as RequestSecret,
|
|
4303
4304
|
mo as SharedFolderPermissionDialog,
|
|
4304
4305
|
po as SharedFolderSettings,
|
|
4305
4306
|
Bl as UiUpdateNotice,
|
|
4306
|
-
|
|
4307
|
+
Io as activePage,
|
|
4307
4308
|
He as appDenial,
|
|
4308
4309
|
Pe as appLifecycle,
|
|
4309
4310
|
va as appRefusal,
|
|
4310
|
-
|
|
4311
|
+
Uo as authorizationCatalogs,
|
|
4311
4312
|
Ha as authorizationCopy,
|
|
4312
|
-
|
|
4313
|
+
Do as backgroundCatalogs,
|
|
4313
4314
|
vt as backgroundCopy,
|
|
4314
4315
|
pt as backgroundErrorCopy,
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4316
|
+
Lo as bridgeCatalogs,
|
|
4317
|
+
No as bridgeErrorCopy,
|
|
4318
|
+
Vo as catalogs,
|
|
4318
4319
|
So as clientTimeout,
|
|
4319
4320
|
ft as createBackgroundPickerProvider,
|
|
4320
|
-
|
|
4321
|
-
|
|
4321
|
+
Bo as createBackgroundSaveFacade,
|
|
4322
|
+
Oo as createClient,
|
|
4322
4323
|
ct as createDsmFileStation,
|
|
4323
|
-
|
|
4324
|
+
Fo as createDsmSession,
|
|
4324
4325
|
gt as createEntryCheck,
|
|
4325
|
-
|
|
4326
|
+
qo as createFileTransfers,
|
|
4326
4327
|
Ma as createNasProvider,
|
|
4327
|
-
|
|
4328
|
+
Mo as createPortalAccess,
|
|
4328
4329
|
io as createSession,
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4330
|
+
Ko as createSharedFolderAccess,
|
|
4331
|
+
Ho as createSharedFolderPermission,
|
|
4332
|
+
Xo as createStandaloneContext,
|
|
4333
|
+
Go as createStandaloneHost,
|
|
4334
|
+
Wo as decodeResponse,
|
|
4335
|
+
Jo as delegateCatalogs,
|
|
4335
4336
|
Ue as delegateCopy,
|
|
4336
|
-
|
|
4337
|
-
|
|
4337
|
+
Yo as dsmLaunchURL,
|
|
4338
|
+
Qo as encodeRequest,
|
|
4338
4339
|
yt as errorCopy,
|
|
4339
|
-
|
|
4340
|
-
|
|
4340
|
+
Zo as fileStationPath,
|
|
4341
|
+
jo as followLaunchRoute,
|
|
4341
4342
|
Ge as format,
|
|
4342
|
-
|
|
4343
|
+
ei as identityCatalogs,
|
|
4343
4344
|
Ka as identityCopy,
|
|
4344
4345
|
Ba as isFullPage,
|
|
4345
4346
|
Oa as joinSentences,
|
|
4346
4347
|
Sa as labelSeparator,
|
|
4347
|
-
|
|
4348
|
+
ai as launchRoute,
|
|
4348
4349
|
Fe as lifecycleCopy,
|
|
4349
4350
|
mt as lifecycleRefusal,
|
|
4350
4351
|
Ca as lifecycleRetryDelay,
|
|
4351
|
-
|
|
4352
|
-
|
|
4352
|
+
ti as mergeCatalogs,
|
|
4353
|
+
li as nasCatalogs,
|
|
4353
4354
|
Ve as nasCopy,
|
|
4354
4355
|
qa as nasErrorCopy,
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4356
|
+
ni as openFileInFileStation,
|
|
4357
|
+
si as openFolderInFileStation,
|
|
4358
|
+
oi as portalCatalogs,
|
|
4359
|
+
ii as portalMessages,
|
|
4360
|
+
ui as protocolCodes,
|
|
4361
|
+
ri as protocolOps,
|
|
4362
|
+
di as protocolSchemas,
|
|
4363
|
+
ci as readDsmHttpsURL,
|
|
4364
|
+
vi as readDsmPorts,
|
|
4365
|
+
fi as redactSecrets,
|
|
4364
4366
|
_a as requestKey,
|
|
4365
|
-
|
|
4367
|
+
pi as requestSecret,
|
|
4368
|
+
mi as saveCatalogs,
|
|
4366
4369
|
$a as saveCopy,
|
|
4367
4370
|
ia as saveError,
|
|
4368
4371
|
bt as scopedPicker,
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4372
|
+
yi as sharedFolderAccessFor,
|
|
4373
|
+
bi as sharedFolderCatalogs,
|
|
4374
|
+
gi as sharedFolderMessages,
|
|
4375
|
+
hi as sharedFolderPermissionMessage,
|
|
4376
|
+
ki as shellCatalogs,
|
|
4374
4377
|
oa as shellCopy,
|
|
4375
|
-
|
|
4378
|
+
_i as shellPages,
|
|
4376
4379
|
Fa as uiLocale,
|
|
4377
|
-
|
|
4380
|
+
wi as uiLocales,
|
|
4378
4381
|
Gs as useAuthorization,
|
|
4379
4382
|
Mt as useExecutorPreload,
|
|
4380
4383
|
et as useExecutorSetup,
|
package/executor-manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/sdk",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.2",
|
|
4
4
|
"description": "Frontend SDK for DSM packages built with synopkgland: headless client and Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/ts#readme",
|