@data-client/core
Advanced tools
Comparing version 0.14.8 to 0.14.10
{ | ||
"name": "@data-client/core", | ||
"version": "0.14.8", | ||
"version": "0.14.10", | ||
"description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", | ||
@@ -124,3 +124,3 @@ "sideEffects": false, | ||
"@babel/runtime": "^7.17.0", | ||
"@data-client/normalizr": "^0.14.6", | ||
"@data-client/normalizr": "^0.14.10", | ||
"flux-standard-action": "^2.1.1" | ||
@@ -130,4 +130,4 @@ }, | ||
"@anansi/browserslist-config": "^1.4.2", | ||
"@types/node": "^20.0.0" | ||
"@types/node": "^22.0.0" | ||
} | ||
} |
@@ -10,5 +10,2 @@ import { Entity, schema } from '@data-client/endpoint'; | ||
id = ''; | ||
pk() { | ||
return this.id; | ||
} | ||
} | ||
@@ -58,6 +55,2 @@ const TacoList = new schema.Collection([Tacos]); | ||
pk() { | ||
return this.id; | ||
} | ||
static indexes = ['username'] as const; | ||
@@ -228,5 +221,2 @@ } | ||
id: string = ''; | ||
pk() { | ||
return this.id; | ||
} | ||
} | ||
@@ -233,0 +223,0 @@ class User extends IDEntity { |
@@ -13,5 +13,2 @@ import { Endpoint, Entity } from '@data-client/endpoint'; | ||
id = ''; | ||
pk() { | ||
return this.id; | ||
} | ||
} | ||
@@ -133,5 +130,2 @@ const ep = new Endpoint(() => Promise.resolve(), { | ||
id = ''; | ||
pk() { | ||
return this.id; | ||
} | ||
} | ||
@@ -138,0 +132,0 @@ const ep = new Endpoint(({ id }: { id: string }) => Promise.resolve(), { |
@@ -214,5 +214,2 @@ import { INVALID, Entity } from '@data-client/endpoint'; | ||
counter = 0; | ||
pk() { | ||
return this.id; | ||
} | ||
@@ -245,5 +242,2 @@ static key = 'Counter'; | ||
counter = 0; | ||
pk() { | ||
return this.id; | ||
} | ||
@@ -250,0 +244,0 @@ static key = 'Counter'; |
885819
11653