@rest-hooks/endpoint
Advanced tools
Comparing version 3.8.1 to 3.8.2
@@ -13,2 +13,2 @@ Object.hasOwn = Object.hasOwn || /* istanbul ignore next */function hasOwn(it, key) { | ||
export { default as AbortOptimistic } from './AbortOptimistic.js'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJPYmplY3QiLCJoYXNPd24iLCJpdCIsImtleSIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsIl9zY2hlbWEiLCJzY2hlbWEiLCJkZWZhdWx0IiwiRW50aXR5IiwidmFsaWRhdGVSZXF1aXJlZCIsIkRFTEVURUQiLCJJTlZBTElEIiwiRW5kcG9pbnQiLCJFeHRlbmRhYmxlRW5kcG9pbnQiLCJBYm9ydE9wdGltaXN0aWMiXSwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiT2JqZWN0Lmhhc093biA9XG4gIE9iamVjdC5oYXNPd24gfHxcbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi8gZnVuY3Rpb24gaGFzT3duKGl0LCBrZXkpIHtcbiAgICByZXR1cm4gT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGl0LCBrZXkpO1xuICB9O1xuXG5leHBvcnQgdHlwZSB7XG4gIEVuZHBvaW50T3B0aW9ucyxcbiAgRW5kcG9pbnRJbnN0YW5jZSxcbiAgRW5kcG9pbnRJbnN0YW5jZUludGVyZmFjZSxcbiAgRW5kcG9pbnRFeHRlbmRPcHRpb25zLFxufSBmcm9tICcuL2VuZHBvaW50LmpzJztcbmV4cG9ydCAqIGFzIHNjaGVtYSBmcm9tICcuL3NjaGVtYS5qcyc7XG5leHBvcnQgdHlwZSB7XG4gIENvbGxlY3Rpb25JbnRlcmZhY2UsXG4gIENvbGxlY3Rpb25Gcm9tU2NoZW1hLFxuICAvL0FycmF5LFxuICAvL0ludm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20gJy4vcXVlcnlFbmRwb2ludC5qcyc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIEFib3J0T3B0aW1pc3RpYyB9IGZyb20gJy4vQWJvcnRPcHRpbWlzdGljLmpzJztcbiJdLCJtYXBwaW5ncyI6IkFBQUFBLE1BQU0sQ0FBQ0MsTUFBTSxHQUNYRCxNQUFNLENBQUNDLE1BQU0sSUFDYiwwQkFBMkIsU0FBU0EsTUFBTUEsQ0FBQ0MsRUFBRSxFQUFFQyxHQUFHLEVBQUU7RUFDbEQsT0FBT0gsTUFBTSxDQUFDSSxTQUFTLENBQUNDLGNBQWMsQ0FBQ0MsSUFBSSxDQUFDSixFQUFFLEVBQUVDLEdBQUcsQ0FBQztBQUN0RCxDQUFDO0FBQUMsWUFBQUksT0FBQSxNQVFvQixhQUFhO0FBQUEsU0FBQUEsT0FBQSxJQUF6QkMsTUFBTTtBQUVsQixTQUFTQyxPQUFPLElBQUlDLE1BQU0sUUFBUSxxQkFBcUI7QUFDdkQsU0FBU0QsT0FBTyxJQUFJRSxnQkFBZ0IsUUFBUSx1QkFBdUI7QUFDbkUsU0FBU0MsT0FBTyxFQUFFQyxPQUFPLFFBQVEsY0FBYztBQWdDL0MsU0FBU0osT0FBTyxJQUFJSyxRQUFRLEVBQUVDLGtCQUFrQixRQUFRLGVBQWU7QUFFdkUsY0FBYyxvQkFBb0I7QUFDbEMsY0FBYyxvQkFBb0I7QUFDbEMsU0FBU04sT0FBTyxJQUFJTyxlQUFlLFFBQVEsc0JBQXNCIn0= |
export type { EndpointOptions, EndpointInstance, EndpointInstanceInterface, EndpointExtendOptions, } from './endpoint.js'; | ||
export * as schema from './schema.js'; | ||
export type { CollectionInterface, CollectionFromSchema, } from './schema.js'; | ||
export type { Array, Invalidate, Collection } from './schema.js'; | ||
export { default as Entity } from './schemas/Entity.js'; | ||
@@ -5,0 +5,0 @@ export { default as validateRequired } from './validateRequired.js'; |
@@ -13,2 +13,2 @@ Object.hasOwn = Object.hasOwn || /* istanbul ignore next */function hasOwn(it, key) { | ||
export { default as AbortOptimistic } from './AbortOptimistic.js'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJPYmplY3QiLCJoYXNPd24iLCJpdCIsImtleSIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsIl9zY2hlbWEiLCJzY2hlbWEiLCJkZWZhdWx0IiwiRW50aXR5IiwidmFsaWRhdGVSZXF1aXJlZCIsIkRFTEVURUQiLCJJTlZBTElEIiwiRW5kcG9pbnQiLCJFeHRlbmRhYmxlRW5kcG9pbnQiLCJBYm9ydE9wdGltaXN0aWMiXSwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiT2JqZWN0Lmhhc093biA9XG4gIE9iamVjdC5oYXNPd24gfHxcbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi8gZnVuY3Rpb24gaGFzT3duKGl0LCBrZXkpIHtcbiAgICByZXR1cm4gT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGl0LCBrZXkpO1xuICB9O1xuXG5leHBvcnQgdHlwZSB7XG4gIEVuZHBvaW50T3B0aW9ucyxcbiAgRW5kcG9pbnRJbnN0YW5jZSxcbiAgRW5kcG9pbnRJbnN0YW5jZUludGVyZmFjZSxcbiAgRW5kcG9pbnRFeHRlbmRPcHRpb25zLFxufSBmcm9tICcuL2VuZHBvaW50LmpzJztcbmV4cG9ydCAqIGFzIHNjaGVtYSBmcm9tICcuL3NjaGVtYS5qcyc7XG5leHBvcnQgdHlwZSB7XG4gIENvbGxlY3Rpb25JbnRlcmZhY2UsXG4gIENvbGxlY3Rpb25Gcm9tU2NoZW1hLFxuICAvL0FycmF5LFxuICAvL0ludmFsaWRhdGUsXG59IGZyb20gJy4vc2NoZW1hLmpzJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgRW50aXR5IH0g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9IGZyb20gJy4vQWJvcnRPcHRpbWlzdGljLmpzJztcbiJdLCJtYXBwaW5ncyI6IkFBQUFBLE1BQU0sQ0FBQ0MsTUFBTSxHQUNYRCxNQUFNLENBQUNDLE1BQU0sSUFDYiwwQkFBMkIsU0FBU0EsTUFBTUEsQ0FBQ0MsRUFBRSxFQUFFQyxHQUFHLEVBQUU7RUFDbEQsT0FBT0gsTUFBTSxDQUFDSSxTQUFTLENBQUNDLGNBQWMsQ0FBQ0MsSUFBSSxDQUFDSixFQUFFLEVBQUVDLEdBQUcsQ0FBQztBQUN0RCxDQUFDO0FBQUMsWUFBQUksT0FBQSxNQVFvQixhQUFhO0FBQUEsU0FBQUEsT0FBQSxJQUF6QkMsTUFBTTtBQUVsQixTQUFTQyxPQUFPLElBQUlDLE1BQU0sUUFBUSxxQkFBcUI7QUFDdkQsU0FBU0QsT0FBTyxJQUFJRSxnQkFBZ0IsUUFBUSx1QkFBdUI7QUFDbkUsU0FBU0MsT0FBTyxFQUFFQyxPQUFPLFFBQVEsY0FBYztBQWdDL0MsU0FBU0osT0FBTyxJQUFJSyxRQUFRLEVBQUVDLGtCQUFrQixRQUFRLGVBQWU7QUFFdkUsY0FBYyxvQkFBb0I7QUFDbEMsY0FBYyxvQkFBb0I7QUFDbEMsU0FBU04sT0FBTyxJQUFJTyxlQUFlLFFBQVEsc0JBQXNCIn0= |
@@ -365,3 +365,3 @@ import type { schema } from './index.js'; | ||
) => (collectionKey: Record<string, any>) => boolean, | ||
): Collection<S, P>; | ||
): schema.Collection<S, P>; | ||
@@ -448,11 +448,11 @@ readonly cacheWith: object; | ||
push: S extends { denormalizeOnly(...args: any): any[] } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
unshift: S extends { denormalizeOnly(...args: any): any } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
assign: S extends { denormalizeOnly(...args: any): Record<string, unknown> } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
@@ -459,0 +459,0 @@ } |
{ | ||
"name": "@rest-hooks/endpoint", | ||
"version": "3.8.1", | ||
"version": "3.8.2", | ||
"description": "Declarative Network Interface Definitions", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -14,8 +14,3 @@ Object.hasOwn = | ||
export * as schema from './schema.js'; | ||
export type { | ||
CollectionInterface, | ||
CollectionFromSchema, | ||
//Array, | ||
//Invalidate, | ||
} from './schema.js'; | ||
export type { Array, Invalidate, Collection } from './schema.js'; | ||
export { default as Entity } from './schemas/Entity.js'; | ||
@@ -22,0 +17,0 @@ export { default as validateRequired } from './validateRequired.js'; |
@@ -365,3 +365,3 @@ import type { schema } from './index.js'; | ||
) => (collectionKey: Record<string, any>) => boolean, | ||
): Collection<S, P>; | ||
): schema.Collection<S, P>; | ||
@@ -448,11 +448,11 @@ readonly cacheWith: object; | ||
push: S extends { denormalizeOnly(...args: any): any[] } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
unshift: S extends { denormalizeOnly(...args: any): any } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
assign: S extends { denormalizeOnly(...args: any): Record<string, unknown> } | ||
? Collection<S, Parent> | ||
? schema.Collection<S, Parent> | ||
: never; | ||
@@ -459,0 +459,0 @@ } |
export { EndpointOptions, EndpointInstance, EndpointInstanceInterface, EndpointExtendOptions, } from './endpoint.js'; | ||
import * as schema_1 from './schema.js'; | ||
export { schema_1 as schema }; | ||
export { CollectionInterface, CollectionFromSchema, } from './schema.js'; | ||
export { Array, Invalidate, Collection } from './schema.js'; | ||
export { default as Entity } from './schemas/Entity.js'; | ||
@@ -6,0 +6,0 @@ export { default as validateRequired } from './validateRequired.js'; |
@@ -148,3 +148,3 @@ import { schema } from './index.js'; | ||
export class CollectionInterface<S extends PolymorphicInterface = any, Parent extends any[] = any> { | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): Collection<S, P>; | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): schema.Collection<S, P>; | ||
readonly cacheWith: object; | ||
@@ -190,9 +190,9 @@ readonly schema: S; | ||
denormalizeOnly(...args: any): any[]; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
unshift: S extends { | ||
denormalizeOnly(...args: any): any; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
assign: S extends { | ||
denormalizeOnly(...args: any): Record<string, unknown>; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
} | ||
@@ -199,0 +199,0 @@ export type CollectionFromSchema<S extends any[] | PolymorphicInterface = any, Parent extends any[] = [ |
export type { EndpointOptions, EndpointInstance, EndpointInstanceInterface, EndpointExtendOptions, } from './endpoint.js'; | ||
export * as schema from './schema.js'; | ||
export type { CollectionInterface, CollectionFromSchema, } from './schema.js'; | ||
export type { Array, Invalidate, Collection } from './schema.js'; | ||
export { default as Entity } from './schemas/Entity.js'; | ||
@@ -5,0 +5,0 @@ export { default as validateRequired } from './validateRequired.js'; |
@@ -148,3 +148,3 @@ import type { schema } from './index.js'; | ||
export class CollectionInterface<S extends PolymorphicInterface = any, Parent extends any[] = any> { | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): Collection<S, P>; | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): schema.Collection<S, P>; | ||
readonly cacheWith: object; | ||
@@ -190,9 +190,9 @@ readonly schema: S; | ||
denormalizeOnly(...args: any): any[]; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
unshift: S extends { | ||
denormalizeOnly(...args: any): any; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
assign: S extends { | ||
denormalizeOnly(...args: any): Record<string, unknown>; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
} | ||
@@ -199,0 +199,0 @@ export type CollectionFromSchema<S extends any[] | PolymorphicInterface = any, Parent extends any[] = [ |
export type { EndpointOptions, EndpointInstance, EndpointInstanceInterface, EndpointExtendOptions, } from './endpoint.js'; | ||
export * as schema from './schema.js'; | ||
export type { CollectionInterface, CollectionFromSchema, } from './schema.js'; | ||
export type { Array, Invalidate, Collection } from './schema.js'; | ||
export { default as Entity } from './schemas/Entity.js'; | ||
@@ -5,0 +5,0 @@ export { default as validateRequired } from './validateRequired.js'; |
@@ -148,3 +148,3 @@ import type { schema } from './index.js'; | ||
export class CollectionInterface<S extends PolymorphicInterface = any, Parent extends any[] = any> { | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): Collection<S, P>; | ||
addWith<P extends any[] = Parent>(merge: (existing: any, incoming: any) => any, createCollectionFilter?: (...args: P) => (collectionKey: Record<string, any>) => boolean): schema.Collection<S, P>; | ||
readonly cacheWith: object; | ||
@@ -190,9 +190,9 @@ readonly schema: S; | ||
denormalizeOnly(...args: any): any[]; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
unshift: S extends { | ||
denormalizeOnly(...args: any): any; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
assign: S extends { | ||
denormalizeOnly(...args: any): Record<string, unknown>; | ||
} ? Collection<S, Parent> : never; | ||
} ? schema.Collection<S, Parent> : never; | ||
} | ||
@@ -199,0 +199,0 @@ export type CollectionFromSchema<S extends any[] | PolymorphicInterface = any, Parent extends any[] = [ |
Sorry, the diff of this file is not supported yet
1714496
29385