vue-datocms 8.1.2 → 8.1.4
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/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1500,7 +1500,7 @@ function useSiteSearch(config) {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
1502
|
if (config.fuzzySearch) {
|
|
1503
|
-
request.fuzzy = "true";
|
|
1503
|
+
request.filter.fuzzy = "true";
|
|
1504
1504
|
}
|
|
1505
1505
|
const results = yield config.client.searchResults.rawList(request);
|
|
1506
1506
|
if (!isCancelled) {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as vue from 'vue';
|
|
|
2
2
|
import { PropType, h, VNode, Ref, UnwrapRef, CSSProperties } from 'vue';
|
|
3
3
|
import { TransformedMeta, RenderMarkRule, TransformMetaFn } from 'datocms-structured-text-generic-html-renderer';
|
|
4
4
|
export { renderMarkRule, renderNodeRule, renderNodeRule as renderRule } from 'datocms-structured-text-generic-html-renderer';
|
|
5
|
-
import { Record as Record$1, RenderResult, StructuredText as StructuredText$1, Document, Node, RenderRule } from 'datocms-structured-text-utils';
|
|
6
|
-
export { RenderError, Document as StructuredTextDocument, StructuredText as StructuredTextGraphQlResponse } from 'datocms-structured-text-utils';
|
|
5
|
+
import { Record as Record$1, RenderResult, StructuredText as StructuredText$1, CdaStructuredTextRecord, Document, Node, RenderRule } from 'datocms-structured-text-utils';
|
|
6
|
+
export { CdaStructuredTextRecord, CdaStructuredTextValue, RenderError, Document as StructuredTextDocument, StructuredText as StructuredTextGraphQlResponse, Record as StructuredTextGraphQlResponseRecord, TypesafeCdaStructuredTextValue } from 'datocms-structured-text-utils';
|
|
7
7
|
import * as hls_js from 'hls.js';
|
|
8
8
|
import { StreamTypes, MaxResolutionValue, MinResolutionValue, CmcdTypes, PlaybackTypes } from '@mux/playback-core/.';
|
|
9
9
|
import MuxPlayerElement, { Tokens } from '@mux/mux-player';
|
|
@@ -471,7 +471,7 @@ type RenderBlockContext<R extends Record$1 = Record$1> = {
|
|
|
471
471
|
declare const StructuredText: vue.DefineComponent<{
|
|
472
472
|
/** The actual field value you get from DatoCMS **/
|
|
473
473
|
data: {
|
|
474
|
-
type: PropType<StructuredText$1<
|
|
474
|
+
type: PropType<StructuredText$1<CdaStructuredTextRecord, CdaStructuredTextRecord, CdaStructuredTextRecord> | Document<string, string> | Node<string, string> | null | undefined>;
|
|
475
475
|
};
|
|
476
476
|
/** @deprecated use customNodeRules **/
|
|
477
477
|
customRules: {
|
|
@@ -520,7 +520,7 @@ declare const StructuredText: vue.DefineComponent<{
|
|
|
520
520
|
}, () => RenderResult<typeof h, (text: string, _key: string) => AdapterReturn, (children: AdapterReturn[], _key: string) => AdapterReturn>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
521
521
|
/** The actual field value you get from DatoCMS **/
|
|
522
522
|
data: {
|
|
523
|
-
type: PropType<StructuredText$1<
|
|
523
|
+
type: PropType<StructuredText$1<CdaStructuredTextRecord, CdaStructuredTextRecord, CdaStructuredTextRecord> | Document<string, string> | Node<string, string> | null | undefined>;
|
|
524
524
|
};
|
|
525
525
|
/** @deprecated use customNodeRules **/
|
|
526
526
|
customRules: {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -1476,7 +1476,7 @@ function useSiteSearch(config) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
1478
|
if (config.fuzzySearch) {
|
|
1479
|
-
request.fuzzy = "true";
|
|
1479
|
+
request.filter.fuzzy = "true";
|
|
1480
1480
|
}
|
|
1481
1481
|
const results = yield config.client.searchResults.rawList(request);
|
|
1482
1482
|
if (!isCancelled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-datocms",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.4",
|
|
4
4
|
"description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"datocms-listen": "^0.1.15",
|
|
45
45
|
"hls.js": "^1.5.17",
|
|
46
46
|
"datocms-structured-text-generic-html-renderer": "^5.0.0",
|
|
47
|
-
"datocms-structured-text-utils": "^5.
|
|
47
|
+
"datocms-structured-text-utils": "^5.1.6",
|
|
48
48
|
"hyphenate-style-name": "^1.0.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|