@pelican.ts/sdk 0.4.4 → 0.4.5
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/humane/Server.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -809,6 +809,7 @@ declare class Server {
|
|
|
809
809
|
pullFileFromRemote: (...opts: Parameters<ServerFiles["pullFromRemote"]>) => Promise<void>;
|
|
810
810
|
compressMultipleFiles: (...opts: Parameters<ServerFiles["compress"]>) => Promise<FileObject>;
|
|
811
811
|
renameMultipleFiles: (...opts: Parameters<ServerFiles["rename"]>) => Promise<void>;
|
|
812
|
+
deleteMultipleFiles: (...opts: Parameters<ServerFiles["delete"]>) => Promise<void>;
|
|
812
813
|
getUsers: () => Promise<ServerUser[]>;
|
|
813
814
|
createUser: (email: string, permissions: SubuserPermission[] | string[]) => Promise<ServerUser>;
|
|
814
815
|
getStartupInfo: () => Promise<CustomListResponse<StartupParams, StartupMeta>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -809,6 +809,7 @@ declare class Server {
|
|
|
809
809
|
pullFileFromRemote: (...opts: Parameters<ServerFiles["pullFromRemote"]>) => Promise<void>;
|
|
810
810
|
compressMultipleFiles: (...opts: Parameters<ServerFiles["compress"]>) => Promise<FileObject>;
|
|
811
811
|
renameMultipleFiles: (...opts: Parameters<ServerFiles["rename"]>) => Promise<void>;
|
|
812
|
+
deleteMultipleFiles: (...opts: Parameters<ServerFiles["delete"]>) => Promise<void>;
|
|
812
813
|
getUsers: () => Promise<ServerUser[]>;
|
|
813
814
|
createUser: (email: string, permissions: SubuserPermission[] | string[]) => Promise<ServerUser>;
|
|
814
815
|
getStartupInfo: () => Promise<CustomListResponse<StartupParams, StartupMeta>>;
|
package/dist/index.js
CHANGED
|
@@ -2161,6 +2161,7 @@ var Server = class {
|
|
|
2161
2161
|
pullFileFromRemote = async (...opts) => this.client.files.pullFromRemote(...opts);
|
|
2162
2162
|
compressMultipleFiles = async (...opts) => this.client.files.compress(...opts);
|
|
2163
2163
|
renameMultipleFiles = async (...opts) => this.client.files.rename(...opts);
|
|
2164
|
+
deleteMultipleFiles = async (...opts) => this.client.files.delete(...opts);
|
|
2164
2165
|
getUsers = async () => {
|
|
2165
2166
|
const data = await this.client.users.list();
|
|
2166
2167
|
return data.map((d) => new ServerUser(this.client, d));
|
package/dist/index.mjs
CHANGED
|
@@ -2116,6 +2116,7 @@ var Server = class {
|
|
|
2116
2116
|
pullFileFromRemote = async (...opts) => this.client.files.pullFromRemote(...opts);
|
|
2117
2117
|
compressMultipleFiles = async (...opts) => this.client.files.compress(...opts);
|
|
2118
2118
|
renameMultipleFiles = async (...opts) => this.client.files.rename(...opts);
|
|
2119
|
+
deleteMultipleFiles = async (...opts) => this.client.files.delete(...opts);
|
|
2119
2120
|
getUsers = async () => {
|
|
2120
2121
|
const data = await this.client.users.list();
|
|
2121
2122
|
return data.map((d) => new ServerUser(this.client, d));
|
package/package.json
CHANGED
package/src/humane/Server.ts
CHANGED
|
@@ -194,6 +194,10 @@ export class Server {
|
|
|
194
194
|
...opts: Parameters<ServerFiles["rename"]>
|
|
195
195
|
) => this.client.files.rename(...opts)
|
|
196
196
|
|
|
197
|
+
deleteMultipleFiles = async (
|
|
198
|
+
...opts: Parameters<ServerFiles["delete"]>
|
|
199
|
+
) => this.client.files.delete(...opts)
|
|
200
|
+
|
|
197
201
|
getUsers = async () => {
|
|
198
202
|
const data = await this.client.users.list()
|
|
199
203
|
return data.map((d) => new ServerUser(this.client, d))
|