this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(js): export js files

+70 -5
+1
Justfile
··· 35 35 36 36 gen_typescript: 37 37 go run scripts/typing.go 38 + npm run tsc typescript/* 38 39 39 40 generate: 40 41 just updateschema
+2 -2
package-lock.json
··· 15 15 "nats": "^2.28.2", 16 16 "prisma": "^6.0.0", 17 17 "quicktype": "^23.0.170", 18 - "tsx": "^4.19.2" 18 + "tsx": "^4.19.2", 19 + "typescript": "^5.7.3" 19 20 } 20 21 }, 21 22 "node_modules/@cspotcode/source-map-support": { ··· 1751 1752 "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", 1752 1753 "devOptional": true, 1753 1754 "license": "Apache-2.0", 1754 - "peer": true, 1755 1755 "bin": { 1756 1756 "tsc": "bin/tsc", 1757 1757 "tsserver": "bin/tsserver"
+8 -3
package.json
··· 28 28 "nats": "^2.28.2", 29 29 "prisma": "^6.0.0", 30 30 "quicktype": "^23.0.170", 31 - "tsx": "^4.19.2" 31 + "tsx": "^4.19.2", 32 + "typescript": "^5.7.3" 32 33 }, 33 34 "dependencies": { 34 35 "@prisma/client": "^6.0.0" 36 + }, 37 + "scripts": { 38 + "tsc": "tsc" 35 39 }, 36 40 "files": [ 37 41 "README.md", 38 - "typescript/*.ts" 42 + "typescript/*.ts", 43 + "typescript/*.js" 39 44 ], 40 45 "exports": { 41 46 ".": { 42 - "default": "./typescript/index.ts", 47 + "default": "./typescript/index.js", 43 48 "types": "./typescript/index.ts" 44 49 } 45 50 }
+2
typescript/configuration.js
··· 1 + "use strict"; 2 + Object.defineProperty(exports, "__esModule", { value: true });
+5
typescript/constants.js
··· 1 + "use strict"; 2 + Object.defineProperty(exports, "__esModule", { value: true }); 3 + exports.SUBJECT_NAME = exports.STREAM_NAME = void 0; 4 + exports.STREAM_NAME = 'notella:stream'; 5 + exports.SUBJECT_NAME = 'notella:notification';
+2
typescript/health.js
··· 1 + "use strict"; 2 + Object.defineProperty(exports, "__esModule", { value: true });
+20
typescript/index.js
··· 1 + "use strict"; 2 + var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 + if (k2 === undefined) k2 = k; 4 + var desc = Object.getOwnPropertyDescriptor(m, k); 5 + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 6 + desc = { enumerable: true, get: function() { return m[k]; } }; 7 + } 8 + Object.defineProperty(o, k2, desc); 9 + }) : (function(o, m, k, k2) { 10 + if (k2 === undefined) k2 = k; 11 + o[k2] = m[k]; 12 + })); 13 + var __exportStar = (this && this.__exportStar) || function(m, exports) { 14 + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 15 + }; 16 + Object.defineProperty(exports, "__esModule", { value: true }); 17 + __exportStar(require("./message.js"), exports); 18 + __exportStar(require("./configuration.js"), exports); 19 + __exportStar(require("./health.js"), exports); 20 + __exportStar(require("./constants.js"), exports);
+30
typescript/message.js
··· 1 + "use strict"; 2 + Object.defineProperty(exports, "__esModule", { value: true }); 3 + exports.Event = void 0; 4 + /** 5 + * Type of event that triggered the notification 6 + */ 7 + var Event; 8 + (function (Event) { 9 + Event["BookingPaid"] = "booking_paid"; 10 + Event["ClearSchedule"] = "clear_schedule"; 11 + Event["ClearScheduledJobs"] = "clear_scheduled_jobs"; 12 + Event["ClearStoredSchedule"] = "clear_stored_schedule"; 13 + Event["CommentReply"] = "comment_reply"; 14 + Event["ContributionPaid"] = "contribution_paid"; 15 + Event["Custom"] = "custom"; 16 + Event["GodchildAccepted"] = "godchild_accepted"; 17 + Event["GodchildRejected"] = "godchild_rejected"; 18 + Event["GodchildRequest"] = "godchild_request"; 19 + Event["LoginStuck"] = "login_stuck"; 20 + Event["NewComment"] = "new_comment"; 21 + Event["NewPost"] = "new_post"; 22 + Event["PendingSignup"] = "pending_signup"; 23 + Event["RestoreSchedule"] = "restore_schedule"; 24 + Event["RestoreScheduleEager"] = "restore_schedule_eager"; 25 + Event["SaveSchedule"] = "save_schedule"; 26 + Event["ShotgunClosesSoon"] = "shotgun_closes_soon"; 27 + Event["ShotgunOpensSoon"] = "shotgun_opens_soon"; 28 + Event["ShowScheduledJobs"] = "show_scheduled_jobs"; 29 + Event["Test"] = "test"; 30 + })(Event || (exports.Event = Event = {}));