@bynder/compact-view 5.1.0 → 5.1.2
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/api/filterAssets.d.ts +1 -1
- package/api/getAsset.d.ts +6 -1
- package/api/getAssets.d.ts +1 -0
- package/api/getCollections.d.ts +1 -1
- package/index.js +189 -176
- package/index.mjs +189 -176
- package/order/FieldSelect.d.ts +1 -1
- package/package.json +1 -1
- package/search/SimilaritySearchContext.d.ts +1 -4
- package/select/FileSelector.d.ts +2 -2
- package/select/types.d.ts +13 -0
- package/select/utils.d.ts +1 -1
- package/store/useOrderingStore.d.ts +61 -0
- package/store/useRouterStore.d.ts +61 -0
- package/store/utils/createSelectors.d.ts +10 -0
- package/views/asset/asset.type.d.ts +4 -0
- package/order/OrderingContext.d.ts +0 -19
package/api/filterAssets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Result } from '../auth/result.type';
|
|
2
|
-
import { Ordering } from '
|
|
2
|
+
import { Ordering } from '@src/store/useOrderingStore';
|
|
3
3
|
import { Collection } from '../views/collection/collection.types';
|
|
4
4
|
import { AssetType, Asset } from '../views/asset/asset.type';
|
|
5
5
|
import { Connection } from './graphql.types';
|
package/api/getAsset.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { Result } from '../auth/result.type';
|
|
2
2
|
import { File } from '../select/file.type';
|
|
3
3
|
import { AuthInformationState } from '../auth/useAuthInformation';
|
|
4
|
-
export declare const defaultAssetFieldSelection = "\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n extensions\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n }\n";
|
|
4
|
+
export declare const defaultAssetFieldSelection = "\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n extensions\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n streamingLinks {\n dash,\n hls\n }\n }\n";
|
|
5
|
+
export interface StreamingLinks {
|
|
6
|
+
hls: string;
|
|
7
|
+
dash: string;
|
|
8
|
+
}
|
|
5
9
|
export interface Asset {
|
|
6
10
|
id: string;
|
|
7
11
|
files: Record<string, File>;
|
|
8
12
|
databaseId?: string;
|
|
13
|
+
streamingLinks?: StreamingLinks;
|
|
9
14
|
}
|
|
10
15
|
export declare function getAsset(options: {
|
|
11
16
|
assetId: string;
|
package/api/getAssets.d.ts
CHANGED
package/api/getCollections.d.ts
CHANGED