routesync 1.0.33 → 1.0.34
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/react.d.mts +4 -2
- package/dist/react.d.ts +4 -2
- package/dist/sdk.d.mts +4 -2
- package/dist/sdk.d.ts +4 -2
- package/package.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -51,10 +51,12 @@ type CallOptions<TParams = unknown, TBody = unknown> = {
|
|
|
51
51
|
body?: TBody;
|
|
52
52
|
headers?: Record<string, string>;
|
|
53
53
|
};
|
|
54
|
-
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
54
|
+
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
55
|
+
params?: never;
|
|
56
|
+
} : {
|
|
55
57
|
params: TParams;
|
|
56
58
|
}) & (unknown extends TBody ? {
|
|
57
|
-
body?:
|
|
59
|
+
body?: TBody;
|
|
58
60
|
} : {
|
|
59
61
|
body: TBody;
|
|
60
62
|
}) & {
|
package/dist/react.d.ts
CHANGED
|
@@ -51,10 +51,12 @@ type CallOptions<TParams = unknown, TBody = unknown> = {
|
|
|
51
51
|
body?: TBody;
|
|
52
52
|
headers?: Record<string, string>;
|
|
53
53
|
};
|
|
54
|
-
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
54
|
+
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
55
|
+
params?: never;
|
|
56
|
+
} : {
|
|
55
57
|
params: TParams;
|
|
56
58
|
}) & (unknown extends TBody ? {
|
|
57
|
-
body?:
|
|
59
|
+
body?: TBody;
|
|
58
60
|
} : {
|
|
59
61
|
body: TBody;
|
|
60
62
|
}) & {
|
package/dist/sdk.d.mts
CHANGED
|
@@ -121,10 +121,12 @@ type CallOptions<TParams = unknown, TBody = unknown> = {
|
|
|
121
121
|
body?: TBody;
|
|
122
122
|
headers?: Record<string, string>;
|
|
123
123
|
};
|
|
124
|
-
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
124
|
+
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
125
|
+
params?: never;
|
|
126
|
+
} : {
|
|
125
127
|
params: TParams;
|
|
126
128
|
}) & (unknown extends TBody ? {
|
|
127
|
-
body?:
|
|
129
|
+
body?: TBody;
|
|
128
130
|
} : {
|
|
129
131
|
body: TBody;
|
|
130
132
|
}) & {
|
package/dist/sdk.d.ts
CHANGED
|
@@ -121,10 +121,12 @@ type CallOptions<TParams = unknown, TBody = unknown> = {
|
|
|
121
121
|
body?: TBody;
|
|
122
122
|
headers?: Record<string, string>;
|
|
123
123
|
};
|
|
124
|
-
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
124
|
+
type EndpointCallableOptions<TParams, TBody> = (unknown extends TParams ? {
|
|
125
|
+
params?: never;
|
|
126
|
+
} : {
|
|
125
127
|
params: TParams;
|
|
126
128
|
}) & (unknown extends TBody ? {
|
|
127
|
-
body?:
|
|
129
|
+
body?: TBody;
|
|
128
130
|
} : {
|
|
129
131
|
body: TBody;
|
|
130
132
|
}) & {
|