File tree Expand file tree Collapse file tree 8 files changed +13
-8
lines changed
website/src/components/Playground/editor-types Expand file tree Collapse file tree 8 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @data-client/endpoint ' : patch
3+ ---
4+
5+ Update Entity docstring
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ export { default as All } from './schemas/All.js';
66export { default as Object } from './schemas/Object.js' ;
77export { default as Invalidate } from './schemas/Invalidate.js' ;
88export { default as Collection } from './schemas/Collection.js' ;
9- export { default as Entity } from './schemas/EntitySchema .js' ;
9+ export { default as Entity } from './schemas/EntityMixin .js' ;
1010export { default as Query } from './schemas/Query.js' ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const EmptyBase = class {} as any as abstract new (...args: any[]) => {
1010} ;
1111
1212/**
13- * Represents data that should be deduped by specifying a primary key .
13+ * Entity defines a single (globally) unique object .
1414 * @see https://dataclient.io/rest/api/Entity
1515 */
1616export default abstract class Entity extends EntityMixin ( EmptyBase ) {
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ import type {
99import { AbstractInstanceType } from '../normal.js' ;
1010
1111/**
12- * Represents data that should be deduped by specifying a primary key .
12+ * Entity defines a single (globally) unique object .
1313 * @see https://dataclient.io/rest/api/schema.Entity
1414 */
1515export default function EntityMixin < TBase extends Constructor > (
1616 Base : TBase ,
1717 options : EntityOptions < InstanceType < TBase > > = { } ,
1818) {
1919 /**
20- * Represents data that should be deduped by specifying a primary key .
20+ * Entity defines a single (globally) unique object .
2121 * @see https://dataclient.io/rest/api/Entity
2222 */
2323 abstract class EntityMixin extends Base {
Original file line number Diff line number Diff line change @@ -1106,7 +1106,7 @@ declare const Entity_base: IEntityClass<abstract new (...args: any[]) => {
11061106 pk ( parent ?: any , key ?: string , args ?: readonly any [ ] ) : string | number | undefined ;
11071107} ) ;
11081108/**
1109- * Represents data that should be deduped by specifying a primary key .
1109+ * Entity defines a single (globally) unique object .
11101110 * @see https://dataclient.io/rest/api/Entity
11111111 */
11121112declare abstract class Entity extends Entity_base {
Original file line number Diff line number Diff line change @@ -1106,7 +1106,7 @@ declare const Entity_base: IEntityClass<abstract new (...args: any[]) => {
11061106 pk ( parent ?: any , key ?: string , args ?: readonly any [ ] ) : string | number | undefined ;
11071107} ) ;
11081108/**
1109- * Represents data that should be deduped by specifying a primary key .
1109+ * Entity defines a single (globally) unique object .
11101110 * @see https://dataclient.io/rest/api/Entity
11111111 */
11121112declare abstract class Entity extends Entity_base {
Original file line number Diff line number Diff line change @@ -1104,7 +1104,7 @@ declare const Entity_base: IEntityClass<abstract new (...args: any[]) => {
11041104 pk ( parent ?: any , key ?: string , args ?: readonly any [ ] ) : string | number | undefined ;
11051105} ) ;
11061106/**
1107- * Represents data that should be deduped by specifying a primary key .
1107+ * Entity defines a single (globally) unique object .
11081108 * @see https://dataclient.io/rest/api/Entity
11091109 */
11101110declare abstract class Entity extends Entity_base {
Original file line number Diff line number Diff line change @@ -1108,7 +1108,7 @@ declare const Entity_base: IEntityClass<abstract new (...args: any[]) => {
11081108 pk ( parent ?: any , key ?: string , args ?: readonly any [ ] ) : string | number | undefined ;
11091109} ) ;
11101110/**
1111- * Represents data that should be deduped by specifying a primary key .
1111+ * Entity defines a single (globally) unique object .
11121112 * @see https://dataclient.io/rest/api/Entity
11131113 */
11141114declare abstract class Entity extends Entity_base {
You can’t perform that action at this time.
0 commit comments