diff --git a/svelte/src/filesystem/FilesystemAPI.ts b/svelte/src/filesystem/FilesystemAPI.ts index 0fb54d1..a3fd1cb 100644 --- a/svelte/src/filesystem/FilesystemAPI.ts +++ b/svelte/src/filesystem/FilesystemAPI.ts @@ -27,6 +27,8 @@ export type FSNode = { abuse_type?: string, abuse_report_time?: string, + custom_domain_name?: string, + file_size: number, file_type: string, sha256_sum: string, @@ -72,6 +74,9 @@ export type FSContext = { // API parameters // ============== +// NodeOptions are options which can be applied by sending a PUT request to a +// filesystem node. This includes all values which can be set in +// FSNode.properties export type NodeOptions = { mode?: number, created?: string, @@ -82,6 +87,11 @@ export type NodeOptions = { link_permissions?: FSPermissions, user_permissions?: { [index: string]: FSPermissions }, password_permissions?: { [index: string]: FSPermissions }, + + // Custom domain name options + custom_domain_name?: string, + custom_domain_cert?: string, + custom_domain_key?: string, } & FSNodeProperties // API methods diff --git a/svelte/src/filesystem/edit_window/AccessControl.svelte b/svelte/src/filesystem/edit_window/AccessControl.svelte index edacc1c..3588a8e 100644 --- a/svelte/src/filesystem/edit_window/AccessControl.svelte +++ b/svelte/src/filesystem/edit_window/AccessControl.svelte @@ -1,36 +1,36 @@ @@ -51,7 +51,7 @@ const del_password = (pass: string) => { Anyone with the link can...