heartraite 1.0.138 → 1.0.140

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.
@@ -0,0 +1,16 @@
1
+ export declare enum FirebaseErrorCode {
2
+ INVALID_ARGUMENT = "invalid-argument",
3
+ NOT_FOUND = "not-found",
4
+ UNAUTHENTICATED = "unauthenticated",
5
+ PERMISSION_DENIED = "permission-denied",
6
+ INTERNAL = "internal",
7
+ UNAVAILABLE = "unavailable",
8
+ DEADLINE_EXCEEDED = "deadline-exceeded",
9
+ RESOURCE_EXHAUSTED = "resource-exhausted",
10
+ ABORTED = "aborted",
11
+ DATA_LOSS = "data-loss",
12
+ ALREADY_EXISTS = "already-exists",
13
+ CANCELLED = "cancelled",
14
+ UNIMPLEMENTED = "unimplemented",
15
+ UNKNOWN = "unknown"
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FirebaseErrorCode = void 0;
4
+ var FirebaseErrorCode;
5
+ (function (FirebaseErrorCode) {
6
+ FirebaseErrorCode["INVALID_ARGUMENT"] = "invalid-argument";
7
+ FirebaseErrorCode["NOT_FOUND"] = "not-found";
8
+ FirebaseErrorCode["UNAUTHENTICATED"] = "unauthenticated";
9
+ FirebaseErrorCode["PERMISSION_DENIED"] = "permission-denied";
10
+ FirebaseErrorCode["INTERNAL"] = "internal";
11
+ FirebaseErrorCode["UNAVAILABLE"] = "unavailable";
12
+ FirebaseErrorCode["DEADLINE_EXCEEDED"] = "deadline-exceeded";
13
+ FirebaseErrorCode["RESOURCE_EXHAUSTED"] = "resource-exhausted";
14
+ FirebaseErrorCode["ABORTED"] = "aborted";
15
+ FirebaseErrorCode["DATA_LOSS"] = "data-loss";
16
+ FirebaseErrorCode["ALREADY_EXISTS"] = "already-exists";
17
+ FirebaseErrorCode["CANCELLED"] = "cancelled";
18
+ FirebaseErrorCode["UNIMPLEMENTED"] = "unimplemented";
19
+ FirebaseErrorCode["UNKNOWN"] = "unknown";
20
+ })(FirebaseErrorCode || (exports.FirebaseErrorCode = FirebaseErrorCode = {}));
@@ -3,6 +3,7 @@ export * from "./ca.enum";
3
3
  export * from "./cloudfunction.enum";
4
4
  export * from "./evaluation.enum";
5
5
  export * from "./environment.enum";
6
+ export * from "./error.enum";
6
7
  export * from "./feedback.enum";
7
8
  export * from "./firestore.enum";
8
9
  export * from "./general.enum";
@@ -19,6 +19,7 @@ __exportStar(require("./ca.enum"), exports);
19
19
  __exportStar(require("./cloudfunction.enum"), exports);
20
20
  __exportStar(require("./evaluation.enum"), exports);
21
21
  __exportStar(require("./environment.enum"), exports);
22
+ __exportStar(require("./error.enum"), exports);
22
23
  __exportStar(require("./feedback.enum"), exports);
23
24
  __exportStar(require("./firestore.enum"), exports);
24
25
  __exportStar(require("./general.enum"), exports);
@@ -56,6 +56,7 @@ export type EventMatchStats = {
56
56
  totalPairs: number;
57
57
  topMatches: EventMatchPair[];
58
58
  averageCompatibility: number;
59
+ excludedParticipantIds: string[];
59
60
  };
60
61
  export type FullEvent = Omit<Event, "participants"> & {
61
62
  participants: FullParticipant[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.138",
3
+ "version": "1.0.140",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,16 @@
1
+ export enum FirebaseErrorCode {
2
+ INVALID_ARGUMENT = "invalid-argument",
3
+ NOT_FOUND = "not-found",
4
+ UNAUTHENTICATED = "unauthenticated",
5
+ PERMISSION_DENIED = "permission-denied",
6
+ INTERNAL = "internal",
7
+ UNAVAILABLE = "unavailable",
8
+ DEADLINE_EXCEEDED = "deadline-exceeded",
9
+ RESOURCE_EXHAUSTED = "resource-exhausted",
10
+ ABORTED = "aborted",
11
+ DATA_LOSS = "data-loss",
12
+ ALREADY_EXISTS = "already-exists",
13
+ CANCELLED = "cancelled",
14
+ UNIMPLEMENTED = "unimplemented",
15
+ UNKNOWN = "unknown",
16
+ }
package/src/enum/index.ts CHANGED
@@ -3,6 +3,7 @@ export * from "./ca.enum";
3
3
  export * from "./cloudfunction.enum";
4
4
  export * from "./evaluation.enum";
5
5
  export * from "./environment.enum";
6
+ export * from "./error.enum";
6
7
  export * from "./feedback.enum";
7
8
  export * from "./firestore.enum";
8
9
  export * from "./general.enum";
@@ -63,6 +63,7 @@ export type EventMatchStats = {
63
63
  totalPairs: number;
64
64
  topMatches: EventMatchPair[];
65
65
  averageCompatibility: number;
66
+ excludedParticipantIds: string[];
66
67
  };
67
68
 
68
69
  export type FullEvent = Omit<Event, "participants"> & {