@fungi.computer/inkcap 0.17.1 → 0.18.1
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/backend/methods.ts +3 -0
- package/dist/assets/{FileTab-Dh_MXYyL.js → FileTab-Smkh8jZ1.js} +42 -42
- package/dist/assets/InkcapFileTree-BRjtfJ-n.js +1 -0
- package/dist/assets/{InkcapRepositoryApp-D0pW-5wq.js → InkcapRepositoryApp-u5rwb6Rh.js} +1 -1
- package/dist/assets/changes-patch-DlnivtY1.js +45 -0
- package/dist/assets/{dropdown-menu-D1-KaUEJ.js → dropdown-menu-DdYGAUIY.js} +11 -11
- package/dist/assets/index-CaYJ-dN2.js +2 -0
- package/dist/assets/{tree-path-AxEg-Kjh.js → tree-path-EooKFxxV.js} +12 -12
- package/dist/assets/{useFileTree-C86PCVGL.js → useFileTree-Du3Ff3BA.js} +1 -1
- package/dist/assets/{useForm-BDtDFyLf.js → useForm-XHNXsxwN.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +6 -6
- package/dist/assets/InkcapFileTree-BOkmSC0u.js +0 -1
- package/dist/assets/changes-patch-CrPexAyH.js +0 -45
- package/dist/assets/index-DqkwqNVw.js +0 -2
package/backend/methods.ts
CHANGED
|
@@ -180,6 +180,7 @@ export const appBackend = defineAppBackend({
|
|
|
180
180
|
"documents.opened": defineAppMethod({
|
|
181
181
|
description: "Record a successfully opened foreground Computer document",
|
|
182
182
|
effect: "write",
|
|
183
|
+
label: "Note that a document was opened",
|
|
183
184
|
requires: ["computer.readFile", "app.storage"],
|
|
184
185
|
input: documentIdentitySchema,
|
|
185
186
|
output: z.union([documentRecordedSchema, documentActivityRefusalSchema]),
|
|
@@ -189,6 +190,7 @@ export const appBackend = defineAppBackend({
|
|
|
189
190
|
"documents.edited": defineAppMethod({
|
|
190
191
|
description: "Record an accepted Computer document save",
|
|
191
192
|
effect: "write",
|
|
193
|
+
label: "Note that a document was saved",
|
|
192
194
|
requires: ["computer.writeFile", "app.storage"],
|
|
193
195
|
input: documentIdentitySchema,
|
|
194
196
|
output: z.union([documentRecordedSchema, documentActivityRefusalSchema]),
|
|
@@ -257,6 +259,7 @@ export const appBackend = defineAppBackend({
|
|
|
257
259
|
description:
|
|
258
260
|
"Write UTF-8 text on the attached Computer. A missing folder is created first; if it cannot be created the write is refused as parent_not_found, and the path is on the Computer, not the host machine. Supply expectedContent for a compare-and-swap; combined content is limited to 48 KiB. The host owns attribution and the attachment write budget.",
|
|
259
261
|
effect: "write",
|
|
262
|
+
label: "Save a file on your Computer",
|
|
260
263
|
requires: ["computer.writeFile"],
|
|
261
264
|
input: writeInput,
|
|
262
265
|
output: writeReply,
|