lepto-types 1.0.1

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # lepto-types
2
+
3
+ Shared TypeScript types, interfaces, and enums for Lepto backend and frontend applications.
@@ -0,0 +1,2 @@
1
+ export * from './transaction-actor.dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,17 @@
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("./transaction-actor.dto"), exports);
@@ -0,0 +1,6 @@
1
+ export interface TransactionActorDto {
2
+ id: string;
3
+ attendeeId: string;
4
+ amount: number;
5
+ }
6
+ //# sourceMappingURL=transaction-actor.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-actor.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/transaction-actor.dto.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare enum EventAttendeeStatusEnum {
2
+ ENABLED = "ENABLED",
3
+ DISABLED = "DISABLED"
4
+ }
5
+ //# sourceMappingURL=event-attendee-status.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-attendee-status.enum.d.ts","sourceRoot":"","sources":["../../src/enums/event-attendee-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventAttendeeStatusEnum = void 0;
4
+ var EventAttendeeStatusEnum;
5
+ (function (EventAttendeeStatusEnum) {
6
+ EventAttendeeStatusEnum["ENABLED"] = "ENABLED";
7
+ EventAttendeeStatusEnum["DISABLED"] = "DISABLED";
8
+ })(EventAttendeeStatusEnum = exports.EventAttendeeStatusEnum || (exports.EventAttendeeStatusEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './user-status.enum';
2
+ export * from "./event-attendee-status.enum";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,18 @@
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("./user-status.enum"), exports);
18
+ __exportStar(require("./event-attendee-status.enum"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum UserStatusEnum {
2
+ ENABLED = "ENABLED",
3
+ DISABLED = "DISABLED"
4
+ }
5
+ //# sourceMappingURL=user-status.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-status.enum.d.ts","sourceRoot":"","sources":["../../src/enums/user-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserStatusEnum = void 0;
4
+ var UserStatusEnum;
5
+ (function (UserStatusEnum) {
6
+ UserStatusEnum["ENABLED"] = "ENABLED";
7
+ UserStatusEnum["DISABLED"] = "DISABLED";
8
+ })(UserStatusEnum = exports.UserStatusEnum || (exports.UserStatusEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './interfaces';
2
+ export * from './enums';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,20 @@
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
+ // Export all interfaces
18
+ __exportStar(require("./interfaces"), exports);
19
+ // Export all enums
20
+ __exportStar(require("./enums"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './user.response';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
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("./user.response"), exports);
@@ -0,0 +1,8 @@
1
+ export interface UserResponse {
2
+ id: string;
3
+ avatar: string;
4
+ color: string;
5
+ updatedAt: Date;
6
+ createdAt: Date;
7
+ }
8
+ //# sourceMappingURL=user.response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.response.d.ts","sourceRoot":"","sources":["../../src/interfaces/user.response.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "lepto-types",
3
+ "version": "1.0.1",
4
+ "description": "Shared types, interfaces, and enums for Lepto backend and frontend",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "publish-new-version": "node scripts/publish.js"
13
+ },
14
+ "keywords": [
15
+ "types",
16
+ "typescript",
17
+ "lepto"
18
+ ],
19
+ "author": "Your Name",
20
+ "license": "MIT",
21
+ "devDependencies": {
22
+ "typescript": "^4.7.4"
23
+ },
24
+ "peerDependencies": {
25
+ "class-validator": "^0.14.0",
26
+ "class-transformer": "^0.5.1"
27
+ },
28
+ "peerDependenciesMeta": {
29
+ "class-validator": {
30
+ "optional": true
31
+ },
32
+ "class-transformer": {
33
+ "optional": true
34
+ }
35
+ }
36
+ }