@kinevolution/appwrite-functions-shared-utils 0.1.57 → 0.1.59

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.
@@ -147,13 +147,13 @@ export interface GetAllRequestsDataType {
147
147
  }
148
148
  export type GetAllRequestsResponse = Response<GetAllRequestsDataType>;
149
149
  export interface RemoveRequestsInput {
150
- requestIds: string[];
150
+ requestIds: string;
151
151
  }
152
152
  export declare const RemoveRequestsConfig: {
153
153
  method: "POST";
154
154
  fields: [{
155
155
  readonly key: "requestIds";
156
- readonly type: "array";
156
+ readonly type: "string";
157
157
  readonly required: true;
158
158
  }];
159
159
  };
@@ -30,5 +30,5 @@ export const GetAllRequestsConfig = {
30
30
  };
31
31
  export const RemoveRequestsConfig = {
32
32
  method: 'POST',
33
- fields: [{ key: 'requestIds', type: 'array', required: true }],
33
+ fields: [{ key: 'requestIds', type: 'string', required: true }],
34
34
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.57",
6
+ "version": "0.1.59",
7
7
  "license": "ISC",
8
8
  "author": "Nicolas Forêt <nicolas4@gmail.com>",
9
9
  "description": "Shared utilities for Appwrite functions",
@@ -21,13 +21,12 @@
21
21
  "dist"
22
22
  ],
23
23
  "scripts": {
24
- "bat-update": "cd .. && shared-update.bat",
25
24
  "build": "node ./node_modules/typescript/bin/tsc -p tsconfig.json",
26
25
  "bump-version": "npm run bump-version:patch",
27
26
  "bump-version:major": "gulp bump-version --type=major",
28
27
  "bump-version:minor": "gulp bump-version --type=minor",
29
28
  "bump-version:patch": "gulp bump-version --type=patch",
30
- "deploy": "npm login && npm run build && npm run bump-version && npm publish --access public && npm run bat-update",
29
+ "deploy": "npm login && npm run build && npm run bump-version && npm publish --access public",
31
30
  "npm-update": "npx npkill && del package-lock.json && ncu -u && npm i"
32
31
  },
33
32
  "devDependencies": {