@prismicio/vue 3.0.0-beta.9 → 3.0.0
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/README.md +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -1175,7 +1175,7 @@ declare const useAllPrismicDocumentsByIDs: <TDocument extends PrismicDocument<Re
|
|
|
1175
1175
|
*
|
|
1176
1176
|
* @see Underlying `@prismicio/client` method {@link Client.getByUID}
|
|
1177
1177
|
*/
|
|
1178
|
-
declare const usePrismicDocumentByUID: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1178
|
+
declare const usePrismicDocumentByUID: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, uid: string, params?: (Partial<_prismicio_client.BuildQueryURLArgs> & {
|
|
1179
1179
|
signal?: {
|
|
1180
1180
|
aborted: any;
|
|
1181
1181
|
addEventListener: any;
|
|
@@ -1202,7 +1202,7 @@ declare const usePrismicDocumentByUID: <TDocument extends PrismicDocument<Record
|
|
|
1202
1202
|
*
|
|
1203
1203
|
* @see Underlying `@prismicio/client` method {@link Client.getByIDs}
|
|
1204
1204
|
*/
|
|
1205
|
-
declare const usePrismicDocumentsByUIDs: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1205
|
+
declare const usePrismicDocumentsByUIDs: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, uids: string[], params?: (Partial<_prismicio_client.BuildQueryURLArgs> & {
|
|
1206
1206
|
signal?: {
|
|
1207
1207
|
aborted: any;
|
|
1208
1208
|
addEventListener: any;
|
|
@@ -1229,7 +1229,7 @@ declare const usePrismicDocumentsByUIDs: <TDocument extends PrismicDocument<Reco
|
|
|
1229
1229
|
*
|
|
1230
1230
|
* @see Underlying `@prismicio/client` method {@link Client.getAllByIDs}
|
|
1231
1231
|
*/
|
|
1232
|
-
declare const useAllPrismicDocumentsByUIDs: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1232
|
+
declare const useAllPrismicDocumentsByUIDs: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, ids: string[], params?: (Partial<_prismicio_client.BuildQueryURLArgs> & {
|
|
1233
1233
|
limit?: number | undefined;
|
|
1234
1234
|
} & {
|
|
1235
1235
|
signal?: {
|
|
@@ -1258,7 +1258,7 @@ declare const useAllPrismicDocumentsByUIDs: <TDocument extends PrismicDocument<R
|
|
|
1258
1258
|
*
|
|
1259
1259
|
* @see Underlying `@prismicio/client` method {@link Client.getSingle}
|
|
1260
1260
|
*/
|
|
1261
|
-
declare const useSinglePrismicDocument: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1261
|
+
declare const useSinglePrismicDocument: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, params?: (Partial<_prismicio_client.BuildQueryURLArgs> & {
|
|
1262
1262
|
signal?: {
|
|
1263
1263
|
aborted: any;
|
|
1264
1264
|
addEventListener: any;
|
|
@@ -1285,7 +1285,7 @@ declare const useSinglePrismicDocument: <TDocument extends PrismicDocument<Recor
|
|
|
1285
1285
|
*
|
|
1286
1286
|
* @see Underlying `@prismicio/client` method {@link Client.getByType}
|
|
1287
1287
|
*/
|
|
1288
|
-
declare const usePrismicDocumentsByType: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1288
|
+
declare const usePrismicDocumentsByType: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, params?: (Partial<_prismicio_client.BuildQueryURLArgs> & {
|
|
1289
1289
|
signal?: {
|
|
1290
1290
|
aborted: any;
|
|
1291
1291
|
addEventListener: any;
|
|
@@ -1312,7 +1312,7 @@ declare const usePrismicDocumentsByType: <TDocument extends PrismicDocument<Reco
|
|
|
1312
1312
|
*
|
|
1313
1313
|
* @see Underlying `@prismicio/client` method {@link Client.getAllByType}
|
|
1314
1314
|
*/
|
|
1315
|
-
declare const useAllPrismicDocumentsByType: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType:
|
|
1315
|
+
declare const useAllPrismicDocumentsByType: <TDocument extends PrismicDocument<Record<string, any>, string, string>>(documentType: any, params?: (Partial<Omit<_prismicio_client.BuildQueryURLArgs, "page">> & {
|
|
1316
1316
|
limit?: number | undefined;
|
|
1317
1317
|
} & {
|
|
1318
1318
|
signal?: {
|