@posx/core 5.5.16 → 5.5.17
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/build/index.d.ts +3 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -341,9 +341,9 @@ declare module '@posx/core/services/abstract.service' {
|
|
|
341
341
|
/**
|
|
342
342
|
* Retrieves a single entity by its unique identifier.
|
|
343
343
|
* @param id - Unique identifier of the entity to retrieve.
|
|
344
|
-
* @returns A Promise that resolves to the retrieved entity
|
|
344
|
+
* @returns A Promise that resolves to the retrieved entity.
|
|
345
345
|
*/
|
|
346
|
-
getOne(id: string): Promise<T
|
|
346
|
+
getOne(id: string): Promise<T>;
|
|
347
347
|
/**
|
|
348
348
|
* Retrieves a single entity by its unique identifier.
|
|
349
349
|
* @param params - Filtering parameters.
|
|
@@ -386,7 +386,7 @@ declare module '@posx/core/services/abstract.service' {
|
|
|
386
386
|
* get one by uid
|
|
387
387
|
* @param uid Primary nano id
|
|
388
388
|
*/
|
|
389
|
-
getOne(uid: string): Promise<T
|
|
389
|
+
getOne(uid: string): Promise<T>;
|
|
390
390
|
getOneByParams(params: Partial<T>): Promise<T | null>;
|
|
391
391
|
getDefaultOne(): Promise<T | undefined>;
|
|
392
392
|
getAll(): Promise<T[]>;
|