datocms-plugin-sdk 0.7.0 → 0.7.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/dist/esm/SiteApiSchema.d.ts +2 -2
- package/dist/esm/types.d.ts +1 -1
- package/dist/types/SiteApiSchema.d.ts +2 -2
- package/dist/types/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/SiteApiSchema.ts +2 -2
- package/src/types.ts +1 -1
- package/types.json +622 -613
|
@@ -7953,8 +7953,8 @@ export declare type SiteAttributes = {
|
|
|
7953
7953
|
* "relationships".
|
|
7954
7954
|
*/
|
|
7955
7955
|
export declare type SiteRelationships = {
|
|
7956
|
-
account:
|
|
7957
|
-
data: AccountData;
|
|
7956
|
+
account: {
|
|
7957
|
+
data: null | AccountData;
|
|
7958
7958
|
};
|
|
7959
7959
|
owner: {
|
|
7960
7960
|
data: AccountData | OrganizationData;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -550,7 +550,7 @@ export declare type RenderAdditionalProperties = {
|
|
|
550
550
|
* @deprecated Please use `.owner` instead, as the project owner can also be
|
|
551
551
|
* an organization
|
|
552
552
|
*/
|
|
553
|
-
account: Account;
|
|
553
|
+
account: Account | undefined;
|
|
554
554
|
/** The account that is the project owner */
|
|
555
555
|
owner: Account | Organization;
|
|
556
556
|
/** The padding in px that must be applied to the body */
|
|
@@ -7953,8 +7953,8 @@ export declare type SiteAttributes = {
|
|
|
7953
7953
|
* "relationships".
|
|
7954
7954
|
*/
|
|
7955
7955
|
export declare type SiteRelationships = {
|
|
7956
|
-
account:
|
|
7957
|
-
data: AccountData;
|
|
7956
|
+
account: {
|
|
7957
|
+
data: null | AccountData;
|
|
7958
7958
|
};
|
|
7959
7959
|
owner: {
|
|
7960
7960
|
data: AccountData | OrganizationData;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -550,7 +550,7 @@ export declare type RenderAdditionalProperties = {
|
|
|
550
550
|
* @deprecated Please use `.owner` instead, as the project owner can also be
|
|
551
551
|
* an organization
|
|
552
552
|
*/
|
|
553
|
-
account: Account;
|
|
553
|
+
account: Account | undefined;
|
|
554
554
|
/** The account that is the project owner */
|
|
555
555
|
owner: Account | Organization;
|
|
556
556
|
/** The padding in px that must be applied to the body */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datocms-plugin-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "DatoCMS Plugin SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typedoc": "^0.23.20"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "13a818220e294de674fc07596f941392b4a682ae"
|
|
47
47
|
}
|
package/src/SiteApiSchema.ts
CHANGED
|
@@ -8664,8 +8664,8 @@ export type SiteAttributes = {
|
|
|
8664
8664
|
* "relationships".
|
|
8665
8665
|
*/
|
|
8666
8666
|
export type SiteRelationships = {
|
|
8667
|
-
account:
|
|
8668
|
-
data: AccountData;
|
|
8667
|
+
account: {
|
|
8668
|
+
data: null | AccountData;
|
|
8669
8669
|
};
|
|
8670
8670
|
owner: {
|
|
8671
8671
|
data: AccountData | OrganizationData;
|
package/src/types.ts
CHANGED
|
@@ -616,7 +616,7 @@ export type RenderAdditionalProperties = {
|
|
|
616
616
|
* @deprecated Please use `.owner` instead, as the project owner can also be
|
|
617
617
|
* an organization
|
|
618
618
|
*/
|
|
619
|
-
account: Account;
|
|
619
|
+
account: Account | undefined;
|
|
620
620
|
/** The account that is the project owner */
|
|
621
621
|
owner: Account | Organization;
|
|
622
622
|
/** The padding in px that must be applied to the body */
|