vovk-hello-world 0.0.52 → 0.0.53
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 +2 -2
- package/index.d.cts +16 -0
- package/index.d.mts +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!-- Generated by vovk-cli v0.0.1-draft.392 at 2025-11-03T12:
|
|
1
|
+
<!-- Generated by vovk-cli v0.0.1-draft.392 at 2025-11-03T12:15:44.618Z -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
# vovk-hello-world v0.0.
|
|
4
|
+
# vovk-hello-world v0.0.53 [](https://www.typescriptlang.org/) [](https://vovk.dev)
|
|
5
5
|
|
|
6
6
|
> A showcase for Next.js + Vovk.ts + Zod, demonstrating its capabilities with TypeScript, Rust, and Python RPC.
|
|
7
7
|
|
package/index.d.cts
CHANGED
|
@@ -399,6 +399,8 @@ declare const UserRPC: {
|
|
|
399
399
|
}: {
|
|
400
400
|
id: string;
|
|
401
401
|
}) => Promise<{
|
|
402
|
+
id: string;
|
|
403
|
+
notify: "email" | "push" | "none";
|
|
402
404
|
success: true;
|
|
403
405
|
}>) & {
|
|
404
406
|
__types: {
|
|
@@ -417,6 +419,8 @@ declare const UserRPC: {
|
|
|
417
419
|
};
|
|
418
420
|
output: {
|
|
419
421
|
success: boolean;
|
|
422
|
+
id: string;
|
|
423
|
+
notify: "email" | "push" | "none";
|
|
420
424
|
};
|
|
421
425
|
iteration: unknown;
|
|
422
426
|
isForm: false;
|
|
@@ -427,11 +431,15 @@ declare const UserRPC: {
|
|
|
427
431
|
wrapper?: (req: vovk0.VovkRequest<any, any, any>, params: {
|
|
428
432
|
id: string;
|
|
429
433
|
}) => Promise<{
|
|
434
|
+
id: string;
|
|
435
|
+
notify: "email" | "push" | "none";
|
|
430
436
|
success: true;
|
|
431
437
|
}>;
|
|
432
438
|
} & {
|
|
433
439
|
fn: {
|
|
434
440
|
<TReturnType = Promise<{
|
|
441
|
+
id: string;
|
|
442
|
+
notify: "email" | "push" | "none";
|
|
435
443
|
success: true;
|
|
436
444
|
}>>(input?: {
|
|
437
445
|
disableClientValidation?: boolean;
|
|
@@ -458,6 +466,8 @@ declare const UserRPC: {
|
|
|
458
466
|
};
|
|
459
467
|
}): TReturnType;
|
|
460
468
|
<TReturnType = Promise<{
|
|
469
|
+
id: string;
|
|
470
|
+
notify: "email" | "push" | "none";
|
|
461
471
|
success: true;
|
|
462
472
|
}>>(input: {
|
|
463
473
|
disableClientValidation?: boolean;
|
|
@@ -488,6 +498,12 @@ declare const UserRPC: {
|
|
|
488
498
|
iteration?: _standard_schema_spec0.StandardSchemaV1<unknown, unknown>;
|
|
489
499
|
output?: zod0.ZodObject<{
|
|
490
500
|
success: zod0.ZodBoolean;
|
|
501
|
+
id: zod0.ZodUUID;
|
|
502
|
+
notify: zod0.ZodEnum<{
|
|
503
|
+
email: "email";
|
|
504
|
+
push: "push";
|
|
505
|
+
none: "none";
|
|
506
|
+
}>;
|
|
491
507
|
}, zod_v4_core0.$strip>;
|
|
492
508
|
params?: zod0.ZodObject<{
|
|
493
509
|
id: zod0.ZodUUID;
|
package/index.d.mts
CHANGED
|
@@ -399,6 +399,8 @@ declare const UserRPC: {
|
|
|
399
399
|
}: {
|
|
400
400
|
id: string;
|
|
401
401
|
}) => Promise<{
|
|
402
|
+
id: string;
|
|
403
|
+
notify: "email" | "push" | "none";
|
|
402
404
|
success: true;
|
|
403
405
|
}>) & {
|
|
404
406
|
__types: {
|
|
@@ -417,6 +419,8 @@ declare const UserRPC: {
|
|
|
417
419
|
};
|
|
418
420
|
output: {
|
|
419
421
|
success: boolean;
|
|
422
|
+
id: string;
|
|
423
|
+
notify: "email" | "push" | "none";
|
|
420
424
|
};
|
|
421
425
|
iteration: unknown;
|
|
422
426
|
isForm: false;
|
|
@@ -427,11 +431,15 @@ declare const UserRPC: {
|
|
|
427
431
|
wrapper?: (req: vovk0.VovkRequest<any, any, any>, params: {
|
|
428
432
|
id: string;
|
|
429
433
|
}) => Promise<{
|
|
434
|
+
id: string;
|
|
435
|
+
notify: "email" | "push" | "none";
|
|
430
436
|
success: true;
|
|
431
437
|
}>;
|
|
432
438
|
} & {
|
|
433
439
|
fn: {
|
|
434
440
|
<TReturnType = Promise<{
|
|
441
|
+
id: string;
|
|
442
|
+
notify: "email" | "push" | "none";
|
|
435
443
|
success: true;
|
|
436
444
|
}>>(input?: {
|
|
437
445
|
disableClientValidation?: boolean;
|
|
@@ -458,6 +466,8 @@ declare const UserRPC: {
|
|
|
458
466
|
};
|
|
459
467
|
}): TReturnType;
|
|
460
468
|
<TReturnType = Promise<{
|
|
469
|
+
id: string;
|
|
470
|
+
notify: "email" | "push" | "none";
|
|
461
471
|
success: true;
|
|
462
472
|
}>>(input: {
|
|
463
473
|
disableClientValidation?: boolean;
|
|
@@ -488,6 +498,12 @@ declare const UserRPC: {
|
|
|
488
498
|
iteration?: _standard_schema_spec0.StandardSchemaV1<unknown, unknown>;
|
|
489
499
|
output?: zod0.ZodObject<{
|
|
490
500
|
success: zod0.ZodBoolean;
|
|
501
|
+
id: zod0.ZodUUID;
|
|
502
|
+
notify: zod0.ZodEnum<{
|
|
503
|
+
email: "email";
|
|
504
|
+
push: "push";
|
|
505
|
+
none: "none";
|
|
506
|
+
}>;
|
|
491
507
|
}, zod_v4_core0.$strip>;
|
|
492
508
|
params?: zod0.ZodObject<{
|
|
493
509
|
id: zod0.ZodUUID;
|
package/package.json
CHANGED