Skip to content

Commit 6e1510d

Browse files
authored
Merge branch 'master' into fix/taxonomy-typing
2 parents efc2cb1 + 9a46714 commit 6e1510d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

lib/types/sys.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ export interface EntitySys extends BaseSys {
2424
locale?: string
2525
contentSourceMaps?: CPAContentSourceMaps
2626
contentSourceMapsLookup?: ContentSourceMapsLookup
27+
publishedVersion: number
2728
}

package-lock.json

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/types/mocks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const entrySys: EntrySys = {
6565
updatedAt: dateValue,
6666
id: stringValue,
6767
createdAt: dateValue,
68+
publishedVersion: numberValue,
6869
}
6970

7071
export const entryBasics = {
@@ -117,6 +118,7 @@ export const assetSys: AssetSys = {
117118
updatedAt: dateValue,
118119
id: stringValue,
119120
createdAt: dateValue,
121+
publishedVersion: numberValue,
120122
}
121123

122124
export const assetBasics = {

test/unit/mocks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const tagSysMock: TagSys = {
6666
updatedBy: { sys: copy(userLinkMock) },
6767
space: { sys: copy(spaceLinkMock) },
6868
environment: { sys: copy(environmentLinkMock) },
69+
publishedVersion: 1,
6970
}
7071

7172
const sysMock: EntrySys = {
@@ -78,6 +79,7 @@ const sysMock: EntrySys = {
7879
space: { sys: copy(spaceLinkMock) },
7980
contentType: { sys: copy(contentTypeLinkMock) },
8081
environment: { sys: copy(environmentLinkMock) },
82+
publishedVersion: 1,
8183
}
8284

8385
const contentTypeMock: ContentType = {

0 commit comments

Comments
 (0)