@veruna/api-contracts 5.0.0 → 6.0.0
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/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/wallet/queries/list-wallet-events.query.d.ts +1 -1
- package/build/v1/wallet/schemas/wallet-event.schema.d.ts +2 -2
- package/build/v1/wallet/schemas/wallet-event.schema.js +1 -1
- package/build/v1/wallet/schemas/wallet-event.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export declare namespace WalletListEventsQuery {
|
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
const Response: z.ZodObject<{
|
|
10
10
|
items: z.ZodArray<z.ZodObject<{
|
|
11
|
-
|
|
11
|
+
eventId: z.ZodString;
|
|
12
12
|
direction: z.ZodEnum<typeof import("../schemas").WalletEventDirection>;
|
|
13
13
|
kind: z.ZodEnum<typeof import("../schemas").WalletEventKind>;
|
|
14
14
|
amount: z.ZodNumber;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { WalletEventDirection } from './wallet-event-direction.enum';
|
|
3
3
|
import { WalletEventKind } from './wallet-event-kind.enum';
|
|
4
4
|
export declare const WalletEventItemSchema: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
eventId: z.ZodString;
|
|
6
6
|
direction: z.ZodEnum<typeof WalletEventDirection>;
|
|
7
7
|
kind: z.ZodEnum<typeof WalletEventKind>;
|
|
8
8
|
amount: z.ZodNumber;
|
|
@@ -12,7 +12,7 @@ export declare const WalletEventItemSchema: z.ZodObject<{
|
|
|
12
12
|
export type WalletEventItem = z.infer<typeof WalletEventItemSchema>;
|
|
13
13
|
export declare const WalletEventsListResponseSchema: z.ZodObject<{
|
|
14
14
|
items: z.ZodArray<z.ZodObject<{
|
|
15
|
-
|
|
15
|
+
eventId: z.ZodString;
|
|
16
16
|
direction: z.ZodEnum<typeof WalletEventDirection>;
|
|
17
17
|
kind: z.ZodEnum<typeof WalletEventKind>;
|
|
18
18
|
amount: z.ZodNumber;
|
|
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const wallet_event_direction_enum_1 = require("./wallet-event-direction.enum");
|
|
6
6
|
const wallet_event_kind_enum_1 = require("./wallet-event-kind.enum");
|
|
7
7
|
exports.WalletEventItemSchema = zod_1.z.object({
|
|
8
|
-
|
|
8
|
+
eventId: zod_1.z.string(),
|
|
9
9
|
direction: zod_1.z.enum(wallet_event_direction_enum_1.WalletEventDirection),
|
|
10
10
|
kind: zod_1.z.enum(wallet_event_kind_enum_1.WalletEventKind),
|
|
11
11
|
amount: zod_1.z.number().int().nonnegative(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-event.schema.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/wallet-event.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+EAAqE;AACrE,qEAA2D;
|
|
1
|
+
{"version":3,"file":"wallet-event.schema.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/wallet-event.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+EAAqE;AACrE,qEAA2D;AAsB9C,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,kDAAoB,CAAC;IACvC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,wCAAe,CAAC;IAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAOU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAA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