@prefabs.tech/fastify-firebase 0.89.2 → 0.90.0
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/prefabs-tech-fastify-firebase.js +137 -172
- package/dist/prefabs-tech-fastify-firebase.umd.cjs +11 -11
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/model/notification/handlers/index.d.ts +1 -1
- package/dist/types/model/notification/handlers/sendNotification.d.ts +1 -1
- package/dist/types/model/notification/handlers/sendNotification.d.ts.map +1 -1
- package/dist/types/model/notification/schema.d.ts +2 -36
- package/dist/types/model/notification/schema.d.ts.map +1 -1
- package/dist/types/model/userDevice/handlers/addUserDevice.d.ts +1 -1
- package/dist/types/model/userDevice/handlers/addUserDevice.d.ts.map +1 -1
- package/dist/types/model/userDevice/handlers/index.d.ts +2 -2
- package/dist/types/model/userDevice/handlers/removeUserDevice.d.ts +1 -1
- package/dist/types/model/userDevice/handlers/removeUserDevice.d.ts.map +1 -1
- package/dist/types/model/userDevice/schema.d.ts +4 -72
- package/dist/types/model/userDevice/schema.d.ts.map +1 -1
- package/dist/types/types.d.ts +1 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +9 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
sendNotification: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<
|
|
2
|
+
sendNotification: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FastifyReply } from "fastify";
|
|
2
2
|
import type { SessionRequest } from "supertokens-node/framework/fastify";
|
|
3
|
-
declare const testPushNotification: (request: SessionRequest, reply: FastifyReply) => Promise<
|
|
3
|
+
declare const testPushNotification: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
4
4
|
export default testPushNotification;
|
|
5
5
|
//# sourceMappingURL=sendNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendNotification.d.ts","sourceRoot":"","sources":["../../../../../src/model/notification/handlers/sendNotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,oBAAoB,GACxB,SAAS,cAAc,EACvB,OAAO,YAAY,
|
|
1
|
+
{"version":3,"file":"sendNotification.d.ts","sourceRoot":"","sources":["../../../../../src/model/notification/handlers/sendNotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,oBAAoB,GACxB,SAAS,cAAc,EACvB,OAAO,YAAY,kBA4DpB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -29,45 +29,11 @@ export declare const sendNotificationSchema: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
401: {
|
|
32
|
-
type: string;
|
|
33
|
-
properties: {
|
|
34
|
-
code: {
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
error: {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
message: {
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
statusCode: {
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
status: {
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
32
|
description: string;
|
|
33
|
+
$ref: string;
|
|
51
34
|
};
|
|
52
35
|
500: {
|
|
53
|
-
|
|
54
|
-
properties: {
|
|
55
|
-
code: {
|
|
56
|
-
type: string;
|
|
57
|
-
};
|
|
58
|
-
error: {
|
|
59
|
-
type: string;
|
|
60
|
-
};
|
|
61
|
-
message: {
|
|
62
|
-
type: string;
|
|
63
|
-
};
|
|
64
|
-
statusCode: {
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
status: {
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
36
|
+
$ref: string;
|
|
71
37
|
};
|
|
72
38
|
};
|
|
73
39
|
tags: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/model/notification/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/model/notification/schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FastifyReply } from "fastify";
|
|
2
2
|
import type { SessionRequest } from "supertokens-node/framework/fastify";
|
|
3
|
-
declare const addUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<
|
|
3
|
+
declare const addUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
4
4
|
export default addUserDevice;
|
|
5
5
|
//# sourceMappingURL=addUserDevice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/addUserDevice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,aAAa,GAAU,SAAS,cAAc,EAAE,OAAO,YAAY,
|
|
1
|
+
{"version":3,"file":"addUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/addUserDevice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,aAAa,GAAU,SAAS,cAAc,EAAE,OAAO,YAAY,kBAYxE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
addUserDevice: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<
|
|
3
|
-
removeUserDevice: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<
|
|
2
|
+
addUserDevice: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
3
|
+
removeUserDevice: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FastifyReply } from "fastify";
|
|
2
2
|
import type { SessionRequest } from "supertokens-node/framework/fastify";
|
|
3
|
-
declare const removeUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<
|
|
3
|
+
declare const removeUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
4
4
|
export default removeUserDevice;
|
|
5
5
|
//# sourceMappingURL=removeUserDevice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/removeUserDevice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,gBAAgB,GACpB,SAAS,cAAc,EACvB,OAAO,YAAY,
|
|
1
|
+
{"version":3,"file":"removeUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/removeUserDevice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,QAAA,MAAM,gBAAgB,GACpB,SAAS,cAAc,EACvB,OAAO,YAAY,kBA6BpB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -31,45 +31,11 @@ export declare const deleteUserDeviceSchema: {
|
|
|
31
31
|
required: string[];
|
|
32
32
|
};
|
|
33
33
|
401: {
|
|
34
|
-
type: string;
|
|
35
|
-
properties: {
|
|
36
|
-
code: {
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
39
|
-
error: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
message: {
|
|
43
|
-
type: string;
|
|
44
|
-
};
|
|
45
|
-
statusCode: {
|
|
46
|
-
type: string;
|
|
47
|
-
};
|
|
48
|
-
status: {
|
|
49
|
-
type: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
34
|
description: string;
|
|
35
|
+
$ref: string;
|
|
53
36
|
};
|
|
54
37
|
500: {
|
|
55
|
-
|
|
56
|
-
properties: {
|
|
57
|
-
code: {
|
|
58
|
-
type: string;
|
|
59
|
-
};
|
|
60
|
-
error: {
|
|
61
|
-
type: string;
|
|
62
|
-
};
|
|
63
|
-
message: {
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
statusCode: {
|
|
67
|
-
type: string;
|
|
68
|
-
};
|
|
69
|
-
status: {
|
|
70
|
-
type: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
38
|
+
$ref: string;
|
|
73
39
|
};
|
|
74
40
|
};
|
|
75
41
|
tags: string[];
|
|
@@ -107,45 +73,11 @@ export declare const postUserDeviceSchema: {
|
|
|
107
73
|
required: string[];
|
|
108
74
|
};
|
|
109
75
|
401: {
|
|
110
|
-
type: string;
|
|
111
|
-
properties: {
|
|
112
|
-
code: {
|
|
113
|
-
type: string;
|
|
114
|
-
};
|
|
115
|
-
error: {
|
|
116
|
-
type: string;
|
|
117
|
-
};
|
|
118
|
-
message: {
|
|
119
|
-
type: string;
|
|
120
|
-
};
|
|
121
|
-
statusCode: {
|
|
122
|
-
type: string;
|
|
123
|
-
};
|
|
124
|
-
status: {
|
|
125
|
-
type: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
76
|
description: string;
|
|
77
|
+
$ref: string;
|
|
129
78
|
};
|
|
130
79
|
500: {
|
|
131
|
-
|
|
132
|
-
properties: {
|
|
133
|
-
code: {
|
|
134
|
-
type: string;
|
|
135
|
-
};
|
|
136
|
-
error: {
|
|
137
|
-
type: string;
|
|
138
|
-
};
|
|
139
|
-
message: {
|
|
140
|
-
type: string;
|
|
141
|
-
};
|
|
142
|
-
statusCode: {
|
|
143
|
-
type: string;
|
|
144
|
-
};
|
|
145
|
-
status: {
|
|
146
|
-
type: string;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
80
|
+
$ref: string;
|
|
149
81
|
};
|
|
150
82
|
};
|
|
151
83
|
tags: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/model/userDevice/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/model/userDevice/schema.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBlC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBhC,CAAC"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,UAAU,UAAU;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,IAAI;IACZ,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED,KAAK,qBAAqB,GAAG,OAAO,CAClC,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW,CAAC,CAC5C,CAAC;AAEF,KAAK,qBAAqB,GAAG,OAAO,CAClC,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC,CACvD,CAAC;AAEF,YAAY,EACV,qBAAqB,EACrB,IAAI,EACJ,UAAU,EACV,qBAAqB,EACrB,qBAAqB,GACtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,qCAAqC,CAAC;AAC7C,UAAU,UAAU;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,IAAI;IACZ,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED,KAAK,qBAAqB,GAAG,OAAO,CAClC,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW,CAAC,CAC5C,CAAC;AAEF,KAAK,qBAAqB,GAAG,OAAO,CAClC,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC,CACvD,CAAC;AAEF,YAAY,EACV,qBAAqB,EACrB,IAAI,EACJ,UAAU,EACV,qBAAqB,EACrB,qBAAqB,GACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefabs.tech/fastify-firebase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"description": "Fastify firebase plugin",
|
|
5
5
|
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/firebase#readme",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@prefabs.tech/eslint-config": "0.2.0",
|
|
31
|
-
"@prefabs.tech/fastify-config": "0.
|
|
32
|
-
"@prefabs.tech/fastify-
|
|
33
|
-
"@prefabs.tech/fastify-
|
|
31
|
+
"@prefabs.tech/fastify-config": "0.90.0",
|
|
32
|
+
"@prefabs.tech/fastify-error-handler": "0.90.0",
|
|
33
|
+
"@prefabs.tech/fastify-graphql": "0.90.0",
|
|
34
|
+
"@prefabs.tech/fastify-slonik": "0.90.0",
|
|
34
35
|
"@prefabs.tech/tsconfig": "0.2.0",
|
|
35
36
|
"@types/node": "20.19.9",
|
|
36
37
|
"@typescript-eslint/eslint-plugin": "8.38.0",
|
|
@@ -57,9 +58,10 @@
|
|
|
57
58
|
"vitest": "3.2.4"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
|
-
"@prefabs.tech/fastify-config": "0.
|
|
61
|
-
"@prefabs.tech/fastify-
|
|
62
|
-
"@prefabs.tech/fastify-
|
|
61
|
+
"@prefabs.tech/fastify-config": "0.90.0",
|
|
62
|
+
"@prefabs.tech/fastify-error-handler": "0.90.0",
|
|
63
|
+
"@prefabs.tech/fastify-graphql": "0.90.0",
|
|
64
|
+
"@prefabs.tech/fastify-slonik": "0.90.0",
|
|
63
65
|
"fastify": ">=5.2.1",
|
|
64
66
|
"fastify-plugin": ">=5.0.1",
|
|
65
67
|
"mercurius": ">=16.1.0",
|