@fkn/lib 0.5.5 → 0.6.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/account.cjs +1 -1
- package/account.js +2 -2
- package/api/account.d.ts +7 -0
- package/api/broker-bridge.d.ts +12 -0
- package/api/connect-store.d.ts +9 -0
- package/api/connect.d.ts +2 -0
- package/api/data-plane.d.ts +28 -0
- package/api/dns/index.d.ts +1 -0
- package/{cloud/dns.d.ts → api/dns/lookup.d.ts} +2 -6
- package/api/index.d.ts +78 -0
- package/api/install-prompt.d.ts +2 -0
- package/api/local-net/index.d.ts +43 -0
- package/api/overlay-mount.d.ts +2 -0
- package/api/overlay.d.ts +17 -0
- package/api/packages/host.d.ts +12 -0
- package/api/packages/identity.d.ts +1 -0
- package/api/packages/index.d.ts +34 -0
- package/api/packages/picker.d.ts +28 -0
- package/api/packages/registry.d.ts +20 -0
- package/api/packages/store.d.ts +6 -0
- package/api/packages/types.d.ts +56 -0
- package/api/preconnect.d.ts +1 -0
- package/api/proxy/index.d.ts +1 -0
- package/api/proxy/proxy-fetch.d.ts +5 -0
- package/api/quota.d.ts +10 -0
- package/api/rate-token.d.ts +3 -0
- package/api/session-limit.d.ts +1 -0
- package/api/storage.d.ts +20 -0
- package/api/toast.d.ts +1 -0
- package/api/token-source.d.ts +4 -0
- package/api/ui-events.d.ts +8 -0
- package/api/ui-host.d.ts +2 -0
- package/api/webvpn/index.d.ts +3 -0
- package/api/webvpn/packets/metadata.d.ts +31 -0
- package/api/webvpn/packets/tcp-listener.d.ts +39 -0
- package/api/webvpn/packets/tcp.d.ts +88 -0
- package/api/webvpn/packets/udp.d.ts +183 -0
- package/api/webvpn/packets/utils.d.ts +24 -0
- package/api/webvpn/tcp-listener.d.ts +11 -0
- package/api/webvpn/tcp.d.ts +33 -0
- package/api/webvpn/udp.d.ts +33 -0
- package/api/webvpn/utils.d.ts +26 -0
- package/api/webvpn/webtransport.d.ts +62 -0
- package/api/worker/client.d.ts +3 -0
- package/api/worker/protocol.d.ts +15 -0
- package/{api-CDb2pv7C.cjs → api-DD5v1qP9.cjs} +1 -1
- package/{background-DvQm1JHR.js → background-BVBbBOmL.js} +41 -68
- package/background-B_VgpARk.cjs +1 -0
- package/cloud/dgram.cjs +1 -1
- package/cloud/dgram.js +1 -3
- package/cloud/dns.cjs +1 -1
- package/cloud/dns.js +0 -1
- package/cloud/fs/promises.cjs +1 -1
- package/cloud/fs/promises.js +0 -3
- package/cloud/fs.cjs +1 -1
- package/cloud/fs.js +3 -4
- package/cloud/http.cjs +1 -1
- package/cloud/http.js +0 -3
- package/cloud/net.cjs +1 -1
- package/cloud/net.js +2 -3
- package/cloud-5o7yJHeX.cjs +1 -0
- package/cloud-BFyf2uC7.js +112 -0
- package/cloud.cjs +1 -1
- package/cloud.js +8 -12
- package/{connect-button-poDZVmq2.cjs → connect-button-BBEjXzB3.cjs} +1 -1
- package/desktop.cjs +1 -1
- package/desktop.js +1 -1
- package/dgram-CE43gJq9.cjs +1 -0
- package/{dgram-c_Xk7ckJ.js → dgram-wtjARbt0.js} +3 -3
- package/dgram.cjs +1 -1
- package/dgram.js +1 -3
- package/dns.cjs +1 -1
- package/dns.js +2 -2
- package/extension-CPj10qwa.js +67 -0
- package/extension-D-NUXxzF.cjs +1 -0
- package/extension.cjs +1 -1
- package/extension.js +3 -5
- package/fs/promises.cjs +1 -1
- package/fs/promises.js +1 -4
- package/fs-BfmfMBiw.cjs +1 -0
- package/{fs-BQs-x3_j.js → fs-D6nNf1mR.js} +4 -4
- package/fs.cjs +1 -1
- package/fs.js +1 -4
- package/http.cjs +2 -2
- package/http.js +7 -7
- package/index.cjs +1 -1
- package/index.js +23 -26
- package/{account.d.ts → lib/account.d.ts} +5 -8
- package/lib/api.d.ts +300 -0
- package/lib/auto.d.ts +5 -0
- package/lib/cloud/dgram.d.ts +2 -0
- package/lib/cloud/dns.d.ts +1 -0
- package/lib/cloud/frame.d.ts +3 -0
- package/lib/cloud/fs-promises.d.ts +5 -0
- package/lib/cloud/fs.d.ts +22 -0
- package/lib/cloud/http.d.ts +2 -0
- package/lib/cloud/net.d.ts +2 -0
- package/lib/cloud.d.ts +10 -0
- package/lib/connect-button.d.ts +1 -0
- package/lib/connect.d.ts +1 -0
- package/{desktop.d.ts → lib/desktop.d.ts} +6 -8
- package/lib/dns.d.ts +6 -0
- package/lib/dom.d.ts +2 -0
- package/lib/extension-prompt.d.ts +1 -0
- package/lib/extension.d.ts +4 -0
- package/lib/fkn-target.d.ts +1 -0
- package/lib/frame.d.ts +2 -0
- package/lib/fs/content-type.d.ts +1 -0
- package/lib/fs/hybrid.d.ts +10 -0
- package/lib/fs/index.d.ts +87 -0
- package/lib/fs/opfs.d.ts +8 -0
- package/lib/fs/promises.d.ts +8 -0
- package/lib/fs/types.d.ts +16 -0
- package/lib/index.d.ts +18 -0
- package/lib/node-fs/index.d.ts +95 -0
- package/lib/node-fs/shared.d.ts +39 -0
- package/lib/node-fs/store.d.ts +21 -0
- package/lib/opfs/index.d.ts +84 -0
- package/lib/opfs/promises.d.ts +8 -0
- package/lib/overlay.d.ts +14 -0
- package/lib/packages.d.ts +69 -0
- package/lib/proxy.d.ts +5 -0
- package/lib/quota.d.ts +20 -0
- package/lib/react.d.ts +7 -0
- package/lib/relay.d.ts +5 -0
- package/lib/storage.d.ts +22 -0
- package/lib/webvpn/dgram.d.ts +86 -0
- package/lib/webvpn/http.d.ts +180 -0
- package/lib/webvpn/index.d.ts +1 -0
- package/lib/webvpn/net.d.ts +132 -0
- package/lib/webvpn/utils.d.ts +32 -0
- package/net-CpuAhaQC.cjs +1 -0
- package/{net-Bl6_W3bd.js → net-DKMWPXb_.js} +3 -3
- package/net.cjs +1 -1
- package/net.js +2 -3
- package/{node-fs-DQn1TGJz.cjs → node-fs-C0eKnboT.cjs} +1 -1
- package/{node-fs-CdKPXPtW.js → node-fs-Dbf93qP7.js} +1 -1
- package/opfs/promises.cjs +1 -1
- package/opfs/promises.js +0 -1
- package/{opfs-BfcYLPGb.js → opfs-7_GmzQ93.js} +1 -1
- package/opfs-uClkgnb5.cjs +1 -0
- package/opfs.cjs +1 -1
- package/opfs.js +3 -3
- package/package.json +27 -22
- package/packages.cjs +1 -0
- package/packages.js +150 -0
- package/{locator-9s7jNIA2.js → proxy-C8SG1Beo.js} +542 -344
- package/proxy-bPaU3-Cz.cjs +53 -0
- package/react.cjs +1 -1
- package/react.js +1 -1
- package/{chunk-CPXzm0be.js → rolldown-runtime-DF993M8W.js} +1 -1
- package/rolldown-runtime-Doa5O59j.cjs +1 -0
- package/sandbox.d.ts +7 -0
- package/storage-OkwsFLN1.cjs +1 -0
- package/{storage-BcJfnkm3.js → storage-TmeyhZGt.js} +2 -2
- package/{utils-BsNRWMfl.cjs → utils-CoimMjf9.cjs} +1 -1
- package/background-CbU8TkWo.cjs +0 -1
- package/chunk-B6C_zzib.cjs +0 -1
- package/cloud/dgram.d.ts +0 -541
- package/cloud/fs/promises.d.ts +0 -45
- package/cloud/fs.d.ts +0 -75
- package/cloud/http.d.ts +0 -767
- package/cloud/net.d.ts +0 -606
- package/cloud-CWg9zCWm.cjs +0 -1
- package/cloud-eLyGYzbA.js +0 -33
- package/cloud.d.ts +0 -1053
- package/dgram-B3WC4VdJ.cjs +0 -1
- package/dgram.d.ts +0 -541
- package/dns.d.ts +0 -12
- package/extension-BLkZiaAP.js +0 -253
- package/extension-DAiRg5ny.cjs +0 -1
- package/extension.d.ts +0 -859
- package/fs/promises.d.ts +0 -67
- package/fs-DI1maxcZ.cjs +0 -1
- package/fs.d.ts +0 -142
- package/http.d.ts +0 -767
- package/index.d.ts +0 -2316
- package/locator-CHfEe3Jv.cjs +0 -53
- package/net-C5kWnI4C.cjs +0 -1
- package/net.d.ts +0 -606
- package/opfs/promises.d.ts +0 -67
- package/opfs-Dsi4FkJU.cjs +0 -1
- package/opfs.d.ts +0 -140
- package/proxy-A9UvWUaF.cjs +0 -1
- package/proxy-wiZN4eTR.js +0 -14
- package/react.d.ts +0 -12
- package/storage-C2-_-bTO.cjs +0 -1
- /package/{api-ByfayMm1.js → api--bnCFd4w.js} +0 -0
- /package/{connect-button-B_63ldmg.js → connect-button-Ds9KpXHe.js} +0 -0
- /package/{utils-CNydj3OT.js → utils-DPtyxGQu.js} +0 -0
package/opfs.d.ts
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import * as node_fs from 'node:fs';
|
|
2
|
-
|
|
3
|
-
type ReadOptions = BufferEncoding | {
|
|
4
|
-
encoding?: BufferEncoding | null;
|
|
5
|
-
flag?: string;
|
|
6
|
-
} | null | undefined;
|
|
7
|
-
type WriteOptions = BufferEncoding | {
|
|
8
|
-
encoding?: BufferEncoding | null;
|
|
9
|
-
mode?: number;
|
|
10
|
-
flag?: string;
|
|
11
|
-
contentType?: string;
|
|
12
|
-
} | null | undefined;
|
|
13
|
-
type WriteData = string | Uint8Array | ArrayBuffer | DataView;
|
|
14
|
-
type MakeOptions = {
|
|
15
|
-
recursive?: boolean;
|
|
16
|
-
} | number | null | undefined;
|
|
17
|
-
type Callback<R> = (error: NodeJS.ErrnoException | null, result?: R) => void;
|
|
18
|
-
type Stats = {
|
|
19
|
-
size: number;
|
|
20
|
-
mtimeMs: number;
|
|
21
|
-
mtime: Date;
|
|
22
|
-
atimeMs: number;
|
|
23
|
-
ctimeMs: number;
|
|
24
|
-
mode: number;
|
|
25
|
-
isFile: () => boolean;
|
|
26
|
-
isDirectory: () => boolean;
|
|
27
|
-
isSymbolicLink: () => boolean;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare const fs: {
|
|
31
|
-
available: () => Promise<boolean>;
|
|
32
|
-
readFileSync: (path: node_fs.PathLike, options?: ReadOptions) => Buffer | string;
|
|
33
|
-
writeFileSync: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => void;
|
|
34
|
-
appendFileSync: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => void;
|
|
35
|
-
existsSync: (path: node_fs.PathLike) => boolean;
|
|
36
|
-
statSync: (path: node_fs.PathLike) => Stats;
|
|
37
|
-
lstatSync: (path: node_fs.PathLike) => Stats;
|
|
38
|
-
readdirSync: (path: node_fs.PathLike) => string[];
|
|
39
|
-
mkdirSync: (path: node_fs.PathLike, options?: MakeOptions) => void;
|
|
40
|
-
rmSync: (path: node_fs.PathLike, options?: {
|
|
41
|
-
recursive?: boolean;
|
|
42
|
-
force?: boolean;
|
|
43
|
-
}) => void;
|
|
44
|
-
rmdirSync: (path: node_fs.PathLike, options?: {
|
|
45
|
-
recursive?: boolean;
|
|
46
|
-
}) => void;
|
|
47
|
-
unlinkSync: (path: node_fs.PathLike) => void;
|
|
48
|
-
renameSync: (from: node_fs.PathLike, to: node_fs.PathLike) => void;
|
|
49
|
-
readFile: (path: node_fs.PathLike, a: ReadOptions | Callback<Buffer | string>, b?: Callback<Buffer | string>) => void;
|
|
50
|
-
writeFile: (path: node_fs.PathLike, data: WriteData, a: WriteOptions | Callback<void>, b?: Callback<void>) => void;
|
|
51
|
-
appendFile: (path: node_fs.PathLike, data: WriteData, a: WriteOptions | Callback<void>, b?: Callback<void>) => void;
|
|
52
|
-
stat: (path: node_fs.PathLike, callback: Callback<Stats>) => void;
|
|
53
|
-
readdir: (path: node_fs.PathLike, a: unknown, b?: Callback<string[]>) => void;
|
|
54
|
-
mkdir: (path: node_fs.PathLike, a: MakeOptions | Callback<void>, b?: Callback<void>) => void;
|
|
55
|
-
rm: (path: node_fs.PathLike, a: {
|
|
56
|
-
recursive?: boolean;
|
|
57
|
-
force?: boolean;
|
|
58
|
-
} | Callback<void>, b?: Callback<void>) => void;
|
|
59
|
-
unlink: (path: node_fs.PathLike, callback: Callback<void>) => void;
|
|
60
|
-
rename: (from: node_fs.PathLike, to: node_fs.PathLike, callback: Callback<void>) => void;
|
|
61
|
-
exists: (path: node_fs.PathLike, callback: (exists: boolean) => void) => void;
|
|
62
|
-
promises: {
|
|
63
|
-
readFile: (path: node_fs.PathLike, options?: ReadOptions) => Promise<Buffer | string>;
|
|
64
|
-
writeFile: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => Promise<void>;
|
|
65
|
-
appendFile: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => Promise<void>;
|
|
66
|
-
stat: (path: node_fs.PathLike) => Promise<Stats>;
|
|
67
|
-
lstat: (path: node_fs.PathLike) => Promise<Stats>;
|
|
68
|
-
readdir: (path: node_fs.PathLike) => Promise<string[]>;
|
|
69
|
-
mkdir: (path: node_fs.PathLike, options?: MakeOptions) => Promise<void>;
|
|
70
|
-
rm: (path: node_fs.PathLike, options?: {
|
|
71
|
-
recursive?: boolean;
|
|
72
|
-
force?: boolean;
|
|
73
|
-
}) => Promise<void>;
|
|
74
|
-
rmdir: (path: node_fs.PathLike, options?: {
|
|
75
|
-
recursive?: boolean;
|
|
76
|
-
}) => Promise<void>;
|
|
77
|
-
unlink: (path: node_fs.PathLike) => Promise<void>;
|
|
78
|
-
rename: (from: node_fs.PathLike, to: node_fs.PathLike) => Promise<void>;
|
|
79
|
-
access: (path: node_fs.PathLike) => Promise<void>;
|
|
80
|
-
};
|
|
81
|
-
mount: () => Promise<void>;
|
|
82
|
-
flush: () => Promise<void>;
|
|
83
|
-
remount: () => Promise<void>;
|
|
84
|
-
};
|
|
85
|
-
declare const available: () => Promise<boolean>;
|
|
86
|
-
declare const readFileSync: (path: node_fs.PathLike, options?: ReadOptions) => Buffer | string;
|
|
87
|
-
declare const writeFileSync: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => void;
|
|
88
|
-
declare const appendFileSync: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => void;
|
|
89
|
-
declare const existsSync: (path: node_fs.PathLike) => boolean;
|
|
90
|
-
declare const statSync: (path: node_fs.PathLike) => Stats;
|
|
91
|
-
declare const lstatSync: (path: node_fs.PathLike) => Stats;
|
|
92
|
-
declare const readdirSync: (path: node_fs.PathLike) => string[];
|
|
93
|
-
declare const mkdirSync: (path: node_fs.PathLike, options?: MakeOptions) => void;
|
|
94
|
-
declare const rmSync: (path: node_fs.PathLike, options?: {
|
|
95
|
-
recursive?: boolean;
|
|
96
|
-
force?: boolean;
|
|
97
|
-
}) => void;
|
|
98
|
-
declare const rmdirSync: (path: node_fs.PathLike, options?: {
|
|
99
|
-
recursive?: boolean;
|
|
100
|
-
}) => void;
|
|
101
|
-
declare const unlinkSync: (path: node_fs.PathLike) => void;
|
|
102
|
-
declare const renameSync: (from: node_fs.PathLike, to: node_fs.PathLike) => void;
|
|
103
|
-
declare const readFile: (path: node_fs.PathLike, a: ReadOptions | Callback<Buffer | string>, b?: Callback<Buffer | string>) => void;
|
|
104
|
-
declare const writeFile: (path: node_fs.PathLike, data: WriteData, a: WriteOptions | Callback<void>, b?: Callback<void>) => void;
|
|
105
|
-
declare const appendFile: (path: node_fs.PathLike, data: WriteData, a: WriteOptions | Callback<void>, b?: Callback<void>) => void;
|
|
106
|
-
declare const stat: (path: node_fs.PathLike, callback: Callback<Stats>) => void;
|
|
107
|
-
declare const readdir: (path: node_fs.PathLike, a: unknown, b?: Callback<string[]>) => void;
|
|
108
|
-
declare const mkdir: (path: node_fs.PathLike, a: MakeOptions | Callback<void>, b?: Callback<void>) => void;
|
|
109
|
-
declare const rm: (path: node_fs.PathLike, a: {
|
|
110
|
-
recursive?: boolean;
|
|
111
|
-
force?: boolean;
|
|
112
|
-
} | Callback<void>, b?: Callback<void>) => void;
|
|
113
|
-
declare const unlink: (path: node_fs.PathLike, callback: Callback<void>) => void;
|
|
114
|
-
declare const rename: (from: node_fs.PathLike, to: node_fs.PathLike, callback: Callback<void>) => void;
|
|
115
|
-
declare const exists: (path: node_fs.PathLike, callback: (exists: boolean) => void) => void;
|
|
116
|
-
declare const promises: {
|
|
117
|
-
readFile: (path: node_fs.PathLike, options?: ReadOptions) => Promise<Buffer | string>;
|
|
118
|
-
writeFile: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => Promise<void>;
|
|
119
|
-
appendFile: (path: node_fs.PathLike, data: WriteData, options?: WriteOptions) => Promise<void>;
|
|
120
|
-
stat: (path: node_fs.PathLike) => Promise<Stats>;
|
|
121
|
-
lstat: (path: node_fs.PathLike) => Promise<Stats>;
|
|
122
|
-
readdir: (path: node_fs.PathLike) => Promise<string[]>;
|
|
123
|
-
mkdir: (path: node_fs.PathLike, options?: MakeOptions) => Promise<void>;
|
|
124
|
-
rm: (path: node_fs.PathLike, options?: {
|
|
125
|
-
recursive?: boolean;
|
|
126
|
-
force?: boolean;
|
|
127
|
-
}) => Promise<void>;
|
|
128
|
-
rmdir: (path: node_fs.PathLike, options?: {
|
|
129
|
-
recursive?: boolean;
|
|
130
|
-
}) => Promise<void>;
|
|
131
|
-
unlink: (path: node_fs.PathLike) => Promise<void>;
|
|
132
|
-
rename: (from: node_fs.PathLike, to: node_fs.PathLike) => Promise<void>;
|
|
133
|
-
access: (path: node_fs.PathLike) => Promise<void>;
|
|
134
|
-
};
|
|
135
|
-
declare const mount: () => Promise<void>;
|
|
136
|
-
declare const flush: () => Promise<void>;
|
|
137
|
-
declare const remount: () => Promise<void>;
|
|
138
|
-
|
|
139
|
-
export { appendFile, appendFileSync, available, fs as default, exists, existsSync, flush, lstatSync, mkdir, mkdirSync, mount, promises, readFile, readFileSync, readdir, readdirSync, remount, rename, renameSync, rm, rmSync, rmdirSync, stat, statSync, unlink, unlinkSync, writeFile, writeFileSync };
|
|
140
|
-
export type { Stats };
|
package/proxy-A9UvWUaF.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./api-CDb2pv7C.cjs`);var t=[`fkn.app`,`fkn.dev`],n=e=>{let n=typeof e==`string`?e:e instanceof URL?e.href:e.url,r;try{r=new URL(n)}catch{return}let i=r.hostname;if(t.some(e=>i===e||i.endsWith(`.${e}`)))throw Error(`fetch refuses FKN platform domains (${i})`)},r=(t,r)=>(n(t),e.t.then(e=>e.cloud.fetch(t,r)));Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
package/proxy-wiZN4eTR.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./api-ByfayMm1.js";
|
|
2
|
-
//#region src/lib/fkn-target.ts
|
|
3
|
-
var t = ["fkn.app", "fkn.dev"], n = (e) => {
|
|
4
|
-
let n = typeof e == "string" ? e : e instanceof URL ? e.href : e.url, r;
|
|
5
|
-
try {
|
|
6
|
-
r = new URL(n);
|
|
7
|
-
} catch {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
let i = r.hostname;
|
|
11
|
-
if (t.some((e) => i === e || i.endsWith(`.${e}`))) throw Error(`fetch refuses FKN platform domains (${i})`);
|
|
12
|
-
}, r = (t, r) => (n(t), e.then((e) => e.cloud.fetch(t, r)));
|
|
13
|
-
//#endregion
|
|
14
|
-
export { n, r as t };
|
package/react.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
declare const connectButtonUrl: (origin?: string) => string;
|
|
4
|
-
|
|
5
|
-
type ConnectButtonProps = {
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
};
|
|
9
|
-
declare const ConnectButton: ({ className, style }?: ConnectButtonProps) => ReactElement;
|
|
10
|
-
|
|
11
|
-
export { ConnectButton, connectButtonUrl };
|
|
12
|
-
export type { ConnectButtonProps };
|
package/storage-C2-_-bTO.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-B6C_zzib.cjs`),t=require(`./api-CDb2pv7C.cjs`);var n=e.n({available:()=>r,list:()=>i,quota:()=>a,readFile:()=>o,remove:()=>c,writeFile:()=>s}),r=()=>t.t.then(e=>e.cloud.fs.available()).catch(()=>!1),i=()=>t.t.then(e=>e.cloud.fs.list()),a=()=>t.t.then(e=>e.cloud.fs.quota()),o=async e=>{let n=await t.t;return new Blob([await n.cloud.fs.readFile(e)])},s=async(e,n,r)=>{let i=await t.t,a=n instanceof Blob?new Uint8Array(await n.arrayBuffer()):n;await i.cloud.fs.writeFile(e,a,r?.contentType??null)},c=e=>t.t.then(t=>t.cloud.fs.remove(e)).then(()=>void 0);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|