ricos-schema
Advanced tools
Comparing version 10.86.2 to 10.87.0
@@ -64,2 +64,6 @@ "use strict"; | ||
object.path !== undefined && object.path !== null ? String(object.path) : undefined; | ||
message.sizeInKb = | ||
object.sizeInKb !== undefined && object.sizeInKb !== null | ||
? String(object.sizeInKb) | ||
: undefined; | ||
return message; | ||
@@ -84,2 +88,3 @@ }, | ||
message.path !== undefined && (obj.path = message.path); | ||
message.sizeInKb !== undefined && (obj.sizeInKb = message.sizeInKb); | ||
return obj; | ||
@@ -86,0 +91,0 @@ }, |
@@ -64,2 +64,6 @@ "use strict"; | ||
object.path !== undefined && object.path !== null ? String(object.path) : undefined; | ||
message.sizeInKb = | ||
object.sizeInKb !== undefined && object.sizeInKb !== null | ||
? String(object.sizeInKb) | ||
: undefined; | ||
return message; | ||
@@ -84,2 +88,3 @@ }, | ||
message.path !== undefined && (obj.path = message.path); | ||
message.sizeInKb !== undefined && (obj.sizeInKb = message.sizeInKb); | ||
return obj; | ||
@@ -86,0 +91,0 @@ }, |
@@ -334,3 +334,7 @@ export const richContentTypesAsString = `export interface TextStyle { | ||
type?: string; | ||
/** File size in KB. */ | ||
/** | ||
* Use \`sizeInKb\` instead. | ||
* | ||
* @deprecated | ||
*/ | ||
size?: number; | ||
@@ -343,2 +347,4 @@ /** Settings for PDF files. */ | ||
path?: string; | ||
/** File size in KB. */ | ||
sizeInKb?: string; | ||
} | ||
@@ -345,0 +351,0 @@ export interface FileData_PDFSettings { |
@@ -334,3 +334,7 @@ export interface TextStyle { | ||
type?: string; | ||
/** File size in KB. */ | ||
/** | ||
* Use `sizeInKb` instead. | ||
* | ||
* @deprecated | ||
*/ | ||
size?: number; | ||
@@ -343,2 +347,4 @@ /** Settings for PDF files. */ | ||
path?: string; | ||
/** File size in KB. */ | ||
sizeInKb?: string; | ||
} | ||
@@ -345,0 +351,0 @@ export interface FileData_PDFSettings { |
@@ -59,2 +59,6 @@ /* eslint-disable */ | ||
object.path !== undefined && object.path !== null ? String(object.path) : undefined; | ||
message.sizeInKb = | ||
object.sizeInKb !== undefined && object.sizeInKb !== null | ||
? String(object.sizeInKb) | ||
: undefined; | ||
return message; | ||
@@ -79,2 +83,3 @@ }, | ||
message.path !== undefined && (obj.path = message.path); | ||
message.sizeInKb !== undefined && (obj.sizeInKb = message.sizeInKb); | ||
return obj; | ||
@@ -81,0 +86,0 @@ }, |
@@ -59,2 +59,6 @@ /* eslint-disable */ | ||
object.path !== undefined && object.path !== null ? String(object.path) : undefined; | ||
message.sizeInKb = | ||
object.sizeInKb !== undefined && object.sizeInKb !== null | ||
? String(object.sizeInKb) | ||
: undefined; | ||
return message; | ||
@@ -79,2 +83,3 @@ }, | ||
message.path !== undefined && (obj.path = message.path); | ||
message.sizeInKb !== undefined && (obj.sizeInKb = message.sizeInKb); | ||
return obj; | ||
@@ -81,0 +86,0 @@ }, |
@@ -1,1 +0,1 @@ | ||
{"containerData":{"alignment":"CENTER","width":{"size":null,"custom":null},"spoiler":{"enabled":null,"description":null,"buttonText":null},"height":{"custom":null},"textWrap":true},"src":{"url":null,"custom":null,"id":null,"private":null},"name":null,"type":null,"size":null,"pdfSettings":null,"mimeType":null,"path":null} | ||
{"containerData":{"alignment":"CENTER","width":{"size":null,"custom":null},"spoiler":{"enabled":null,"description":null,"buttonText":null},"height":{"custom":null},"textWrap":true},"src":{"url":null,"custom":null,"id":null,"private":null},"name":null,"type":null,"size":null,"pdfSettings":null,"mimeType":null,"path":null,"sizeInKb":null} |
@@ -12,3 +12,7 @@ import { PluginContainerData, FileSource } from './common'; | ||
type?: string; | ||
/** File size in KB. */ | ||
/** | ||
* Use `sizeInKb` instead. | ||
* | ||
* @deprecated | ||
*/ | ||
size?: number; | ||
@@ -21,2 +25,4 @@ /** Settings for PDF files. */ | ||
path?: string; | ||
/** File size in KB. */ | ||
sizeInKb?: string; | ||
} | ||
@@ -23,0 +29,0 @@ export interface FileData_PDFSettings { |
@@ -833,4 +833,6 @@ export type RichContent = { | ||
type?: string; | ||
/** Deprecated in favor of sizeInKb */ | ||
size?: number; | ||
/** File size in KB. */ | ||
size?: number; | ||
sizeInKb?: string; | ||
/** Settings for PDF files. */ | ||
@@ -837,0 +839,0 @@ pdfSettings?: FileData_PDFSettings; |
@@ -12,3 +12,7 @@ import { PluginContainerData, FileSource } from './common'; | ||
type?: string; | ||
/** File size in KB. */ | ||
/** | ||
* Use `sizeInKb` instead. | ||
* | ||
* @deprecated | ||
*/ | ||
size?: number; | ||
@@ -21,2 +25,4 @@ /** Settings for PDF files. */ | ||
path?: string; | ||
/** File size in KB. */ | ||
sizeInKb?: string; | ||
} | ||
@@ -23,0 +29,0 @@ export interface FileData_PDFSettings { |
@@ -11,3 +11,7 @@ import { PluginContainerData, FileSource } from './common'; | ||
type?: string; | ||
/** File size in KB. */ | ||
/** | ||
* Use `sizeInKb` instead. | ||
* | ||
* @deprecated | ||
*/ | ||
size?: number; | ||
@@ -20,2 +24,4 @@ /** Settings for PDF files. */ | ||
path?: string; | ||
/** File size in KB. */ | ||
sizeInKb?: string; | ||
} | ||
@@ -22,0 +28,0 @@ export interface FileData_PDFSettings { |
{ | ||
"name": "ricos-schema", | ||
"version": "10.86.2", | ||
"version": "10.87.0", | ||
"author": { | ||
@@ -67,3 +67,3 @@ "name": "Matan Harsat", | ||
"@types/json-to-ast": "^2.1.4", | ||
"@wix/ricos-schema": "10.86.2", | ||
"@wix/ricos-schema": "10.87.0", | ||
"prettier": "^2.5.1", | ||
@@ -90,3 +90,3 @@ "ts-morph": "^21.0.1" | ||
}, | ||
"falconPackageHash": "9c7d801b9034f0cdf2dfae80f2026b3947e489bc6be80e2412b87b35" | ||
"falconPackageHash": "009c62c6d3cb41274c3a8c7d13cff97e6cd26a22b9d7ccfe61dd1ad9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2549021
39700