@uptime.app/contracts 1.0.13-user-context.1 → 1.0.13
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/cjs/index.d.ts +0 -6
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.d.ts +0 -6
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +0 -9
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.d.ts +0 -36
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.d.ts.map +0 -1
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.js +0 -3
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.js.map +0 -1
- package/dist/cjs/draft-hack-generation/draft-hack-generation.d.ts +0 -39
- package/dist/cjs/draft-hack-generation/draft-hack-generation.d.ts.map +0 -1
- package/dist/cjs/draft-hack-generation/draft-hack-generation.js +0 -3
- package/dist/cjs/draft-hack-generation/draft-hack-generation.js.map +0 -1
- package/dist/cjs/entitlement/user-entitlements-events.d.ts +0 -18
- package/dist/cjs/entitlement/user-entitlements-events.d.ts.map +0 -1
- package/dist/cjs/entitlement/user-entitlements-events.js +0 -3
- package/dist/cjs/entitlement/user-entitlements-events.js.map +0 -1
- package/dist/cjs/entitlement/user-entitlements.d.ts +0 -17
- package/dist/cjs/entitlement/user-entitlements.d.ts.map +0 -1
- package/dist/cjs/entitlement/user-entitlements.js +0 -3
- package/dist/cjs/entitlement/user-entitlements.js.map +0 -1
- package/dist/cjs/user-context/user-context-events.d.ts +0 -18
- package/dist/cjs/user-context/user-context-events.d.ts.map +0 -1
- package/dist/cjs/user-context/user-context-events.js +0 -3
- package/dist/cjs/user-context/user-context-events.js.map +0 -1
- package/dist/cjs/user-context/user-context.d.ts +0 -17
- package/dist/cjs/user-context/user-context.d.ts.map +0 -1
- package/dist/cjs/user-context/user-context.js +0 -3
- package/dist/cjs/user-context/user-context.js.map +0 -1
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.d.ts +0 -36
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.d.ts.map +0 -1
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.js +0 -2
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.js.map +0 -1
- package/dist/esm/draft-hack-generation/draft-hack-generation.d.ts +0 -39
- package/dist/esm/draft-hack-generation/draft-hack-generation.d.ts.map +0 -1
- package/dist/esm/draft-hack-generation/draft-hack-generation.js +0 -2
- package/dist/esm/draft-hack-generation/draft-hack-generation.js.map +0 -1
- package/dist/esm/entitlement/user-entitlements-events.d.ts +0 -18
- package/dist/esm/entitlement/user-entitlements-events.d.ts.map +0 -1
- package/dist/esm/entitlement/user-entitlements-events.js +0 -2
- package/dist/esm/entitlement/user-entitlements-events.js.map +0 -1
- package/dist/esm/entitlement/user-entitlements.d.ts +0 -17
- package/dist/esm/entitlement/user-entitlements.d.ts.map +0 -1
- package/dist/esm/entitlement/user-entitlements.js +0 -2
- package/dist/esm/entitlement/user-entitlements.js.map +0 -1
- package/dist/esm/user-context/user-context-events.d.ts +0 -18
- package/dist/esm/user-context/user-context-events.d.ts.map +0 -1
- package/dist/esm/user-context/user-context-events.js +0 -2
- package/dist/esm/user-context/user-context-events.js.map +0 -1
- package/dist/esm/user-context/user-context.d.ts +0 -17
- package/dist/esm/user-context/user-context.d.ts.map +0 -1
- package/dist/esm/user-context/user-context.js +0 -2
- package/dist/esm/user-context/user-context.js.map +0 -1
- package/src/draft-hack-generation/draft-hack-generation-events.ts +0 -42
- package/src/draft-hack-generation/draft-hack-generation.ts +0 -38
- package/src/entitlement/user-entitlements-events.ts +0 -21
- package/src/entitlement/user-entitlements.ts +0 -18
- package/src/user-context/user-context-events.ts +0 -21
- package/src/user-context/user-context.ts +0 -17
package/dist/cjs/index.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ export * from './distribution/hack-distribution';
|
|
|
11
11
|
export * from './distribution/collection-distribution';
|
|
12
12
|
export * from './draft-hack/draft-hack';
|
|
13
13
|
export * from './draft-hack/draft-hack-events';
|
|
14
|
-
export * from './draft-hack-generation/draft-hack-generation';
|
|
15
|
-
export * from './draft-hack-generation/draft-hack-generation-events';
|
|
16
14
|
export * from './enriched-hack/enriched-hack';
|
|
17
15
|
export * from './enriched-hack/enriched-hack-events';
|
|
18
16
|
export * from './hack/extracted-subject';
|
|
@@ -45,8 +43,4 @@ export * from './text-to-speech/speech-created-events';
|
|
|
45
43
|
export * from './text-to-speech/text-segment';
|
|
46
44
|
export * from './theme/theme';
|
|
47
45
|
export * from './theme/theme-events';
|
|
48
|
-
export * from './entitlement/user-entitlements';
|
|
49
|
-
export * from './entitlement/user-entitlements-events';
|
|
50
|
-
export * from './user-context/user-context';
|
|
51
|
-
export * from './user-context/user-context-events';
|
|
52
46
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAElC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -27,8 +27,6 @@ __exportStar(require("./distribution/hack-distribution"), exports);
|
|
|
27
27
|
__exportStar(require("./distribution/collection-distribution"), exports);
|
|
28
28
|
__exportStar(require("./draft-hack/draft-hack"), exports);
|
|
29
29
|
__exportStar(require("./draft-hack/draft-hack-events"), exports);
|
|
30
|
-
__exportStar(require("./draft-hack-generation/draft-hack-generation"), exports);
|
|
31
|
-
__exportStar(require("./draft-hack-generation/draft-hack-generation-events"), exports);
|
|
32
30
|
__exportStar(require("./enriched-hack/enriched-hack"), exports);
|
|
33
31
|
__exportStar(require("./enriched-hack/enriched-hack-events"), exports);
|
|
34
32
|
__exportStar(require("./hack/extracted-subject"), exports);
|
|
@@ -61,8 +59,4 @@ __exportStar(require("./text-to-speech/speech-created-events"), exports);
|
|
|
61
59
|
__exportStar(require("./text-to-speech/text-segment"), exports);
|
|
62
60
|
__exportStar(require("./theme/theme"), exports);
|
|
63
61
|
__exportStar(require("./theme/theme-events"), exports);
|
|
64
|
-
__exportStar(require("./entitlement/user-entitlements"), exports);
|
|
65
|
-
__exportStar(require("./entitlement/user-entitlements-events"), exports);
|
|
66
|
-
__exportStar(require("./user-context/user-context"), exports);
|
|
67
|
-
__exportStar(require("./user-context/user-context-events"), exports);
|
|
68
62
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,uEAAqD;AAErD,sEAAoD;AACpD,6EAA2D;AAE3D,6EAA2D;AAC3D,oFAAkE;AAElE,gDAA8B;AAC9B,uDAAqC;AAErC,qEAAmD;AACnD,mEAAiD;AACjD,yEAAuD;AAEvD,0DAAwC;AACxC,iEAA+C;AAE/C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,uEAAqD;AAErD,sEAAoD;AACpD,6EAA2D;AAE3D,6EAA2D;AAC3D,oFAAkE;AAElE,gDAA8B;AAC9B,uDAAqC;AAErC,qEAAmD;AACnD,mEAAiD;AACjD,yEAAuD;AAEvD,0DAAwC;AACxC,iEAA+C;AAE/C,gEAA8C;AAC9C,uEAAqD;AAErD,2DAAyC;AACzC,8CAA4B;AAC5B,yDAAuC;AACvC,qDAAmC;AACnC,gEAA8C;AAE9C,gEAA8C;AAC9C,uEAAqD;AAErD,sEAAoD;AACpD,6EAA2D;AAE3D,8DAA4C;AAC5C,iEAA+C;AAC/C,qEAAmD;AACnD,mEAAiD;AAEjD,8DAA4C;AAC5C,qEAAmD;AACnD,yEAAuD;AACvD,gFAA8D;AAE9D,oDAAkC;AAClC,+DAA6C;AAC7C,2DAAyC;AAEzC,+DAA6C;AAC7C,6DAA2C;AAC3C,oDAAkC;AAElC,8CAA4B;AAC5B,qDAAmC;AAEnC,0EAAwD;AACxD,yEAAuD;AACvD,gEAA8C;AAE9C,gDAA8B;AAC9B,uDAAqC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ export * from './distribution/hack-distribution';
|
|
|
11
11
|
export * from './distribution/collection-distribution';
|
|
12
12
|
export * from './draft-hack/draft-hack';
|
|
13
13
|
export * from './draft-hack/draft-hack-events';
|
|
14
|
-
export * from './draft-hack-generation/draft-hack-generation';
|
|
15
|
-
export * from './draft-hack-generation/draft-hack-generation-events';
|
|
16
14
|
export * from './enriched-hack/enriched-hack';
|
|
17
15
|
export * from './enriched-hack/enriched-hack-events';
|
|
18
16
|
export * from './hack/extracted-subject';
|
|
@@ -45,8 +43,4 @@ export * from './text-to-speech/speech-created-events';
|
|
|
45
43
|
export * from './text-to-speech/text-segment';
|
|
46
44
|
export * from './theme/theme';
|
|
47
45
|
export * from './theme/theme-events';
|
|
48
|
-
export * from './entitlement/user-entitlements';
|
|
49
|
-
export * from './entitlement/user-entitlements-events';
|
|
50
|
-
export * from './user-context/user-context';
|
|
51
|
-
export * from './user-context/user-context-events';
|
|
52
46
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAElC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -11,8 +11,6 @@ export * from './distribution/hack-distribution';
|
|
|
11
11
|
export * from './distribution/collection-distribution';
|
|
12
12
|
export * from './draft-hack/draft-hack';
|
|
13
13
|
export * from './draft-hack/draft-hack-events';
|
|
14
|
-
export * from './draft-hack-generation/draft-hack-generation';
|
|
15
|
-
export * from './draft-hack-generation/draft-hack-generation-events';
|
|
16
14
|
export * from './enriched-hack/enriched-hack';
|
|
17
15
|
export * from './enriched-hack/enriched-hack-events';
|
|
18
16
|
export * from './hack/extracted-subject';
|
|
@@ -45,8 +43,4 @@ export * from './text-to-speech/speech-created-events';
|
|
|
45
43
|
export * from './text-to-speech/text-segment';
|
|
46
44
|
export * from './theme/theme';
|
|
47
45
|
export * from './theme/theme-events';
|
|
48
|
-
export * from './entitlement/user-entitlements';
|
|
49
|
-
export * from './entitlement/user-entitlements-events';
|
|
50
|
-
export * from './user-context/user-context';
|
|
51
|
-
export * from './user-context/user-context-events';
|
|
52
46
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAElC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "1.0.13
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"typescript": "^5.4.3"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "28d80f240c4842ab923299d17cf36fe22ffb9e6e"
|
|
17
17
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,9 +17,6 @@ export * from './distribution/collection-distribution';
|
|
|
17
17
|
export * from './draft-hack/draft-hack';
|
|
18
18
|
export * from './draft-hack/draft-hack-events';
|
|
19
19
|
|
|
20
|
-
export * from './draft-hack-generation/draft-hack-generation';
|
|
21
|
-
export * from './draft-hack-generation/draft-hack-generation-events';
|
|
22
|
-
|
|
23
20
|
export * from './enriched-hack/enriched-hack';
|
|
24
21
|
export * from './enriched-hack/enriched-hack-events';
|
|
25
22
|
|
|
@@ -62,9 +59,3 @@ export * from './text-to-speech/text-segment';
|
|
|
62
59
|
|
|
63
60
|
export * from './theme/theme';
|
|
64
61
|
export * from './theme/theme-events';
|
|
65
|
-
|
|
66
|
-
export * from './entitlement/user-entitlements';
|
|
67
|
-
export * from './entitlement/user-entitlements-events';
|
|
68
|
-
|
|
69
|
-
export * from './user-context/user-context';
|
|
70
|
-
export * from './user-context/user-context-events';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { GeneratedDraftHackContent } from './draft-hack-generation';
|
|
2
|
-
export interface DraftHackGenerated {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'DraftHackGenerated';
|
|
5
|
-
payload: {
|
|
6
|
-
id: string;
|
|
7
|
-
v: number;
|
|
8
|
-
reference: string;
|
|
9
|
-
draftHackId: string;
|
|
10
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface DraftHackGenerationFailed {
|
|
14
|
-
id: string;
|
|
15
|
-
type: 'DraftHackGenerationFailed';
|
|
16
|
-
payload: {
|
|
17
|
-
reference: string;
|
|
18
|
-
errorMessage: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export interface GeneratedDraftHackSavedToGoogleDrive {
|
|
22
|
-
id: string;
|
|
23
|
-
type: 'GeneratedDraftHackSavedToGoogleDrive';
|
|
24
|
-
payload: {
|
|
25
|
-
id: string;
|
|
26
|
-
v: number;
|
|
27
|
-
reference: string;
|
|
28
|
-
draftHackId: string;
|
|
29
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
30
|
-
driveFile: {
|
|
31
|
-
id: string;
|
|
32
|
-
parentId: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=draft-hack-generation-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation-events.d.ts","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE;QAEL,EAAE,EAAE,MAAM,CAAC;QAEX,CAAC,EAAE,MAAM,CAAC;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,yBAAyB,CAAC;KAC/C,CAAA;CACJ;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;KACxB,CAAA;CACJ;AAED,MAAM,WAAW,oCAAoC;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,sCAAsC,CAAC;IAC7C,OAAO,EAAE;QAEL,EAAE,EAAE,MAAM,CAAC;QAEX,CAAC,EAAE,MAAM,CAAC;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,yBAAyB,CAAC;QAC5C,SAAS,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;YACX,QAAQ,EAAE,MAAM,CAAC;SACpB,CAAA;KACJ,CAAA;CACJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation-events.js","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export interface GeneratedDraftHackContent {
|
|
2
|
-
title: string;
|
|
3
|
-
segments: GeneratedDraftHackSegments;
|
|
4
|
-
coverUrl?: string;
|
|
5
|
-
topics: GeneratedDraftTopic[];
|
|
6
|
-
notification: GeneratedDraftHackNotification;
|
|
7
|
-
contributors: GeneratedDraftContributor[];
|
|
8
|
-
}
|
|
9
|
-
export interface GeneratedDraftHackSegments {
|
|
10
|
-
favouriteQuote: GeneratedDraftHackSegment;
|
|
11
|
-
inANutshell: GeneratedDraftHackSegment;
|
|
12
|
-
introduction: GeneratedDraftHackSegment;
|
|
13
|
-
insights: GeneratedDraftHackInsightSegment[];
|
|
14
|
-
conclusion: GeneratedDraftHackSegment;
|
|
15
|
-
}
|
|
16
|
-
export interface GeneratedDraftHackSegment {
|
|
17
|
-
paragraphCards: GeneratedDraftHackCard[][];
|
|
18
|
-
}
|
|
19
|
-
export interface GeneratedDraftHackCard {
|
|
20
|
-
markdown: string;
|
|
21
|
-
}
|
|
22
|
-
export interface GeneratedDraftHackInsightSegment extends GeneratedDraftHackSegment {
|
|
23
|
-
title: string;
|
|
24
|
-
actions: GeneratedDraftHackAction[];
|
|
25
|
-
}
|
|
26
|
-
export interface GeneratedDraftHackAction {
|
|
27
|
-
title: string;
|
|
28
|
-
markdown: string;
|
|
29
|
-
}
|
|
30
|
-
export interface GeneratedDraftTopic {
|
|
31
|
-
name: string;
|
|
32
|
-
}
|
|
33
|
-
export interface GeneratedDraftHackNotification {
|
|
34
|
-
aiGeneratedText: string;
|
|
35
|
-
}
|
|
36
|
-
export interface GeneratedDraftContributor {
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=draft-hack-generation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation.d.ts","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,YAAY,EAAE,8BAA8B,CAAC;IAC7C,YAAY,EAAE,yBAAyB,EAAE,CAAC;CAC7C;AACD,MAAM,WAAW,0BAA0B;IACvC,cAAc,EAAE,yBAAyB,CAAC;IAC1C,WAAW,EAAE,yBAAyB,CAAC;IACvC,YAAY,EAAE,yBAAyB,CAAC;IACxC,QAAQ,EAAE,gCAAgC,EAAE,CAAC;IAC7C,UAAU,EAAE,yBAAyB,CAAC;CACzC;AACD,MAAM,WAAW,yBAAyB;IACtC,cAAc,EAAE,sBAAsB,EAAE,EAAE,CAAC;CAC9C;AACD,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,gCAAiC,SAAQ,yBAAyB;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACvC;AACD,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,8BAA8B;IAC3C,eAAe,EAAE,MAAM,CAAC;CAC3B;AACD,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation.js","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { UserEntitlements } from "./user-entitlements";
|
|
2
|
-
export interface UserEntitlementsCreatedEvent {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'UserEntitlementsCreated';
|
|
5
|
-
payload: UserEntitlements;
|
|
6
|
-
}
|
|
7
|
-
export interface UserEntitlementsUpdatedEvent {
|
|
8
|
-
id: string;
|
|
9
|
-
type: 'UserEntitlementsUpdated';
|
|
10
|
-
payload: UserEntitlements;
|
|
11
|
-
}
|
|
12
|
-
export interface UserEntitlementsDeletedEvent {
|
|
13
|
-
id: string;
|
|
14
|
-
type: 'UserEntitlementsDeleted';
|
|
15
|
-
payload: UserEntitlements;
|
|
16
|
-
}
|
|
17
|
-
export type UserEntitlementsChangedEvent = UserEntitlementsCreatedEvent | UserEntitlementsUpdatedEvent | UserEntitlementsDeletedEvent;
|
|
18
|
-
//# sourceMappingURL=user-entitlements-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements-events.d.ts","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,MAAM,4BAA4B,GAAG,4BAA4B,GAAG,4BAA4B,GAAG,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements-events.js","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type EntitlementName = 'premium' | 'trial';
|
|
2
|
-
export type EntitlementIssuer = 'Uptime' | 'RevenueCat';
|
|
3
|
-
export type Entitlement = {
|
|
4
|
-
entitlement: EntitlementName | string;
|
|
5
|
-
issuer: EntitlementIssuer | string;
|
|
6
|
-
expiresAt: string;
|
|
7
|
-
issuedAt: string;
|
|
8
|
-
};
|
|
9
|
-
export interface UserEntitlements {
|
|
10
|
-
id: string;
|
|
11
|
-
v: number;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
userId: string;
|
|
15
|
-
entitlements: Entitlement[];
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=user-entitlements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements.d.ts","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAClD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,YAAY,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG;IACtB,WAAW,EAAE,eAAe,GAAG,MAAM,CAAC;IACtC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAAC;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements.js","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { UserContext } from "./user-context";
|
|
2
|
-
export interface UserContextCreatedEvent {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'UserContextCreated';
|
|
5
|
-
payload: UserContext;
|
|
6
|
-
}
|
|
7
|
-
export interface UserContextUpdatedEvent {
|
|
8
|
-
id: string;
|
|
9
|
-
type: 'UserContextUpdated';
|
|
10
|
-
payload: UserContext;
|
|
11
|
-
}
|
|
12
|
-
export interface UserContextDeletedEvent {
|
|
13
|
-
id: string;
|
|
14
|
-
type: 'UserContextDeleted';
|
|
15
|
-
payload: UserContext;
|
|
16
|
-
}
|
|
17
|
-
export type UserContextChangedEvent = UserContextCreatedEvent | UserContextUpdatedEvent | UserContextDeletedEvent;
|
|
18
|
-
//# sourceMappingURL=user-context-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context-events.d.ts","sourceRoot":"","sources":["../../../src/user-context/user-context-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context-events.js","sourceRoot":"","sources":["../../../src/user-context/user-context-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entitlement } from "../entitlement/user-entitlements";
|
|
2
|
-
export interface UserContext {
|
|
3
|
-
id: string;
|
|
4
|
-
v: number;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
userId: string;
|
|
8
|
-
entitlements: Entitlement[];
|
|
9
|
-
organisationIds: string[];
|
|
10
|
-
roles: string[];
|
|
11
|
-
acl: string[];
|
|
12
|
-
permissions: string[];
|
|
13
|
-
partnerId?: string;
|
|
14
|
-
brandId?: string;
|
|
15
|
-
skinId?: string;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=user-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context.d.ts","sourceRoot":"","sources":["../../../src/user-context/user-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context.js","sourceRoot":"","sources":["../../../src/user-context/user-context.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { GeneratedDraftHackContent } from './draft-hack-generation';
|
|
2
|
-
export interface DraftHackGenerated {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'DraftHackGenerated';
|
|
5
|
-
payload: {
|
|
6
|
-
id: string;
|
|
7
|
-
v: number;
|
|
8
|
-
reference: string;
|
|
9
|
-
draftHackId: string;
|
|
10
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface DraftHackGenerationFailed {
|
|
14
|
-
id: string;
|
|
15
|
-
type: 'DraftHackGenerationFailed';
|
|
16
|
-
payload: {
|
|
17
|
-
reference: string;
|
|
18
|
-
errorMessage: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export interface GeneratedDraftHackSavedToGoogleDrive {
|
|
22
|
-
id: string;
|
|
23
|
-
type: 'GeneratedDraftHackSavedToGoogleDrive';
|
|
24
|
-
payload: {
|
|
25
|
-
id: string;
|
|
26
|
-
v: number;
|
|
27
|
-
reference: string;
|
|
28
|
-
draftHackId: string;
|
|
29
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
30
|
-
driveFile: {
|
|
31
|
-
id: string;
|
|
32
|
-
parentId: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=draft-hack-generation-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation-events.d.ts","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE;QAEL,EAAE,EAAE,MAAM,CAAC;QAEX,CAAC,EAAE,MAAM,CAAC;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,yBAAyB,CAAC;KAC/C,CAAA;CACJ;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,2BAA2B,CAAC;IAClC,OAAO,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;KACxB,CAAA;CACJ;AAED,MAAM,WAAW,oCAAoC;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,sCAAsC,CAAC;IAC7C,OAAO,EAAE;QAEL,EAAE,EAAE,MAAM,CAAC;QAEX,CAAC,EAAE,MAAM,CAAC;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,yBAAyB,CAAC;QAC5C,SAAS,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;YACX,QAAQ,EAAE,MAAM,CAAC;SACpB,CAAA;KACJ,CAAA;CACJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation-events.js","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export interface GeneratedDraftHackContent {
|
|
2
|
-
title: string;
|
|
3
|
-
segments: GeneratedDraftHackSegments;
|
|
4
|
-
coverUrl?: string;
|
|
5
|
-
topics: GeneratedDraftTopic[];
|
|
6
|
-
notification: GeneratedDraftHackNotification;
|
|
7
|
-
contributors: GeneratedDraftContributor[];
|
|
8
|
-
}
|
|
9
|
-
export interface GeneratedDraftHackSegments {
|
|
10
|
-
favouriteQuote: GeneratedDraftHackSegment;
|
|
11
|
-
inANutshell: GeneratedDraftHackSegment;
|
|
12
|
-
introduction: GeneratedDraftHackSegment;
|
|
13
|
-
insights: GeneratedDraftHackInsightSegment[];
|
|
14
|
-
conclusion: GeneratedDraftHackSegment;
|
|
15
|
-
}
|
|
16
|
-
export interface GeneratedDraftHackSegment {
|
|
17
|
-
paragraphCards: GeneratedDraftHackCard[][];
|
|
18
|
-
}
|
|
19
|
-
export interface GeneratedDraftHackCard {
|
|
20
|
-
markdown: string;
|
|
21
|
-
}
|
|
22
|
-
export interface GeneratedDraftHackInsightSegment extends GeneratedDraftHackSegment {
|
|
23
|
-
title: string;
|
|
24
|
-
actions: GeneratedDraftHackAction[];
|
|
25
|
-
}
|
|
26
|
-
export interface GeneratedDraftHackAction {
|
|
27
|
-
title: string;
|
|
28
|
-
markdown: string;
|
|
29
|
-
}
|
|
30
|
-
export interface GeneratedDraftTopic {
|
|
31
|
-
name: string;
|
|
32
|
-
}
|
|
33
|
-
export interface GeneratedDraftHackNotification {
|
|
34
|
-
aiGeneratedText: string;
|
|
35
|
-
}
|
|
36
|
-
export interface GeneratedDraftContributor {
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=draft-hack-generation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation.d.ts","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,0BAA0B,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,YAAY,EAAE,8BAA8B,CAAC;IAC7C,YAAY,EAAE,yBAAyB,EAAE,CAAC;CAC7C;AACD,MAAM,WAAW,0BAA0B;IACvC,cAAc,EAAE,yBAAyB,CAAC;IAC1C,WAAW,EAAE,yBAAyB,CAAC;IACvC,YAAY,EAAE,yBAAyB,CAAC;IACxC,QAAQ,EAAE,gCAAgC,EAAE,CAAC;IAC7C,UAAU,EAAE,yBAAyB,CAAC;CACzC;AACD,MAAM,WAAW,yBAAyB;IACtC,cAAc,EAAE,sBAAsB,EAAE,EAAE,CAAC;CAC9C;AACD,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,gCAAiC,SAAQ,yBAAyB;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACvC;AACD,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,8BAA8B;IAC3C,eAAe,EAAE,MAAM,CAAC;CAC3B;AACD,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-hack-generation.js","sourceRoot":"","sources":["../../../src/draft-hack-generation/draft-hack-generation.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { UserEntitlements } from "./user-entitlements";
|
|
2
|
-
export interface UserEntitlementsCreatedEvent {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'UserEntitlementsCreated';
|
|
5
|
-
payload: UserEntitlements;
|
|
6
|
-
}
|
|
7
|
-
export interface UserEntitlementsUpdatedEvent {
|
|
8
|
-
id: string;
|
|
9
|
-
type: 'UserEntitlementsUpdated';
|
|
10
|
-
payload: UserEntitlements;
|
|
11
|
-
}
|
|
12
|
-
export interface UserEntitlementsDeletedEvent {
|
|
13
|
-
id: string;
|
|
14
|
-
type: 'UserEntitlementsDeleted';
|
|
15
|
-
payload: UserEntitlements;
|
|
16
|
-
}
|
|
17
|
-
export type UserEntitlementsChangedEvent = UserEntitlementsCreatedEvent | UserEntitlementsUpdatedEvent | UserEntitlementsDeletedEvent;
|
|
18
|
-
//# sourceMappingURL=user-entitlements-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements-events.d.ts","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,MAAM,4BAA4B,GAAG,4BAA4B,GAAG,4BAA4B,GAAG,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements-events.js","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type EntitlementName = 'premium' | 'trial';
|
|
2
|
-
export type EntitlementIssuer = 'Uptime' | 'RevenueCat';
|
|
3
|
-
export type Entitlement = {
|
|
4
|
-
entitlement: EntitlementName | string;
|
|
5
|
-
issuer: EntitlementIssuer | string;
|
|
6
|
-
expiresAt: string;
|
|
7
|
-
issuedAt: string;
|
|
8
|
-
};
|
|
9
|
-
export interface UserEntitlements {
|
|
10
|
-
id: string;
|
|
11
|
-
v: number;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
userId: string;
|
|
15
|
-
entitlements: Entitlement[];
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=user-entitlements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements.d.ts","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAClD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,YAAY,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG;IACtB,WAAW,EAAE,eAAe,GAAG,MAAM,CAAC;IACtC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAAC;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-entitlements.js","sourceRoot":"","sources":["../../../src/entitlement/user-entitlements.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { UserContext } from "./user-context";
|
|
2
|
-
export interface UserContextCreatedEvent {
|
|
3
|
-
id: string;
|
|
4
|
-
type: 'UserContextCreated';
|
|
5
|
-
payload: UserContext;
|
|
6
|
-
}
|
|
7
|
-
export interface UserContextUpdatedEvent {
|
|
8
|
-
id: string;
|
|
9
|
-
type: 'UserContextUpdated';
|
|
10
|
-
payload: UserContext;
|
|
11
|
-
}
|
|
12
|
-
export interface UserContextDeletedEvent {
|
|
13
|
-
id: string;
|
|
14
|
-
type: 'UserContextDeleted';
|
|
15
|
-
payload: UserContext;
|
|
16
|
-
}
|
|
17
|
-
export type UserContextChangedEvent = UserContextCreatedEvent | UserContextUpdatedEvent | UserContextDeletedEvent;
|
|
18
|
-
//# sourceMappingURL=user-context-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context-events.d.ts","sourceRoot":"","sources":["../../../src/user-context/user-context-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context-events.js","sourceRoot":"","sources":["../../../src/user-context/user-context-events.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entitlement } from "../entitlement/user-entitlements";
|
|
2
|
-
export interface UserContext {
|
|
3
|
-
id: string;
|
|
4
|
-
v: number;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
userId: string;
|
|
8
|
-
entitlements: Entitlement[];
|
|
9
|
-
organisationIds: string[];
|
|
10
|
-
roles: string[];
|
|
11
|
-
acl: string[];
|
|
12
|
-
permissions: string[];
|
|
13
|
-
partnerId?: string;
|
|
14
|
-
brandId?: string;
|
|
15
|
-
skinId?: string;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=user-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context.d.ts","sourceRoot":"","sources":["../../../src/user-context/user-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-context.js","sourceRoot":"","sources":["../../../src/user-context/user-context.ts"],"names":[],"mappings":""}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { GeneratedDraftHackContent } from './draft-hack-generation';
|
|
2
|
-
|
|
3
|
-
export interface DraftHackGenerated {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'DraftHackGenerated';
|
|
6
|
-
payload: {
|
|
7
|
-
// the draft hack id
|
|
8
|
-
id: string;
|
|
9
|
-
// the version
|
|
10
|
-
v: number;
|
|
11
|
-
reference: string;
|
|
12
|
-
draftHackId: string;
|
|
13
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface DraftHackGenerationFailed {
|
|
18
|
-
id: string;
|
|
19
|
-
type: 'DraftHackGenerationFailed';
|
|
20
|
-
payload: {
|
|
21
|
-
reference: string;
|
|
22
|
-
errorMessage: string;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface GeneratedDraftHackSavedToGoogleDrive {
|
|
27
|
-
id: string;
|
|
28
|
-
type: 'GeneratedDraftHackSavedToGoogleDrive';
|
|
29
|
-
payload: {
|
|
30
|
-
// the draft hack id
|
|
31
|
-
id: string;
|
|
32
|
-
// the version
|
|
33
|
-
v: number;
|
|
34
|
-
reference: string;
|
|
35
|
-
draftHackId: string;
|
|
36
|
-
draftHackContent: GeneratedDraftHackContent;
|
|
37
|
-
driveFile: {
|
|
38
|
-
id: string;
|
|
39
|
-
parentId: string;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export interface GeneratedDraftHackContent {
|
|
2
|
-
title: string;
|
|
3
|
-
segments: GeneratedDraftHackSegments;
|
|
4
|
-
coverUrl?: string;
|
|
5
|
-
topics: GeneratedDraftTopic[];
|
|
6
|
-
notification: GeneratedDraftHackNotification;
|
|
7
|
-
contributors: GeneratedDraftContributor[];
|
|
8
|
-
}
|
|
9
|
-
export interface GeneratedDraftHackSegments {
|
|
10
|
-
favouriteQuote: GeneratedDraftHackSegment;
|
|
11
|
-
inANutshell: GeneratedDraftHackSegment;
|
|
12
|
-
introduction: GeneratedDraftHackSegment;
|
|
13
|
-
insights: GeneratedDraftHackInsightSegment[];
|
|
14
|
-
conclusion: GeneratedDraftHackSegment;
|
|
15
|
-
}
|
|
16
|
-
export interface GeneratedDraftHackSegment {
|
|
17
|
-
paragraphCards: GeneratedDraftHackCard[][];
|
|
18
|
-
}
|
|
19
|
-
export interface GeneratedDraftHackCard {
|
|
20
|
-
markdown: string;
|
|
21
|
-
}
|
|
22
|
-
export interface GeneratedDraftHackInsightSegment extends GeneratedDraftHackSegment {
|
|
23
|
-
title: string;
|
|
24
|
-
actions: GeneratedDraftHackAction[];
|
|
25
|
-
}
|
|
26
|
-
export interface GeneratedDraftHackAction {
|
|
27
|
-
title: string;
|
|
28
|
-
markdown: string;
|
|
29
|
-
}
|
|
30
|
-
export interface GeneratedDraftTopic {
|
|
31
|
-
name: string;
|
|
32
|
-
}
|
|
33
|
-
export interface GeneratedDraftHackNotification {
|
|
34
|
-
aiGeneratedText: string;
|
|
35
|
-
}
|
|
36
|
-
export interface GeneratedDraftContributor {
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { UserEntitlements } from "./user-entitlements";
|
|
2
|
-
|
|
3
|
-
export interface UserEntitlementsCreatedEvent {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'UserEntitlementsCreated';
|
|
6
|
-
payload: UserEntitlements;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface UserEntitlementsUpdatedEvent {
|
|
10
|
-
id: string;
|
|
11
|
-
type: 'UserEntitlementsUpdated';
|
|
12
|
-
payload: UserEntitlements;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface UserEntitlementsDeletedEvent {
|
|
16
|
-
id: string;
|
|
17
|
-
type: 'UserEntitlementsDeleted';
|
|
18
|
-
payload: UserEntitlements;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type UserEntitlementsChangedEvent = UserEntitlementsCreatedEvent | UserEntitlementsUpdatedEvent | UserEntitlementsDeletedEvent;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type EntitlementName = 'premium' | 'trial';
|
|
2
|
-
export type EntitlementIssuer = 'Uptime' | 'RevenueCat';
|
|
3
|
-
|
|
4
|
-
export type Entitlement = {
|
|
5
|
-
entitlement: EntitlementName | string;
|
|
6
|
-
issuer: EntitlementIssuer | string;
|
|
7
|
-
expiresAt: string
|
|
8
|
-
issuedAt: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export interface UserEntitlements {
|
|
12
|
-
id: string;
|
|
13
|
-
v: number;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
entitlements: Entitlement[];
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { UserContext } from "./user-context";
|
|
2
|
-
|
|
3
|
-
export interface UserContextCreatedEvent {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'UserContextCreated';
|
|
6
|
-
payload: UserContext;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface UserContextUpdatedEvent {
|
|
10
|
-
id: string;
|
|
11
|
-
type: 'UserContextUpdated';
|
|
12
|
-
payload: UserContext;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface UserContextDeletedEvent {
|
|
16
|
-
id: string;
|
|
17
|
-
type: 'UserContextDeleted';
|
|
18
|
-
payload: UserContext;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type UserContextChangedEvent = UserContextCreatedEvent | UserContextUpdatedEvent | UserContextDeletedEvent;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entitlement } from "../entitlement/user-entitlements";
|
|
2
|
-
|
|
3
|
-
export interface UserContext {
|
|
4
|
-
id: string;
|
|
5
|
-
v: number;
|
|
6
|
-
createdAt: string;
|
|
7
|
-
updatedAt: string;
|
|
8
|
-
userId: string;
|
|
9
|
-
entitlements: Entitlement[];
|
|
10
|
-
organisationIds: string[];
|
|
11
|
-
roles: string[];
|
|
12
|
-
acl: string[];
|
|
13
|
-
permissions: string[];
|
|
14
|
-
partnerId?: string;
|
|
15
|
-
brandId?: string;
|
|
16
|
-
skinId?: string;
|
|
17
|
-
}
|