@prismicio/mock 0.7.0 → 0.7.1
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.
|
@@ -58,12 +58,8 @@ export declare class ValueMockFactory {
|
|
|
58
58
|
slice<Model extends prismic.CustomTypeModelSlice = prismic.CustomTypeModelSlice>(config?: WithoutFakerConfig<MockSliceValueConfig<Model>>): import("../types").ModelValue<Model, prismic.FieldState>;
|
|
59
59
|
sliceZone<Model extends prismic.CustomTypeModelSliceZoneField = prismic.CustomTypeModelSliceZoneField, State extends prismic.FieldState = "filled">(config?: WithoutFakerConfig<MockSliceZoneValueConfig<Model, State>>): import("../types").ModelValue<Model, State>;
|
|
60
60
|
table<Model extends prismic.CustomTypeModelTableField = prismic.CustomTypeModelTableField>(config?: WithoutFakerConfig<MockTableValueConfig<Model>>): {
|
|
61
|
-
head?:
|
|
62
|
-
|
|
63
|
-
} | undefined;
|
|
64
|
-
body: {
|
|
65
|
-
rows: import("@prismicio/client/dist/types/value/table").TableDataRow[];
|
|
66
|
-
};
|
|
61
|
+
head?: prismic.TableFieldHead | undefined;
|
|
62
|
+
body: prismic.TableFieldBody;
|
|
67
63
|
} | null;
|
|
68
64
|
timestamp<Model extends prismic.CustomTypeModelTimestampField = prismic.CustomTypeModelTimestampField, State extends prismic.FieldState = "filled">(config?: WithoutFakerConfig<MockTimestampValueConfig<Model, State>>): prismic.TimestampField<State>;
|
|
69
65
|
title<Model extends prismic.CustomTypeModelTitleField = prismic.CustomTypeModelTitleField, State extends prismic.FieldState = "filled">(config?: WithoutFakerConfig<MockTitleValueConfig<Model, State>>): prismic.TitleField<State>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismicio/mock",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Generate mock Prismic documents, fields, Slices, and models for development and testing environments",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"unit:watch": "npm run unit -- --watch"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@prismicio/client": "^7.16.
|
|
63
|
+
"@prismicio/client": "^7.16.1",
|
|
64
64
|
"@prismicio/types-internal": "^3.5.0",
|
|
65
65
|
"@size-limit/preset-small-lib": "^11.1.2",
|
|
66
66
|
"@types/node": "^20.12.7",
|