@prefabs.tech/fastify-firebase 0.89.1 → 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.
@@ -63,5 +63,7 @@ export { default as userDeviceResolver } from "./model/userDevice/graphql/resolv
63
63
  export { default as userDeviceRoutes } from "./model/userDevice/controller";
64
64
  export { default as UserDeviceService } from "./model/userDevice/service";
65
65
  export { default as firebaseSchema } from "./graphql/schema";
66
+ export * from "./constants";
66
67
  export * from "./lib";
68
+ export * from "./migrations/queries";
67
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAElF,OAAO,oBAAoB,MAAM,+BAA+B,CAAC;AACjE,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,eAAe;QACvB,aAAa,EAAE,OAAO,aAAa,CAAC;KACrC;IAED,UAAU,cAAc;QACtB,IAAI,CAAC,EAAE,IAAI,CAAC;KACb;CACF;AAED,OAAO,QAAQ,WAAW,CAAC;IACzB,UAAU,gBAAgB;QACxB,IAAI,EAAE,IAAI,CAAC;KACZ;CACF;AAED,OAAO,QAAQ,8BAA8B,CAAC;IAC5C,UAAU,SAAS;QACjB,QAAQ,EAAE;YACR,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,WAAW,CAAC,EAAE;gBACZ,SAAS,EAAE,MAAM,CAAC;gBAClB,UAAU,EAAE,MAAM,CAAC;gBACnB,WAAW,EAAE,MAAM,CAAC;aACrB,CAAC;YACF,MAAM,CAAC,EAAE;gBACP,aAAa,CAAC,EAAE;oBACd,QAAQ,EAAE,OAAO,CAAC;iBACnB,CAAC;gBACF,WAAW,CAAC,EAAE;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C,EAAE;oBACb,gBAAgB,CAAC,EAAE,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;iBACjE,CAAC;aACH,CAAC;SACH,CAAC;KACH;CACF;AAED,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAExF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ApiConfig } from "@prefabs.tech/fastify-config";
2
+ import type { QuerySqlToken } from "slonik";
3
+ import type { ZodTypeAny } from "zod";
4
+ declare const createUserDevicesTableQuery: (config: ApiConfig) => QuerySqlToken<ZodTypeAny>;
5
+ export { createUserDevicesTableQuery };
6
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../src/migrations/queries.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEtC,QAAA,MAAM,2BAA2B,GAC/B,QAAQ,SAAS,KAChB,aAAa,CAAC,UAAU,CAoB1B,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- sendNotification: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<undefined>;
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<undefined>;
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,uBAsEpB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
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
- type: string;
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":"AAWA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BlC,CAAC"}
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<undefined>;
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,uBAsBxE,CAAC;AAEF,eAAe,aAAa,CAAC"}
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<undefined>;
3
- removeUserDevice: (request: import("supertokens-node/framework/fastify").SessionRequest, reply: import("fastify").FastifyReply) => Promise<undefined>;
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<undefined>;
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,uBAyCpB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
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
- type: string;
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
- type: string;
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":"AAsBA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBlC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBhC,CAAC"}
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"}
@@ -1,3 +1,4 @@
1
+ import "@prefabs.tech/fastify-error-handler";
1
2
  interface UserDevice {
2
3
  userId: string;
3
4
  deviceToken: string;
@@ -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.89.1",
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.89.1",
32
- "@prefabs.tech/fastify-graphql": "0.89.1",
33
- "@prefabs.tech/fastify-slonik": "0.89.1",
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.89.1",
61
- "@prefabs.tech/fastify-graphql": "0.89.1",
62
- "@prefabs.tech/fastify-slonik": "0.89.1",
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",
@@ -1,6 +0,0 @@
1
- import type { ApiConfig } from "@prefabs.tech/fastify-config";
2
- import type { QuerySqlToken } from "slonik";
3
- import type { ZodTypeAny } from "zod";
4
- declare const queryToCreateTable: (config: ApiConfig) => QuerySqlToken<ZodTypeAny>;
5
- export default queryToCreateTable;
6
- //# sourceMappingURL=queryToCreateTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryToCreateTable.d.ts","sourceRoot":"","sources":["../../../src/migrations/queryToCreateTable.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEtC,QAAA,MAAM,kBAAkB,GAAI,QAAQ,SAAS,KAAG,aAAa,CAAC,UAAU,CAoBvE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}