@kinevolution/appwrite-functions-shared-utils 0.1.59 → 0.1.61
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.
|
@@ -160,3 +160,51 @@ export declare const RemoveRequestsConfig: {
|
|
|
160
160
|
export interface RemoveRequestsDataType {
|
|
161
161
|
}
|
|
162
162
|
export type RemoveRequestsResponse = Response<RemoveRequestsDataType>;
|
|
163
|
+
export interface MatchRequestsToCandidatesInput {
|
|
164
|
+
}
|
|
165
|
+
export declare const MatchRequestsToCandidatesConfig: {
|
|
166
|
+
method: "POST";
|
|
167
|
+
fields: [];
|
|
168
|
+
};
|
|
169
|
+
export interface MatchRequestsToCandidatesDataType {
|
|
170
|
+
}
|
|
171
|
+
export type MatchRequestsToCandidatesResponse = Response<MatchRequestsToCandidatesDataType>;
|
|
172
|
+
export interface SendNotificationsInput {
|
|
173
|
+
messageId: string;
|
|
174
|
+
title: string;
|
|
175
|
+
body: string;
|
|
176
|
+
user: string;
|
|
177
|
+
data: any;
|
|
178
|
+
scheduledAt: Date;
|
|
179
|
+
}
|
|
180
|
+
export declare const SendNotificationsConfig: {
|
|
181
|
+
method: "POST";
|
|
182
|
+
fields: [{
|
|
183
|
+
readonly key: "messageId";
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
readonly required: true;
|
|
186
|
+
}, {
|
|
187
|
+
readonly key: "title";
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly required: true;
|
|
190
|
+
}, {
|
|
191
|
+
readonly key: "body";
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly required: true;
|
|
194
|
+
}, {
|
|
195
|
+
readonly key: "user";
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly required: true;
|
|
198
|
+
}, {
|
|
199
|
+
readonly key: "data";
|
|
200
|
+
readonly type: "object";
|
|
201
|
+
readonly required: true;
|
|
202
|
+
}, {
|
|
203
|
+
readonly key: "scheduledAt";
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly required: true;
|
|
206
|
+
}];
|
|
207
|
+
};
|
|
208
|
+
export interface SendNotificationsDataType {
|
|
209
|
+
}
|
|
210
|
+
export type SendNotificationsResponse = Response<SendNotificationsDataType>;
|
|
@@ -32,3 +32,18 @@ export const RemoveRequestsConfig = {
|
|
|
32
32
|
method: 'POST',
|
|
33
33
|
fields: [{ key: 'requestIds', type: 'string', required: true }],
|
|
34
34
|
};
|
|
35
|
+
export const MatchRequestsToCandidatesConfig = {
|
|
36
|
+
method: 'POST',
|
|
37
|
+
fields: [],
|
|
38
|
+
};
|
|
39
|
+
export const SendNotificationsConfig = {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
fields: [
|
|
42
|
+
{ key: 'messageId', type: 'string', required: true },
|
|
43
|
+
{ key: 'title', type: 'string', required: true },
|
|
44
|
+
{ key: 'body', type: 'string', required: true },
|
|
45
|
+
{ key: 'user', type: 'string', required: true },
|
|
46
|
+
{ key: 'data', type: 'object', required: true },
|
|
47
|
+
{ key: 'scheduledAt', type: 'string', required: true },
|
|
48
|
+
],
|
|
49
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.61",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"author": "Nicolas Forêt <nicolas4@gmail.com>",
|
|
9
9
|
"description": "Shared utilities for Appwrite functions",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"bump-version:minor": "gulp bump-version --type=minor",
|
|
28
28
|
"bump-version:patch": "gulp bump-version --type=patch",
|
|
29
29
|
"deploy": "npm login && npm run build && npm run bump-version && npm publish --access public",
|
|
30
|
-
"npm-update": "npx npkill && del package-lock.json && ncu -u && npm i"
|
|
30
|
+
"npm-update": "npx npkill -D -y && del package-lock.json && ncu -u && npm i"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "25.5.0",
|