silgi 0.7.17 → 0.7.19
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/_chunks/index.mjs
CHANGED
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/types/index.d.mts
CHANGED
|
@@ -26,6 +26,7 @@ type BaseSchemaType<T extends StandardSchemaV1> = {
|
|
|
26
26
|
input?: T;
|
|
27
27
|
output?: T;
|
|
28
28
|
router?: T;
|
|
29
|
+
source?: T;
|
|
29
30
|
}>;
|
|
30
31
|
};
|
|
31
32
|
|
|
@@ -798,7 +799,7 @@ interface StorageKeyParams<TInput = unknown> {
|
|
|
798
799
|
type EventHandlerResponse<T = undefined> = T extends undefined ? void : void | T | Promise<T>;
|
|
799
800
|
type MethodHandlerType<T> = {
|
|
800
801
|
[Action in keyof T]: T[Action] extends Record<string, any> ? {
|
|
801
|
-
[Method in keyof T[Action]]
|
|
802
|
+
[Method in keyof T[Action]]?: {
|
|
802
803
|
default?: {
|
|
803
804
|
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']>;
|
|
804
805
|
output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ type BaseSchemaType<T extends StandardSchemaV1> = {
|
|
|
26
26
|
input?: T;
|
|
27
27
|
output?: T;
|
|
28
28
|
router?: T;
|
|
29
|
+
source?: T;
|
|
29
30
|
}>;
|
|
30
31
|
};
|
|
31
32
|
|
|
@@ -798,7 +799,7 @@ interface StorageKeyParams<TInput = unknown> {
|
|
|
798
799
|
type EventHandlerResponse<T = undefined> = T extends undefined ? void : void | T | Promise<T>;
|
|
799
800
|
type MethodHandlerType<T> = {
|
|
800
801
|
[Action in keyof T]: T[Action] extends Record<string, any> ? {
|
|
801
|
-
[Method in keyof T[Action]]
|
|
802
|
+
[Method in keyof T[Action]]?: {
|
|
802
803
|
default?: {
|
|
803
804
|
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']>;
|
|
804
805
|
output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
|