prostgles-types 1.5.126 → 1.5.127
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/lib/index.ts +2 -2
- package/package.json +1 -1
package/lib/index.ts
CHANGED
|
@@ -550,8 +550,8 @@ export const RULE_METHODS = {
|
|
|
550
550
|
"subscribe": ["unsubscribe", "subscribe", "subscribeOne"],
|
|
551
551
|
} as const
|
|
552
552
|
|
|
553
|
-
type
|
|
554
|
-
export type TableSchemaForClient = Record<string, Partial<Record<
|
|
553
|
+
export type MethodKey = typeof RULE_METHODS[keyof typeof RULE_METHODS][number]
|
|
554
|
+
export type TableSchemaForClient = Record<string, Partial<Record<MethodKey, {} | { err: any }>>>;
|
|
555
555
|
|
|
556
556
|
/* Schema */
|
|
557
557
|
export type TableSchema = {
|