@bgord/bun 1.0.8 → 1.0.9
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/modules/history/ports/history-reader.d.ts +5 -0
- package/dist/modules/history/ports/history-reader.d.ts.map +1 -0
- package/dist/modules/history/ports/history-reader.js +2 -0
- package/dist/modules/history/ports/history-reader.js.map +1 -0
- package/dist/modules/history/ports/index.d.ts +1 -0
- package/dist/modules/history/ports/index.d.ts.map +1 -1
- package/dist/modules/history/ports/index.js +1 -0
- package/dist/modules/history/ports/index.js.map +1 -1
- package/dist/modules/history/value-objects/history-created-at.d.ts +4 -0
- package/dist/modules/history/value-objects/history-created-at.d.ts.map +1 -0
- package/dist/modules/history/value-objects/history-created-at.js +3 -0
- package/dist/modules/history/value-objects/history-created-at.js.map +1 -0
- package/dist/modules/history/value-objects/history.d.ts +2 -0
- package/dist/modules/history/value-objects/history.d.ts.map +1 -1
- package/dist/modules/history/value-objects/history.js +3 -0
- package/dist/modules/history/value-objects/history.js.map +1 -1
- package/dist/modules/history/value-objects/index.d.ts +1 -0
- package/dist/modules/history/value-objects/index.d.ts.map +1 -1
- package/dist/modules/history/value-objects/index.js +1 -0
- package/dist/modules/history/value-objects/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/readme.md +2 -0
- package/src/modules/history/ports/history-reader.ts +5 -0
- package/src/modules/history/ports/index.ts +1 -0
- package/src/modules/history/value-objects/history-created-at.ts +6 -0
- package/src/modules/history/value-objects/history.ts +3 -0
- package/src/modules/history/value-objects/index.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history-reader.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/ports/history-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;CACzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history-reader.js","sourceRoot":"","sources":["../../../../src/modules/history/ports/history-reader.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/ports/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/ports/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/history/ports/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/history/ports/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history-created-at.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history-created-at.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,gBAAgB,8CAAkB,CAAC;AAEhD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"history-created-at.js","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history-created-at.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAGtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC"}
|
|
@@ -4,6 +4,7 @@ declare const History: z.ZodObject<{
|
|
|
4
4
|
operation: z.ZodString;
|
|
5
5
|
payload: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
6
6
|
subject: z.ZodString;
|
|
7
|
+
createdAt: z.core.$ZodBranded<z.ZodNumber, "Timestamp">;
|
|
7
8
|
}, z.core.$strip>;
|
|
8
9
|
export type HistoryType = z.infer<typeof History>;
|
|
9
10
|
export declare const HistoryParsed: z.ZodObject<{
|
|
@@ -11,6 +12,7 @@ export declare const HistoryParsed: z.ZodObject<{
|
|
|
11
12
|
operation: z.ZodString;
|
|
12
13
|
payload: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodTransform<string, Record<string, any>>>;
|
|
13
14
|
subject: z.ZodString;
|
|
15
|
+
createdAt: z.core.$ZodBranded<z.ZodNumber, "Timestamp">;
|
|
14
16
|
}, z.core.$strip>;
|
|
15
17
|
export type HistoryParsedType = z.infer<typeof HistoryParsed>;
|
|
16
18
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,QAAA,MAAM,OAAO;;;;;;iBAMX,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAElD,eAAO,MAAM,aAAa;;;;;;iBAMxB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
+
import { HistoryCreatedAt } from "./history-created-at";
|
|
2
3
|
import { HistoryId } from "./history-id";
|
|
3
4
|
import { HistoryOperation } from "./history-operation";
|
|
4
5
|
import { HistoryPayload, HistoryPayloadParsed } from "./history-payload";
|
|
@@ -8,11 +9,13 @@ const History = z.object({
|
|
|
8
9
|
operation: HistoryOperation,
|
|
9
10
|
payload: HistoryPayload,
|
|
10
11
|
subject: HistorySubject,
|
|
12
|
+
createdAt: HistoryCreatedAt,
|
|
11
13
|
});
|
|
12
14
|
export const HistoryParsed = z.object({
|
|
13
15
|
id: HistoryId,
|
|
14
16
|
operation: HistoryOperation,
|
|
15
17
|
payload: HistoryPayloadParsed,
|
|
16
18
|
subject: HistorySubject,
|
|
19
|
+
createdAt: HistoryCreatedAt,
|
|
17
20
|
});
|
|
18
21
|
//# sourceMappingURL=history.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.js","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IACvB,EAAE,EAAE,SAAS;IACb,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"history.js","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IACvB,EAAE,EAAE,SAAS;IACb,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,gBAAgB;CAC5B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,EAAE,EAAE,SAAS;IACb,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,gBAAgB;CAC5B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/history/value-objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|