@aeriajs/types 0.0.43 → 0.0.44
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/api.d.ts +1 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type Collection<TCollection extends Collection = any> = {
|
|
|
8
8
|
functionContracts?: Record<string, Contract>;
|
|
9
9
|
exposedFunctions?: Record<string, AccessCondition>;
|
|
10
10
|
};
|
|
11
|
+
export type CollectionItem<TCollectionName extends keyof Collections> = Collections[TCollectionName]['item'];
|
|
11
12
|
export type AssetType = keyof Collection;
|
|
12
13
|
export type FunctionPath = `/${string}/${string}`;
|
|
13
14
|
export type AuthenticatedToken<TAcceptedRole extends AcceptedRole = null> = {
|