fundus 0.0.4 → 0.1.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/README.md +18 -8
- package/build/client/_app/immutable/assets/{3.JwgtcTEd.css → 3.C-toFWI4.css} +1 -1
- package/build/client/_app/immutable/assets/3.C-toFWI4.css.br +0 -0
- package/build/client/_app/immutable/assets/3.C-toFWI4.css.gz +0 -0
- package/build/client/_app/immutable/chunks/BA62n9FX.js +108 -0
- package/build/client/_app/immutable/chunks/BA62n9FX.js.br +0 -0
- package/build/client/_app/immutable/chunks/BA62n9FX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DkADHpZF.js → CQsKwm8E.js} +1 -1
- package/build/client/_app/immutable/chunks/CQsKwm8E.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQsKwm8E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DVEQFclp.js → D9-155C9.js} +1 -1
- package/build/client/_app/immutable/chunks/D9-155C9.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9-155C9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DiFoWL2c.js → DVEDrSOn.js} +1 -1
- package/build/client/_app/immutable/chunks/DVEDrSOn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVEDrSOn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cznBUb-E.js +1 -0
- package/build/client/_app/immutable/chunks/cznBUb-E.js.br +0 -0
- package/build/client/_app/immutable/chunks/cznBUb-E.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.CKgtYXQb.js → app.DwQWZs1F.js} +2 -2
- package/build/client/_app/immutable/entry/app.DwQWZs1F.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DwQWZs1F.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DEpAL_8Q.js +1 -0
- package/build/client/_app/immutable/entry/start.DEpAL_8Q.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DEpAL_8Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.I_1SApYQ.js → 0.Sr1WDgiY.js} +1 -1
- package/build/client/_app/immutable/nodes/0.Sr1WDgiY.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Sr1WDgiY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.v6eUTnWq.js → 1.BwHqv728.js} +1 -1
- package/build/client/_app/immutable/nodes/1.BwHqv728.js.br +2 -0
- package/build/client/_app/immutable/nodes/1.BwHqv728.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.DoA7Dfl-.js → 2.DidxYIU-.js} +1 -1
- package/build/client/_app/immutable/nodes/2.DidxYIU-.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DidxYIU-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.C1AavoTf.js +1 -0
- package/build/client/_app/immutable/nodes/3.C1AavoTf.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.C1AavoTf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.CALOuSyz.js → 4.D8UoOONM.js} +2 -2
- package/build/client/_app/immutable/nodes/4.D8UoOONM.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.D8UoOONM.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +7 -7
- package/build/index.js +7 -7
- package/build/server/chunks/chunks/{context.js-BUZqFfWG.js → context.js-CGD-b_vR.js} +7 -3
- package/build/server/chunks/chunks/context.js-CGD-b_vR.js.map +1 -0
- package/build/server/chunks/chunks/core.js-xfrkaQpS.js.map +1 -1
- package/build/server/chunks/chunks/{exports.js-C0rwMMtk.js → exports.js-B4E0NJIt.js} +2 -2
- package/build/server/chunks/chunks/{exports.js-C0rwMMtk.js.map → exports.js-B4E0NJIt.js.map} +1 -1
- package/build/server/chunks/chunks/{http.js-DvopzwKh.js → http.js-Bu-Ao0Vk.js} +2 -2
- package/build/server/chunks/chunks/{http.js-DvopzwKh.js.map → http.js-Bu-Ao0Vk.js.map} +1 -1
- package/build/server/chunks/chunks/{internal.js-DGo2jPcg.js → internal.js-ClSxY3uX.js} +3 -3
- package/build/server/chunks/chunks/{internal.js-DGo2jPcg.js.map → internal.js-ClSxY3uX.js.map} +1 -1
- package/build/server/chunks/chunks/internal2.js-BlXt2rfE.js.map +1 -1
- package/build/server/chunks/chunks/{library-store.js-ZLudCJlT.js → library-store.js-CZCDpai0.js} +53 -2
- package/build/server/chunks/chunks/library-store.js-CZCDpai0.js.map +1 -0
- package/build/server/chunks/chunks/{shared.js-B1gC9MiJ.js → shared.js-CHQOW_GN.js} +2 -2
- package/build/server/chunks/chunks/{shared.js-B1gC9MiJ.js.map → shared.js-CHQOW_GN.js.map} +1 -1
- package/build/server/chunks/chunks/{utils.js-DnEJ3UjO.js → utils.js-B9L6I-_K.js} +3 -3
- package/build/server/chunks/chunks/{utils.js-DnEJ3UjO.js.map → utils.js-B9L6I-_K.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/_...path_/{_server.ts.js-Cq5gXVQT.js → _server.ts.js-PO5RpNzP.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/_...path_/{_server.ts.js-Cq5gXVQT.js.map → _server.ts.js-PO5RpNzP.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/assets/_id_/{_server.ts.js-RXbedi8q.js → _server.ts.js-BmgqGEXs.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/assets/_id_/{_server.ts.js-RXbedi8q.js.map → _server.ts.js-BmgqGEXs.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/assets/_id_/raw/_server.ts.js-DnTOlfHs.js +35 -0
- package/build/server/chunks/entries/endpoints/api/assets/_id_/raw/_server.ts.js-DnTOlfHs.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/assets/{_server.ts.js-D7Qae9vU.js → _server.ts.js-DzdC6OJE.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/assets/{_server.ts.js-D7Qae9vU.js.map → _server.ts.js-DzdC6OJE.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/assets/delete/{_server.ts.js-DtO20kgB.js → _server.ts.js-DXJNoYAs.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/assets/delete/{_server.ts.js-DtO20kgB.js.map → _server.ts.js-DXJNoYAs.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/assets/move/{_server.ts.js-BUebPbd5.js → _server.ts.js-CqdKXoZL.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/assets/move/{_server.ts.js-BUebPbd5.js.map → _server.ts.js-CqdKXoZL.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/folders/_path_/{_server.ts.js-BjT2qPMT.js → _server.ts.js-DIuY66jG.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/folders/_path_/{_server.ts.js-BjT2qPMT.js.map → _server.ts.js-DIuY66jG.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/folders/{_server.ts.js-DYRLsoT7.js → _server.ts.js-D9p-cdJQ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/folders/{_server.ts.js-DYRLsoT7.js.map → _server.ts.js-D9p-cdJQ.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/manifests/_name_/{_server.ts.js-BbN2fGNN.js → _server.ts.js-DP1x-xAW.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/manifests/_name_/{_server.ts.js-BbN2fGNN.js.map → _server.ts.js-DP1x-xAW.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/manifests/{_server.ts.js-b_MKZ41b.js → _server.ts.js-r1eNMvPd.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/manifests/{_server.ts.js-b_MKZ41b.js.map → _server.ts.js-r1eNMvPd.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/api/state/{_server.ts.js-evEfMpvn.js → _server.ts.js-D-m3BwRj.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/state/{_server.ts.js-evEfMpvn.js.map → _server.ts.js-D-m3BwRj.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/files/_...path_/{_server.ts.js-C04XE_1w.js → _server.ts.js-3nyAQ3f0.js} +3 -3
- package/build/server/chunks/entries/endpoints/files/_...path_/{_server.ts.js-C04XE_1w.js.map → _server.ts.js-3nyAQ3f0.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/files/proxy/_...path_/{_server.ts.js-DB8TdoEv.js → _server.ts.js-Ba285FiJ.js} +4 -4
- package/build/server/chunks/entries/endpoints/files/proxy/_...path_/{_server.ts.js-DB8TdoEv.js.map → _server.ts.js-Ba285FiJ.js.map} +1 -1
- package/build/server/chunks/entries/endpoints/files/raw/_...path_/{_server.ts.js-BrpaijZO.js → _server.ts.js-X354l2NP.js} +4 -4
- package/build/server/chunks/entries/endpoints/files/raw/_...path_/{_server.ts.js-BrpaijZO.js.map → _server.ts.js-X354l2NP.js.map} +1 -1
- package/build/server/chunks/entries/{hooks.server.js-BJJwZW_I.js → hooks.server.js-eZ7H27L4.js} +3 -3
- package/build/server/chunks/entries/{hooks.server.js-BJJwZW_I.js.map → hooks.server.js-eZ7H27L4.js.map} +1 -1
- package/build/server/chunks/{handler-DnbS2t1B.js → handler-Dcc_-rVh.js} +5 -5
- package/build/server/chunks/{handler-DnbS2t1B.js.map → handler-Dcc_-rVh.js.map} +1 -1
- package/build/server/chunks/{index.js-g77q3Boj.js → index.js-DoVHd4mf.js} +5 -5
- package/build/server/chunks/{index.js-g77q3Boj.js.map → index.js-DoVHd4mf.js.map} +1 -1
- package/build/server/chunks/{manifest.js-qmEXbstS.js → manifest.js-C_MsDhaa.js} +27 -20
- package/build/server/chunks/manifest.js-C_MsDhaa.js.map +1 -0
- package/build/server/chunks/nodes/0.js-BP6hHAK9.js +11 -0
- package/build/server/chunks/nodes/{0.js-Bk6IZ-vD.js.map → 0.js-BP6hHAK9.js.map} +1 -1
- package/build/server/chunks/nodes/1.js-DKlcrAQP.js +7 -0
- package/build/server/chunks/nodes/{1.js-H-qwo4GJ.js.map → 1.js-DKlcrAQP.js.map} +1 -1
- package/build/server/chunks/nodes/2.js-B-8TTZH_.js +7 -0
- package/build/server/chunks/nodes/{2.js-DRpXVLwp.js.map → 2.js-B-8TTZH_.js.map} +1 -1
- package/build/server/chunks/nodes/3.js-Cf7H6K5p.js +7 -0
- package/build/server/chunks/nodes/3.js-Cf7H6K5p.js.map +1 -0
- package/build/server/chunks/nodes/4.js-JQQZnHWZ.js +7 -0
- package/build/server/chunks/nodes/{4.js-BKL7LSSm.js.map → 4.js-JQQZnHWZ.js.map} +1 -1
- package/dist/cli.js +32 -9
- package/dist/core/api-types.d.ts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/ingest.d.ts +2 -0
- package/dist/core/ingest.js +7 -0
- package/dist/server/cli-commands.d.ts +2 -1
- package/dist/server/cli-commands.js +42 -1
- package/dist/server/cli-init.d.ts +1 -1
- package/dist/server/cli-init.js +23 -5
- package/dist/server/index.d.ts +1 -1
- package/dist/server/library-store.d.ts +11 -0
- package/dist/server/library-store.js +57 -0
- package/dist/server/operations.d.ts +3 -1
- package/dist/server/operations.js +5 -1
- package/dist/server/start.d.ts +4 -2
- package/dist/server/start.js +43 -11
- package/package.json +1 -1
- package/build/client/_app/immutable/assets/3.JwgtcTEd.css.br +0 -0
- package/build/client/_app/immutable/assets/3.JwgtcTEd.css.gz +0 -0
- package/build/client/_app/immutable/chunks/CO4RBJfa.js +0 -1
- package/build/client/_app/immutable/chunks/CO4RBJfa.js.br +0 -0
- package/build/client/_app/immutable/chunks/CO4RBJfa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOpBpjxS.js +0 -108
- package/build/client/_app/immutable/chunks/DOpBpjxS.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOpBpjxS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DVEQFclp.js.br +0 -1
- package/build/client/_app/immutable/chunks/DVEQFclp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DiFoWL2c.js.br +0 -0
- package/build/client/_app/immutable/chunks/DiFoWL2c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkADHpZF.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkADHpZF.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CKgtYXQb.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CKgtYXQb.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CYZu5qE1.js +0 -1
- package/build/client/_app/immutable/entry/start.CYZu5qE1.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CYZu5qE1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.I_1SApYQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.I_1SApYQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.v6eUTnWq.js.br +0 -2
- package/build/client/_app/immutable/nodes/1.v6eUTnWq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DoA7Dfl-.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DoA7Dfl-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.C-DO70Bs.js +0 -1
- package/build/client/_app/immutable/nodes/3.C-DO70Bs.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.C-DO70Bs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CALOuSyz.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CALOuSyz.js.gz +0 -0
- package/build/server/chunks/chunks/context.js-BUZqFfWG.js.map +0 -1
- package/build/server/chunks/chunks/library-store.js-ZLudCJlT.js.map +0 -1
- package/build/server/chunks/manifest.js-qmEXbstS.js.map +0 -1
- package/build/server/chunks/nodes/0.js-Bk6IZ-vD.js +0 -11
- package/build/server/chunks/nodes/1.js-H-qwo4GJ.js +0 -7
- package/build/server/chunks/nodes/2.js-DRpXVLwp.js +0 -7
- package/build/server/chunks/nodes/3.js-CDEzNFeU.js +0 -7
- package/build/server/chunks/nodes/3.js-CDEzNFeU.js.map +0 -1
- package/build/server/chunks/nodes/4.js-BKL7LSSm.js +0 -7
|
@@ -10,13 +10,13 @@ return {
|
|
|
10
10
|
assets: new Set([]),
|
|
11
11
|
mimeTypes: {},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.DEpAL_8Q.js",app:"_app/immutable/entry/app.DwQWZs1F.js",imports:["_app/immutable/entry/start.DEpAL_8Q.js","_app/immutable/chunks/DVEDrSOn.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/entry/app.DwQWZs1F.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
|
-
__memo(() => import('./nodes/0.js-
|
|
16
|
-
__memo(() => import('./nodes/1.js-
|
|
17
|
-
__memo(() => import('./nodes/2.js-
|
|
18
|
-
__memo(() => import('./nodes/3.js-
|
|
19
|
-
__memo(() => import('./nodes/4.js-
|
|
15
|
+
__memo(() => import('./nodes/0.js-BP6hHAK9.js')),
|
|
16
|
+
__memo(() => import('./nodes/1.js-DKlcrAQP.js')),
|
|
17
|
+
__memo(() => import('./nodes/2.js-B-8TTZH_.js')),
|
|
18
|
+
__memo(() => import('./nodes/3.js-Cf7H6K5p.js')),
|
|
19
|
+
__memo(() => import('./nodes/4.js-JQQZnHWZ.js'))
|
|
20
20
|
],
|
|
21
21
|
remotes: {
|
|
22
22
|
|
|
@@ -34,70 +34,77 @@ return {
|
|
|
34
34
|
pattern: /^\/api\/assets\/?$/,
|
|
35
35
|
params: [],
|
|
36
36
|
page: null,
|
|
37
|
-
endpoint: __memo(() => import('./entries/endpoints/api/assets/_server.ts.js-
|
|
37
|
+
endpoint: __memo(() => import('./entries/endpoints/api/assets/_server.ts.js-DzdC6OJE.js'))
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
id: "/api/assets/delete",
|
|
41
41
|
pattern: /^\/api\/assets\/delete\/?$/,
|
|
42
42
|
params: [],
|
|
43
43
|
page: null,
|
|
44
|
-
endpoint: __memo(() => import('./entries/endpoints/api/assets/delete/_server.ts.js-
|
|
44
|
+
endpoint: __memo(() => import('./entries/endpoints/api/assets/delete/_server.ts.js-DXJNoYAs.js'))
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
id: "/api/assets/move",
|
|
48
48
|
pattern: /^\/api\/assets\/move\/?$/,
|
|
49
49
|
params: [],
|
|
50
50
|
page: null,
|
|
51
|
-
endpoint: __memo(() => import('./entries/endpoints/api/assets/move/_server.ts.js-
|
|
51
|
+
endpoint: __memo(() => import('./entries/endpoints/api/assets/move/_server.ts.js-CqdKXoZL.js'))
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
id: "/api/assets/[id]",
|
|
55
55
|
pattern: /^\/api\/assets\/([^/]+?)\/?$/,
|
|
56
56
|
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
|
57
57
|
page: null,
|
|
58
|
-
endpoint: __memo(() => import('./entries/endpoints/api/assets/_id_/_server.ts.js-
|
|
58
|
+
endpoint: __memo(() => import('./entries/endpoints/api/assets/_id_/_server.ts.js-BmgqGEXs.js'))
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "/api/assets/[id]/raw",
|
|
62
|
+
pattern: /^\/api\/assets\/([^/]+?)\/raw\/?$/,
|
|
63
|
+
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
|
64
|
+
page: null,
|
|
65
|
+
endpoint: __memo(() => import('./entries/endpoints/api/assets/_id_/raw/_server.ts.js-DnTOlfHs.js'))
|
|
59
66
|
},
|
|
60
67
|
{
|
|
61
68
|
id: "/api/folders",
|
|
62
69
|
pattern: /^\/api\/folders\/?$/,
|
|
63
70
|
params: [],
|
|
64
71
|
page: null,
|
|
65
|
-
endpoint: __memo(() => import('./entries/endpoints/api/folders/_server.ts.js-
|
|
72
|
+
endpoint: __memo(() => import('./entries/endpoints/api/folders/_server.ts.js-D9p-cdJQ.js'))
|
|
66
73
|
},
|
|
67
74
|
{
|
|
68
75
|
id: "/api/folders/[path]",
|
|
69
76
|
pattern: /^\/api\/folders\/([^/]+?)\/?$/,
|
|
70
77
|
params: [{"name":"path","optional":false,"rest":false,"chained":false}],
|
|
71
78
|
page: null,
|
|
72
|
-
endpoint: __memo(() => import('./entries/endpoints/api/folders/_path_/_server.ts.js-
|
|
79
|
+
endpoint: __memo(() => import('./entries/endpoints/api/folders/_path_/_server.ts.js-DIuY66jG.js'))
|
|
73
80
|
},
|
|
74
81
|
{
|
|
75
82
|
id: "/api/manifests",
|
|
76
83
|
pattern: /^\/api\/manifests\/?$/,
|
|
77
84
|
params: [],
|
|
78
85
|
page: null,
|
|
79
|
-
endpoint: __memo(() => import('./entries/endpoints/api/manifests/_server.ts.js-
|
|
86
|
+
endpoint: __memo(() => import('./entries/endpoints/api/manifests/_server.ts.js-r1eNMvPd.js'))
|
|
80
87
|
},
|
|
81
88
|
{
|
|
82
89
|
id: "/api/manifests/[name]",
|
|
83
90
|
pattern: /^\/api\/manifests\/([^/]+?)\/?$/,
|
|
84
91
|
params: [{"name":"name","optional":false,"rest":false,"chained":false}],
|
|
85
92
|
page: null,
|
|
86
|
-
endpoint: __memo(() => import('./entries/endpoints/api/manifests/_name_/_server.ts.js-
|
|
93
|
+
endpoint: __memo(() => import('./entries/endpoints/api/manifests/_name_/_server.ts.js-DP1x-xAW.js'))
|
|
87
94
|
},
|
|
88
95
|
{
|
|
89
96
|
id: "/api/state",
|
|
90
97
|
pattern: /^\/api\/state\/?$/,
|
|
91
98
|
params: [],
|
|
92
99
|
page: null,
|
|
93
|
-
endpoint: __memo(() => import('./entries/endpoints/api/state/_server.ts.js-
|
|
100
|
+
endpoint: __memo(() => import('./entries/endpoints/api/state/_server.ts.js-D-m3BwRj.js'))
|
|
94
101
|
},
|
|
95
102
|
{
|
|
96
103
|
id: "/api/[...path]",
|
|
97
104
|
pattern: /^\/api(?:\/([^]*))?\/?$/,
|
|
98
105
|
params: [{"name":"path","optional":false,"rest":true,"chained":true}],
|
|
99
106
|
page: null,
|
|
100
|
-
endpoint: __memo(() => import('./entries/endpoints/api/_...path_/_server.ts.js-
|
|
107
|
+
endpoint: __memo(() => import('./entries/endpoints/api/_...path_/_server.ts.js-PO5RpNzP.js'))
|
|
101
108
|
},
|
|
102
109
|
{
|
|
103
110
|
id: "/asset/[id]",
|
|
@@ -111,21 +118,21 @@ return {
|
|
|
111
118
|
pattern: /^\/files\/proxy(?:\/([^]*))?\/?$/,
|
|
112
119
|
params: [{"name":"path","optional":false,"rest":true,"chained":true}],
|
|
113
120
|
page: null,
|
|
114
|
-
endpoint: __memo(() => import('./entries/endpoints/files/proxy/_...path_/_server.ts.js-
|
|
121
|
+
endpoint: __memo(() => import('./entries/endpoints/files/proxy/_...path_/_server.ts.js-Ba285FiJ.js'))
|
|
115
122
|
},
|
|
116
123
|
{
|
|
117
124
|
id: "/files/raw/[...path]",
|
|
118
125
|
pattern: /^\/files\/raw(?:\/([^]*))?\/?$/,
|
|
119
126
|
params: [{"name":"path","optional":false,"rest":true,"chained":true}],
|
|
120
127
|
page: null,
|
|
121
|
-
endpoint: __memo(() => import('./entries/endpoints/files/raw/_...path_/_server.ts.js-
|
|
128
|
+
endpoint: __memo(() => import('./entries/endpoints/files/raw/_...path_/_server.ts.js-X354l2NP.js'))
|
|
122
129
|
},
|
|
123
130
|
{
|
|
124
131
|
id: "/files/[...path]",
|
|
125
132
|
pattern: /^\/files(?:\/([^]*))?\/?$/,
|
|
126
133
|
params: [{"name":"path","optional":false,"rest":true,"chained":true}],
|
|
127
134
|
page: null,
|
|
128
|
-
endpoint: __memo(() => import('./entries/endpoints/files/_...path_/_server.ts.js-
|
|
135
|
+
endpoint: __memo(() => import('./entries/endpoints/files/_...path_/_server.ts.js-3nyAQ3f0.js'))
|
|
129
136
|
},
|
|
130
137
|
{
|
|
131
138
|
id: "/manifests",
|
|
@@ -146,4 +153,4 @@ return {
|
|
|
146
153
|
})();
|
|
147
154
|
|
|
148
155
|
export { manifest as m };
|
|
149
|
-
//# sourceMappingURL=manifest.js-
|
|
156
|
+
//# sourceMappingURL=manifest.js-C_MsDhaa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js-C_MsDhaa.js","sources":["../../../.svelte-kit/output/server/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([]),\n\tmimeTypes: {},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.DEpAL_8Q.js\",app:\"_app/immutable/entry/app.DwQWZs1F.js\",imports:[\"_app/immutable/entry/start.DEpAL_8Q.js\",\"_app/immutable/chunks/DVEDrSOn.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/entry/app.DwQWZs1F.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/xihTtKlq.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js')),\n\t\t\t__memo(() => import('./nodes/3.js')),\n\t\t\t__memo(() => import('./nodes/4.js'))\n\t\t],\n\t\tremotes: {\n\t\t\t\n\t\t},\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/\",\n\t\t\t\tpattern: /^\\/$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/assets\",\n\t\t\t\tpattern: /^\\/api\\/assets\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/assets/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/assets/delete\",\n\t\t\t\tpattern: /^\\/api\\/assets\\/delete\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/assets/delete/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/assets/move\",\n\t\t\t\tpattern: /^\\/api\\/assets\\/move\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/assets/move/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/assets/[id]\",\n\t\t\t\tpattern: /^\\/api\\/assets\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"id\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/assets/_id_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/assets/[id]/raw\",\n\t\t\t\tpattern: /^\\/api\\/assets\\/([^/]+?)\\/raw\\/?$/,\n\t\t\t\tparams: [{\"name\":\"id\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/assets/_id_/raw/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/folders\",\n\t\t\t\tpattern: /^\\/api\\/folders\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/folders/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/folders/[path]\",\n\t\t\t\tpattern: /^\\/api\\/folders\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/folders/_path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/manifests\",\n\t\t\t\tpattern: /^\\/api\\/manifests\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/manifests/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/manifests/[name]\",\n\t\t\t\tpattern: /^\\/api\\/manifests\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"name\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/manifests/_name_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/state\",\n\t\t\t\tpattern: /^\\/api\\/state\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/state/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/[...path]\",\n\t\t\t\tpattern: /^\\/api(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/asset/[id]\",\n\t\t\t\tpattern: /^\\/asset\\/([^/]+?)\\/?$/,\n\t\t\t\tparams: [{\"name\":\"id\",\"optional\":false,\"rest\":false,\"chained\":false}],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 3 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/files/proxy/[...path]\",\n\t\t\t\tpattern: /^\\/files\\/proxy(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/files/proxy/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/files/raw/[...path]\",\n\t\t\t\tpattern: /^\\/files\\/raw(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/files/raw/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/files/[...path]\",\n\t\t\t\tpattern: /^\\/files(?:\\/([^]*))?\\/?$/,\n\t\t\t\tparams: [{\"name\":\"path\",\"optional\":false,\"rest\":true,\"chained\":true}],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/files/_...path_/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/manifests\",\n\t\t\t\tpattern: /^\\/manifests\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 4 },\n\t\t\t\tendpoint: null\n\t\t\t}\n\t\t],\n\t\tprerendered_routes: new Set([]),\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t},\n\t\tserver_assets: {}\n\t}\n}\n})();\n"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,IAAI,KAAK;AACV,CAAC,OAAO,MAAM,KAAK,MAAM,KAAK,GAAG,EAAE,EAAE,CAAC;AACtC;;AAEA,OAAO;AACP,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,OAAO,EAAE,MAAM;AAChB,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACpB,CAAC,SAAS,EAAE,EAAE;AACd,C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AU,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACzE,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,+DAAmD,CAAC;AACtF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,YAAY;AACpB,IAAI,OAAO,EAAE,kBAAkB;AAC/B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd;AACA,GAAG;AACH,EAAE,kBAAkB,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACjC,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI;AACd,EAAE,CAAC;AACH,EAAE,aAAa,EAAE;AACjB;AACA;AACA,CAAC;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const index = 0;
|
|
2
|
+
const universal = {
|
|
3
|
+
"ssr": false
|
|
4
|
+
};
|
|
5
|
+
const universal_id = "src/routes/+layout.ts";
|
|
6
|
+
const imports = ["_app/immutable/nodes/0.Sr1WDgiY.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/DVEDrSOn.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/D9-155C9.js","_app/immutable/chunks/cznBUb-E.js"];
|
|
7
|
+
const stylesheets = ["_app/immutable/assets/0.DLhIsYA_.css"];
|
|
8
|
+
const fonts = [];
|
|
9
|
+
|
|
10
|
+
export { fonts, imports, index, stylesheets, universal, universal_id };
|
|
11
|
+
//# sourceMappingURL=0.js-BP6hHAK9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0.js-
|
|
1
|
+
{"version":3,"file":"0.js-BP6hHAK9.js","sources":["../../../../.svelte-kit/output/server/nodes/0.js"],"sourcesContent":["\n\nexport const index = 0;\nexport const universal = {\n \"ssr\": false\n};\nexport const universal_id = \"src/routes/+layout.ts\";\nexport const imports = [\"_app/immutable/nodes/0.Sr1WDgiY.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/DVEDrSOn.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/D9-155C9.js\",\"_app/immutable/chunks/cznBUb-E.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.DLhIsYA_.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACT,MAAC,SAAS,GAAG;AACzB,EAAE,KAAK,EAAE;AACT;AACY,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpO,MAAC,WAAW,GAAG,CAAC,sCAAsC;AACtD,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
const imports = ["_app/immutable/nodes/1.BwHqv728.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/D9-155C9.js","_app/immutable/chunks/DVEDrSOn.js"];
|
|
3
|
+
const stylesheets = [];
|
|
4
|
+
const fonts = [];
|
|
5
|
+
|
|
6
|
+
export { fonts, imports, index, stylesheets };
|
|
7
|
+
//# sourceMappingURL=1.js-DKlcrAQP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1.js-
|
|
1
|
+
{"version":3,"file":"1.js-DKlcrAQP.js","sources":["../../../../.svelte-kit/output/server/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nexport const imports = [\"_app/immutable/nodes/1.BwHqv728.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/D9-155C9.js\",\"_app/immutable/chunks/DVEDrSOn.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACT,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const index = 2;
|
|
2
|
+
const imports = ["_app/immutable/nodes/2.DidxYIU-.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/DVEDrSOn.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/cznBUb-E.js","_app/immutable/chunks/BA62n9FX.js","_app/immutable/chunks/CQsKwm8E.js"];
|
|
3
|
+
const stylesheets = ["_app/immutable/assets/ConfirmDialog.BdKlitwi.css","_app/immutable/assets/LibraryContextMenu.CMefGNE2.css","_app/immutable/assets/2.ohi-TClG.css"];
|
|
4
|
+
const fonts = [];
|
|
5
|
+
|
|
6
|
+
export { fonts, imports, index, stylesheets };
|
|
7
|
+
//# sourceMappingURL=2.js-B-8TTZH_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2.js-
|
|
1
|
+
{"version":3,"file":"2.js-B-8TTZH_.js","sources":["../../../../.svelte-kit/output/server/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nexport const imports = [\"_app/immutable/nodes/2.DidxYIU-.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/DVEDrSOn.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/cznBUb-E.js\",\"_app/immutable/chunks/BA62n9FX.js\",\"_app/immutable/chunks/CQsKwm8E.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ConfirmDialog.BdKlitwi.css\",\"_app/immutable/assets/LibraryContextMenu.CMefGNE2.css\",\"_app/immutable/assets/2.ohi-TClG.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACT,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG,CAAC,kDAAkD,CAAC,uDAAuD,CAAC,sCAAsC;AACjK,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const index = 3;
|
|
2
|
+
const imports = ["_app/immutable/nodes/3.C1AavoTf.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/DVEDrSOn.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/D9-155C9.js","_app/immutable/chunks/cznBUb-E.js","_app/immutable/chunks/BA62n9FX.js","_app/immutable/chunks/CQsKwm8E.js"];
|
|
3
|
+
const stylesheets = ["_app/immutable/assets/ConfirmDialog.BdKlitwi.css","_app/immutable/assets/LibraryContextMenu.CMefGNE2.css","_app/immutable/assets/3.C-toFWI4.css"];
|
|
4
|
+
const fonts = [];
|
|
5
|
+
|
|
6
|
+
export { fonts, imports, index, stylesheets };
|
|
7
|
+
//# sourceMappingURL=3.js-Cf7H6K5p.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3.js-Cf7H6K5p.js","sources":["../../../../.svelte-kit/output/server/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nexport const imports = [\"_app/immutable/nodes/3.C1AavoTf.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/DVEDrSOn.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/D9-155C9.js\",\"_app/immutable/chunks/cznBUb-E.js\",\"_app/immutable/chunks/BA62n9FX.js\",\"_app/immutable/chunks/CQsKwm8E.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ConfirmDialog.BdKlitwi.css\",\"_app/immutable/assets/LibraryContextMenu.CMefGNE2.css\",\"_app/immutable/assets/3.C-toFWI4.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACT,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG,CAAC,kDAAkD,CAAC,uDAAuD,CAAC,sCAAsC;AACjK,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const index = 4;
|
|
2
|
+
const imports = ["_app/immutable/nodes/4.D8UoOONM.js","_app/immutable/chunks/CNRz3sSw.js","_app/immutable/chunks/DVEDrSOn.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/cznBUb-E.js","_app/immutable/chunks/CQsKwm8E.js"];
|
|
3
|
+
const stylesheets = ["_app/immutable/assets/ConfirmDialog.BdKlitwi.css","_app/immutable/assets/4.p004hmEN.css"];
|
|
4
|
+
const fonts = [];
|
|
5
|
+
|
|
6
|
+
export { fonts, imports, index, stylesheets };
|
|
7
|
+
//# sourceMappingURL=4.js-JQQZnHWZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4.js-
|
|
1
|
+
{"version":3,"file":"4.js-JQQZnHWZ.js","sources":["../../../../.svelte-kit/output/server/nodes/4.js"],"sourcesContent":["\n\nexport const index = 4;\nexport const imports = [\"_app/immutable/nodes/4.D8UoOONM.js\",\"_app/immutable/chunks/CNRz3sSw.js\",\"_app/immutable/chunks/DVEDrSOn.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/cznBUb-E.js\",\"_app/immutable/chunks/CQsKwm8E.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ConfirmDialog.BdKlitwi.css\",\"_app/immutable/assets/4.p004hmEN.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACT,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpO,MAAC,WAAW,GAAG,CAAC,kDAAkD,CAAC,sCAAsC;AACzG,MAAC,KAAK,GAAG;;;;"}
|
package/dist/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ const ROOT_HELP = `fundus — asset management for SvelteKit hosts
|
|
|
25
25
|
Usage: fundus <command> … (run in the host project root, next to fundus.config.ts)
|
|
26
26
|
|
|
27
27
|
Setup:
|
|
28
|
-
init create a
|
|
28
|
+
init create a config and default main manifest
|
|
29
29
|
|
|
30
30
|
Inspect:
|
|
31
31
|
state the full project state: assets, manifests,
|
|
@@ -39,6 +39,7 @@ Mutate (each runs the editor autosave chain: write library → process
|
|
|
39
39
|
affected assets → regenerate manifest modules):
|
|
40
40
|
asset ingest <file> copy a file into the raw dir as a typed asset
|
|
41
41
|
(--type, --id, --manifests, --parameters)
|
|
42
|
+
asset replace <id> <file> replace an asset's raw file, preserving metadata
|
|
42
43
|
asset set <id> merge parameters and/or replace manifest
|
|
43
44
|
membership (--parameters, --manifests)
|
|
44
45
|
asset rename <id> <newId> rename an asset id
|
|
@@ -54,7 +55,8 @@ affected assets → regenerate manifest modules):
|
|
|
54
55
|
manifest delete <name> delete a manifest and strip memberships
|
|
55
56
|
|
|
56
57
|
Pipeline:
|
|
57
|
-
start [--no-open]
|
|
58
|
+
start [--port <number>] [--no-open]
|
|
59
|
+
serve the Fundus SvelteKit editor and API
|
|
58
60
|
build process stale proxies, prune orphans,
|
|
59
61
|
regenerate all manifest modules
|
|
60
62
|
check verify without writing: validation, proxies
|
|
@@ -76,6 +78,7 @@ Exit codes: 0 success · 1 expected error · 2 unexpected crash.
|
|
|
76
78
|
Typical agent lifecycle:
|
|
77
79
|
fundus manifest create mainCatalog --json
|
|
78
80
|
fundus asset ingest ./exports/navigation_panel@2x.png --type slice --json
|
|
81
|
+
fundus asset replace navigationPanel ./exports/navigation_panel_v2.png --json
|
|
79
82
|
fundus asset set navigationPanel --parameters '{"mode": "three-horizontal"}' \\
|
|
80
83
|
--manifests mainCatalog --json
|
|
81
84
|
fundus check
|
|
@@ -129,26 +132,39 @@ async function runCommandGroup(run) {
|
|
|
129
132
|
}
|
|
130
133
|
const START_HELP = `fundus start — serve the Fundus SvelteKit editor and API
|
|
131
134
|
|
|
132
|
-
Usage: fundus start [--no-open]
|
|
135
|
+
Usage: fundus start [--port <number>] [--no-open]
|
|
133
136
|
|
|
134
137
|
Serves the client-rendered editor and fs/processing REST API for the project
|
|
135
138
|
this is run in (the directory containing fundus.config.ts). The library
|
|
136
139
|
is re-read per request; mutations regenerate their derived artifacts.
|
|
137
140
|
The editor and endpoints run in the SvelteKit Node application shipped in the
|
|
138
|
-
npm package at http://127.0.0.1:7583 by default.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
npm package at http://127.0.0.1:7583 by default. Once the server is ready,
|
|
142
|
+
Fundus opens the editor in your default browser. The command fails if that
|
|
143
|
+
build is missing. Stop with Ctrl-C.
|
|
141
144
|
|
|
142
145
|
Every edit autosaves: write library → process affected assets →
|
|
143
146
|
regenerate manifest modules — the same chain the CLI mutations run.
|
|
144
147
|
|
|
145
148
|
Flags:
|
|
149
|
+
--port port to listen on (default: 7583; use 0 to choose a free port)
|
|
146
150
|
--no-open do not open the editor in a browser
|
|
147
151
|
--help this help
|
|
148
152
|
|
|
149
153
|
Example:
|
|
150
|
-
cd my-host-app && npx fundus start
|
|
154
|
+
cd my-host-app && npx fundus start --port 8080
|
|
151
155
|
`;
|
|
156
|
+
function parsePort(value) {
|
|
157
|
+
if (value === undefined)
|
|
158
|
+
return 7583;
|
|
159
|
+
if (typeof value !== 'string' || !/^\d+$/.test(value)) {
|
|
160
|
+
throw new CliUsageError('Flag "--port" must be an integer between 0 and 65535.');
|
|
161
|
+
}
|
|
162
|
+
const port = Number(value);
|
|
163
|
+
if (!Number.isSafeInteger(port) || port > 65_535) {
|
|
164
|
+
throw new CliUsageError('Flag "--port" must be an integer between 0 and 65535.');
|
|
165
|
+
}
|
|
166
|
+
return port;
|
|
167
|
+
}
|
|
152
168
|
const command = process.argv[2];
|
|
153
169
|
const commandArguments = process.argv.slice(3);
|
|
154
170
|
if (command === 'init') {
|
|
@@ -162,14 +178,21 @@ else if (command === 'check') {
|
|
|
162
178
|
}
|
|
163
179
|
else if (command === 'start') {
|
|
164
180
|
await runCommandGroup(async () => {
|
|
165
|
-
const parsed = parseArguments(commandArguments, {
|
|
181
|
+
const parsed = parseArguments(commandArguments, {
|
|
182
|
+
help: { takesValue: false },
|
|
183
|
+
'no-open': { takesValue: false },
|
|
184
|
+
port: { takesValue: true }
|
|
185
|
+
}, 'fundus start');
|
|
166
186
|
requirePositionals(parsed, [], 'fundus start');
|
|
167
187
|
if (parsed.flags.help) {
|
|
168
188
|
console.log(START_HELP);
|
|
169
189
|
return;
|
|
170
190
|
}
|
|
171
191
|
const { runStart } = await import('./server/start.js');
|
|
172
|
-
await runStart(process.cwd(), {
|
|
192
|
+
await runStart(process.cwd(), {
|
|
193
|
+
openBrowser: parsed.flags['no-open'] !== true,
|
|
194
|
+
port: parsePort(parsed.flags.port)
|
|
195
|
+
});
|
|
173
196
|
});
|
|
174
197
|
}
|
|
175
198
|
else if (command === 'state') {
|
package/dist/core/api-types.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface AssetStateDto {
|
|
|
44
44
|
raw: string;
|
|
45
45
|
/** Explicit folder path, or the empty string for the implicit root. */
|
|
46
46
|
folder: string;
|
|
47
|
-
/** URL the Fundus server serves the raw file under
|
|
47
|
+
/** Cache-busted URL the Fundus server serves the raw file under. */
|
|
48
48
|
rawUrl: string;
|
|
49
49
|
rawHash: string;
|
|
50
50
|
parameters: unknown;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { ROOT_FOLDER, FOLDER_SENTINEL, folderNameError, folderPathError, normali
|
|
|
4
4
|
export { RESERVED_ASSET_IDS, isValidAssetId, assetIdError, manifestNameError } from './asset-id.js';
|
|
5
5
|
export type { ManifestColor } from './manifest-appearance.js';
|
|
6
6
|
export { MANIFEST_COLORS, MANIFEST_EMOJIS, isManifestColor, isManifestEmoji, resolveManifestColor, manifestColorError, manifestEmojiError } from './manifest-appearance.js';
|
|
7
|
-
export { acceptedExtensions, typesForFileName, proposeAssetId } from './ingest.js';
|
|
7
|
+
export { acceptedExtensions, acceptedExtensionsForType, typesForFileName, proposeAssetId } from './ingest.js';
|
|
8
8
|
export { canonicalizeParameters, compareCodeUnits } from './canonicalize.js';
|
|
9
9
|
export type { FundusConfig } from './config.js';
|
|
10
10
|
export { defineConfig } from './config.js';
|
package/dist/core/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { createEmptyLibrary, parseLibrary, serializeLibrary } from './library.js
|
|
|
2
2
|
export { ROOT_FOLDER, FOLDER_SENTINEL, folderNameError, folderPathError, normalizeFolderPath, portableFolderPathKey, parentFolderPath, folderNameOf, joinFolderPath, folderOfRawPath, rawFileNameOfPath, isFolderOrDescendant, replaceFolderPrefix } from './folder-path.js';
|
|
3
3
|
export { RESERVED_ASSET_IDS, isValidAssetId, assetIdError, manifestNameError } from './asset-id.js';
|
|
4
4
|
export { MANIFEST_COLORS, MANIFEST_EMOJIS, isManifestColor, isManifestEmoji, resolveManifestColor, manifestColorError, manifestEmojiError } from './manifest-appearance.js';
|
|
5
|
-
export { acceptedExtensions, typesForFileName, proposeAssetId } from './ingest.js';
|
|
5
|
+
export { acceptedExtensions, acceptedExtensionsForType, typesForFileName, proposeAssetId } from './ingest.js';
|
|
6
6
|
export { canonicalizeParameters, compareCodeUnits } from './canonicalize.js';
|
|
7
7
|
export { defineConfig } from './config.js';
|
|
8
8
|
export { createZeroInsets, defaultInsetsForSize, slicedAxesFor, maxInset, maxOverdraw } from './slice-data.js';
|
package/dist/core/ingest.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ import type { AssetTypePluginDescriptor } from './plugins/contract.js';
|
|
|
9
9
|
export declare const BUILT_IN_DESCRIPTORS: AssetTypePluginDescriptor<unknown, unknown>[];
|
|
10
10
|
/** Unique HTML file-picker accept extensions derived from descriptor claims. */
|
|
11
11
|
export declare function acceptedExtensions(descriptors?: AssetTypePluginDescriptor<unknown, unknown>[]): string[];
|
|
12
|
+
/** HTML file-picker extensions accepted by one registered asset type. */
|
|
13
|
+
export declare function acceptedExtensionsForType(type: string, descriptors?: AssetTypePluginDescriptor<unknown, unknown>[]): string[];
|
|
12
14
|
/**
|
|
13
15
|
* Types an ingested file of this extension could become — derived from the
|
|
14
16
|
* descriptors' `accepts` claims. Raster images and video containers are
|
package/dist/core/ingest.js
CHANGED
|
@@ -7,6 +7,13 @@ export function acceptedExtensions(descriptors = BUILT_IN_DESCRIPTORS) {
|
|
|
7
7
|
.sort()
|
|
8
8
|
.map((extension) => `.${extension}`);
|
|
9
9
|
}
|
|
10
|
+
/** HTML file-picker extensions accepted by one registered asset type. */
|
|
11
|
+
export function acceptedExtensionsForType(type, descriptors = BUILT_IN_DESCRIPTORS) {
|
|
12
|
+
return (descriptors
|
|
13
|
+
.find((descriptor) => descriptor.type === type)
|
|
14
|
+
?.accepts.map((extension) => `.${extension}`)
|
|
15
|
+
.sort() ?? []);
|
|
16
|
+
}
|
|
10
17
|
/**
|
|
11
18
|
* Types an ingested file of this extension could become — derived from the
|
|
12
19
|
* descriptors' `accepts` claims. Raster images and video containers are
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export declare const STATE_HELP = "fundus state \u2014 the full project state in one document\n\nUsage: fundus state [--json]\n\nThe agent's one-stop overview: every asset (type, raw file, parameters,\nexplicit + passive manifest memberships, proxy status, reference edges,\nwarnings), every manifest (members, delivered bytes), library-level\nvalidation issues, and the available preset names per asset type.\n\nFlags:\n --json print {\"ok\": true, \"state\": <FundusStateDto>} on stdout\n --help this help\n\nRead-only: nothing is processed or written.\n\nExample:\n fundus state --json | jq '.state.assets[].id'\n";
|
|
2
2
|
export declare function runStateCommand(argumentList: string[]): Promise<void>;
|
|
3
|
-
export declare const ASSET_HELP = "fundus asset \u2014 inspect and mutate assets\n\nUsage: fundus asset <subcommand> \u2026\n\nEvery mutation runs the full editor autosave chain: write library \u2192\nprocess affected assets \u2192 regenerate manifest modules. There is no\nseparate apply/sync step. All subcommands accept --json (a single JSON\ndocument on stdout) and --help.\n\nSubcommands:\n list list assets (--manifest, --type, --warnings-only)\n show one asset in detail\n ingest copy a file into the raw dir as a typed asset\n set merge parameters and/or replace manifest membership\n rename rename an asset id\n move move an asset to a folder or root\n delete delete an asset (record, raw file, proxies)\n\nRun `fundus asset <subcommand> --help` for the focused page (flags,\nsemantics, an example) \u2014 e.g. `fundus asset set --help` documents the\n--parameters merge rules.\n";
|
|
3
|
+
export declare const ASSET_HELP = "fundus asset \u2014 inspect and mutate assets\n\nUsage: fundus asset <subcommand> \u2026\n\nEvery mutation runs the full editor autosave chain: write library \u2192\nprocess affected assets \u2192 regenerate manifest modules. There is no\nseparate apply/sync step. All subcommands accept --json (a single JSON\ndocument on stdout) and --help.\n\nSubcommands:\n list list assets (--manifest, --type, --warnings-only)\n show one asset in detail\n ingest copy a file into the raw dir as a typed asset\n replace replace an asset's raw file while preserving its metadata\n set merge parameters and/or replace manifest membership\n rename rename an asset id\n move move an asset to a folder or root\n delete delete an asset (record, raw file, proxies)\n\nRun `fundus asset <subcommand> --help` for the focused page (flags,\nsemantics, an example) \u2014 e.g. `fundus asset set --help` documents the\n--parameters merge rules.\n";
|
|
4
4
|
export declare const ASSET_LIST_HELP: string;
|
|
5
5
|
export declare const ASSET_SHOW_HELP = "fundus asset show \u2014 one asset in detail\n\nUsage: fundus asset show <id> [--json]\n\nPrints the asset's raw file, content hash, parameters, explicit +\npassive manifest memberships, proxy status, reference edges (outgoing\nand incoming), and warnings.\n\nFlags:\n --json print {\"ok\": true, \"asset\": <AssetStateDto>}\n --help this help\n\nRead-only: nothing is processed or written.\n\nExample:\n fundus asset show navigationPanel --json\n";
|
|
6
6
|
export declare const ASSET_INGEST_HELP: string;
|
|
7
|
+
export declare const ASSET_REPLACE_HELP = "fundus asset replace \u2014 replace an asset's raw file\n\nUsage: fundus asset replace <id> <file> [--json]\n\nReplaces the stored raw file and content hash while preserving the asset's\nid, type, folder, parameters, references, and manifest memberships. The new\nfile must have an extension accepted by the existing asset type. Runs the full\nautosave chain, so delivered assets are reprocessed and manifests regenerated.\n\nFlags:\n --json print {\"ok\": true, \"asset\": <AssetStateDto>, \"issues\": [\u2026]}\n --help this help\n\nExample:\n fundus asset replace navigationPanel ./exports/navigation_panel_v2.png --json\n";
|
|
7
8
|
export declare const ASSET_SET_HELP = "fundus asset set \u2014 update an asset's parameters and/or memberships\n\nUsage: fundus asset set <id> [--parameters <json>] [--manifests <a,b>] [--json]\n\nAt least one of --parameters/--manifests is required. Runs the full\nautosave chain (write library \u2192 process \u2192 regenerate manifest modules).\n\nFlags:\n --parameters <json> SHALLOW MERGE at the top level onto the current\n parameters, then plugin validation:\n {\"preset\": \"webp-hq\"} sets one field,\n keeps the others\n {\"chromaKey\": {\u2026}} replaces the whole\n chromaKey object\n {\"mask\": null} clears an optional\n field\n {\"mask\": {\"$asset\": \"someImage\"}}\n sets an asset\n reference\n --manifests <a,b> REPLACES the explicit membership set (declarative,\n idempotent); --manifests \"\" clears it\n --json print {\"ok\": true, \"asset\": <AssetStateDto>, \"issues\": [\u2026]}\n --help this help\n\nThe mutation is validated first and rejected (exit 1, nothing written)\nif it would leave the library invalid \u2014 e.g. a reference to a missing\nasset, a reference cycle, or an unknown manifest name. Ingest reference\ntargets before pointing at them.\n\nExample:\n fundus asset set characterIdle \\\n --parameters '{\"mask\": {\"$asset\": \"characterIdleMask\"}}' --json\n";
|
|
8
9
|
export declare const ASSET_RENAME_HELP = "fundus asset rename \u2014 rename an asset id\n\nUsage: fundus asset rename <id> <newId> [--json]\n\nRenames the asset's id (the raw file keeps its name \u2014 ids are the\nstable key) and re-hashes its proxy under the new id via the autosave\nchain. Fails if another asset references <id> \u2014 update the referrers\nfirst \u2014 or if <newId> is taken or invalid.\n\nFlags:\n --json print {\"ok\": true, \"asset\": <AssetStateDto>, \"issues\": [\u2026]}\n --help this help\n\nExample:\n fundus asset rename sidebarPanel navigationPanel --json\n";
|
|
9
10
|
export declare const ASSET_DELETE_HELP = "fundus asset delete \u2014 delete an asset\n\nUsage: fundus asset delete <id> [--json]\n\nDeletes the library record, its raw file, and its proxies, then\nregenerates the affected manifest modules. Fails if another asset\nreferences it \u2014 remove the references first.\n\nFlags:\n --json print {\"ok\": true, \"deletedAssetId\": \"<id>\", \"issues\": [\u2026]}\n --help this help\n\nExample:\n fundus asset delete obsoleteBanner --json\n";
|
|
@@ -202,6 +202,7 @@ Subcommands:
|
|
|
202
202
|
list list assets (--manifest, --type, --warnings-only)
|
|
203
203
|
show one asset in detail
|
|
204
204
|
ingest copy a file into the raw dir as a typed asset
|
|
205
|
+
replace replace an asset's raw file while preserving its metadata
|
|
205
206
|
set merge parameters and/or replace manifest membership
|
|
206
207
|
rename rename an asset id
|
|
207
208
|
move move an asset to a folder or root
|
|
@@ -285,6 +286,22 @@ Example:
|
|
|
285
286
|
fundus asset ingest ./exports/navigation_panel@2x.png --type slice \\
|
|
286
287
|
--manifests mainCatalog --json
|
|
287
288
|
`;
|
|
289
|
+
export const ASSET_REPLACE_HELP = `fundus asset replace — replace an asset's raw file
|
|
290
|
+
|
|
291
|
+
Usage: fundus asset replace <id> <file> [--json]
|
|
292
|
+
|
|
293
|
+
Replaces the stored raw file and content hash while preserving the asset's
|
|
294
|
+
id, type, folder, parameters, references, and manifest memberships. The new
|
|
295
|
+
file must have an extension accepted by the existing asset type. Runs the full
|
|
296
|
+
autosave chain, so delivered assets are reprocessed and manifests regenerated.
|
|
297
|
+
|
|
298
|
+
Flags:
|
|
299
|
+
--json print {"ok": true, "asset": <AssetStateDto>, "issues": […]}
|
|
300
|
+
--help this help
|
|
301
|
+
|
|
302
|
+
Example:
|
|
303
|
+
fundus asset replace navigationPanel ./exports/navigation_panel_v2.png --json
|
|
304
|
+
`;
|
|
288
305
|
export const ASSET_SET_HELP = `fundus asset set — update an asset's parameters and/or memberships
|
|
289
306
|
|
|
290
307
|
Usage: fundus asset set <id> [--parameters <json>] [--manifests <a,b>] [--json]
|
|
@@ -368,6 +385,7 @@ const ASSET_SUBCOMMAND_HELP = {
|
|
|
368
385
|
list: ASSET_LIST_HELP,
|
|
369
386
|
show: ASSET_SHOW_HELP,
|
|
370
387
|
ingest: ASSET_INGEST_HELP,
|
|
388
|
+
replace: ASSET_REPLACE_HELP,
|
|
371
389
|
set: ASSET_SET_HELP,
|
|
372
390
|
rename: ASSET_RENAME_HELP,
|
|
373
391
|
move: ASSET_MOVE_HELP,
|
|
@@ -490,6 +508,27 @@ async function runAssetIngest(argumentList) {
|
|
|
490
508
|
}
|
|
491
509
|
printMutationResult(`Ingested "${fileName}" as ${type} asset "${id}".`, asset, state);
|
|
492
510
|
}
|
|
511
|
+
async function runAssetReplace(argumentList) {
|
|
512
|
+
const parsed = parseArguments(argumentList, COMMON_FLAGS, 'fundus asset replace');
|
|
513
|
+
const [id, filePath] = requirePositionals(parsed, ['<id>', '<file>'], 'fundus asset replace');
|
|
514
|
+
const absolutePath = resolve(process.cwd(), filePath);
|
|
515
|
+
let bytes;
|
|
516
|
+
try {
|
|
517
|
+
bytes = new Uint8Array(await readFile(absolutePath));
|
|
518
|
+
}
|
|
519
|
+
catch {
|
|
520
|
+
throw new Error(`Cannot read file "${filePath}".`);
|
|
521
|
+
}
|
|
522
|
+
const fileName = basename(absolutePath);
|
|
523
|
+
const operations = await createOperations();
|
|
524
|
+
const state = await operations.replaceRawFile(id, { fileName, bytes });
|
|
525
|
+
const asset = assetById(state, id);
|
|
526
|
+
if (parsed.flags.json) {
|
|
527
|
+
printJsonDocument({ ok: true, asset, issues: state.issues });
|
|
528
|
+
return;
|
|
529
|
+
}
|
|
530
|
+
printMutationResult(`Replaced raw file for asset "${id}" with "${fileName}".`, asset, state);
|
|
531
|
+
}
|
|
493
532
|
async function runAssetSet(argumentList) {
|
|
494
533
|
const parsed = parseArguments(argumentList, { ...COMMON_FLAGS, parameters: { takesValue: true }, manifests: { takesValue: true } }, 'fundus asset set');
|
|
495
534
|
const [id] = requirePositionals(parsed, ['<id>'], 'fundus asset set');
|
|
@@ -554,7 +593,7 @@ export async function runAssetCommand(argumentList) {
|
|
|
554
593
|
if (subcommand === undefined || subcommand === '--help') {
|
|
555
594
|
console.log(ASSET_HELP);
|
|
556
595
|
if (subcommand === undefined) {
|
|
557
|
-
throw new CliUsageError('`fundus asset` needs a subcommand: list, show, ingest, set, rename, move, delete.');
|
|
596
|
+
throw new CliUsageError('`fundus asset` needs a subcommand: list, show, ingest, replace, set, rename, move, delete.');
|
|
558
597
|
}
|
|
559
598
|
return;
|
|
560
599
|
}
|
|
@@ -570,6 +609,8 @@ export async function runAssetCommand(argumentList) {
|
|
|
570
609
|
return runAssetShow(rest);
|
|
571
610
|
case 'ingest':
|
|
572
611
|
return runAssetIngest(rest);
|
|
612
|
+
case 'replace':
|
|
613
|
+
return runAssetReplace(rest);
|
|
573
614
|
case 'set':
|
|
574
615
|
return runAssetSet(rest);
|
|
575
616
|
case 'rename':
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const FUNDUS_CONFIG_TEMPLATE = "import { defineConfig } from 'fundus/config';\n\nexport default defineConfig({\n\trawDir: './assets/raw',\n\tproxyDir: './static/fundus',\n\tproxyBasePath: '/fundus/',\n\tlibrary: './assets/fundus.library.json',\n\tmanifestsDir: './src/lib/fundus'\n});\n";
|
|
2
|
-
export declare const INIT_HELP = "fundus init \u2014 create a Fundus configuration file\n\nUsage: fundus init [--json]\n\nCreates a template fundus.config.ts in the current directory. The command
|
|
2
|
+
export declare const INIT_HELP = "fundus init \u2014 create a Fundus configuration file\n\nUsage: fundus init [--json]\n\nCreates a template fundus.config.ts and a library with a default \"main\"\nmanifest in the current directory. The command refuses to initialize a project\nthat already has a Fundus configuration file.\n\nFlags:\n --json print {\"ok\": true, \"path\": \"fundus.config.ts\"} on stdout\n --help this help\n\nExample:\n cd my-host-app && npx fundus init\n";
|
|
3
3
|
export declare function runInitCommand(argumentList: string[]): Promise<void>;
|
package/dist/server/cli-init.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { writeFile } from 'node:fs/promises';
|
|
2
|
-
import { resolve } from 'node:path';
|
|
1
|
+
import { mkdir, unlink, writeFile } from 'node:fs/promises';
|
|
2
|
+
import { dirname, resolve } from 'node:path';
|
|
3
|
+
import { createEmptyLibrary, serializeLibrary } from '../core/index.js';
|
|
3
4
|
import { parseArguments, printJsonDocument, requirePositionals } from './cli-io.js';
|
|
4
5
|
export const FUNDUS_CONFIG_TEMPLATE = `import { defineConfig } from 'fundus/config';
|
|
5
6
|
|
|
@@ -15,8 +16,9 @@ export const INIT_HELP = `fundus init — create a Fundus configuration file
|
|
|
15
16
|
|
|
16
17
|
Usage: fundus init [--json]
|
|
17
18
|
|
|
18
|
-
Creates a template fundus.config.ts
|
|
19
|
-
refuses to
|
|
19
|
+
Creates a template fundus.config.ts and a library with a default "main"
|
|
20
|
+
manifest in the current directory. The command refuses to initialize a project
|
|
21
|
+
that already has a Fundus configuration file.
|
|
20
22
|
|
|
21
23
|
Flags:
|
|
22
24
|
--json print {"ok": true, "path": "fundus.config.ts"} on stdout
|
|
@@ -45,9 +47,25 @@ export async function runInitCommand(argumentList) {
|
|
|
45
47
|
}
|
|
46
48
|
throw new Error(`Cannot create fundus.config.ts: ${cause instanceof Error ? cause.message : String(cause)}`);
|
|
47
49
|
}
|
|
50
|
+
const libraryPath = resolve(process.cwd(), 'assets/fundus.library.json');
|
|
51
|
+
const library = createEmptyLibrary();
|
|
52
|
+
library.manifests.main = {};
|
|
53
|
+
try {
|
|
54
|
+
await mkdir(dirname(libraryPath), { recursive: true });
|
|
55
|
+
await writeFile(libraryPath, serializeLibrary(library), { encoding: 'utf8', flag: 'wx' });
|
|
56
|
+
}
|
|
57
|
+
catch (cause) {
|
|
58
|
+
// The config was created by this invocation. Remove it so a failed
|
|
59
|
+
// library scaffold does not make the project look initialized.
|
|
60
|
+
await unlink(configPath).catch(() => { });
|
|
61
|
+
if (cause.code === 'EEXIST') {
|
|
62
|
+
throw new Error(`assets/fundus.library.json already exists in ${process.cwd()}.`);
|
|
63
|
+
}
|
|
64
|
+
throw new Error(`Cannot create assets/fundus.library.json: ${cause instanceof Error ? cause.message : String(cause)}`);
|
|
65
|
+
}
|
|
48
66
|
if (parsed.flags.json) {
|
|
49
67
|
printJsonDocument({ ok: true, path: 'fundus.config.ts' });
|
|
50
68
|
return;
|
|
51
69
|
}
|
|
52
|
-
console.log('Created fundus.config.ts.');
|
|
70
|
+
console.log('Created fundus.config.ts and default "main" manifest.');
|
|
53
71
|
}
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { ResolvedFundusConfig, ResolvedPresetPluginConfig, ResolvedVideoPluginConfig, ResolvedAudioPluginConfig } from './config-loader.js';
|
|
2
2
|
export { loadConfig, resolveConfig } from './config-loader.js';
|
|
3
3
|
export { LibraryStore } from './library-store.js';
|
|
4
|
-
export type { IngestOptions } from './library-store.js';
|
|
4
|
+
export type { IngestOptions, ReplaceRawFileOptions } from './library-store.js';
|
|
5
5
|
export type { AssetProxyInfo, ProxyOutputInfo, ProcessingReport } from './processing/processor.js';
|
|
6
6
|
export { processAssets, expectedProxyFileName, expectedProxyRelativePath, deliveredAssetIds, isProxyFileName, readProxyOutputInfo } from './processing/processor.js';
|
|
7
7
|
export { ffmpegBinaryPath, runToolchainBinary } from './processing/ffmpeg.js';
|
|
@@ -23,6 +23,11 @@ export interface IngestOptions {
|
|
|
23
23
|
/** Registered destination folder; empty string means the implicit root. */
|
|
24
24
|
folder?: string;
|
|
25
25
|
}
|
|
26
|
+
export interface ReplaceRawFileOptions {
|
|
27
|
+
/** Original file name of the replacement (sanitized before storing). */
|
|
28
|
+
fileName: string;
|
|
29
|
+
bytes: Uint8Array;
|
|
30
|
+
}
|
|
26
31
|
export declare class LibraryStore {
|
|
27
32
|
#private;
|
|
28
33
|
constructor(config: ResolvedFundusConfig, registry?: ServerPluginRegistry);
|
|
@@ -37,6 +42,12 @@ export declare class LibraryStore {
|
|
|
37
42
|
* the owning plugin's default parameters. Returns the updated library.
|
|
38
43
|
*/
|
|
39
44
|
ingest(options: IngestOptions): Promise<Library>;
|
|
45
|
+
/**
|
|
46
|
+
* Replace one asset's raw file while preserving its identity and authored
|
|
47
|
+
* metadata. The replacement stays in the current folder, receives a safe
|
|
48
|
+
* non-colliding name, and must be accepted by the asset's existing type.
|
|
49
|
+
*/
|
|
50
|
+
replaceRawFile(id: string, options: ReplaceRawFileOptions): Promise<Library>;
|
|
40
51
|
/** Replace an asset's parameters (validated by the owning plugin). */
|
|
41
52
|
updateParameters(id: string, parameters: unknown): Promise<Library>;
|
|
42
53
|
/** Replace an asset's manifest membership (every name must exist). */
|