@griddo/core 10.3.2 → 10.3.4

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.
@@ -24,12 +24,50 @@ export type Conditional<Values> = Values;
24
24
  export type Date = string;
25
25
  export type FieldGroup = string;
26
26
  export type File = {
27
+ /** file id */
28
+ id?: number;
29
+ /** site id */
30
+ site?: number | null;
27
31
  /** URL for the document */
28
32
  url?: string;
29
33
  /** Size for the document file in bytes */
30
34
  sizeBytes?: number;
31
35
  /** Upload date */
32
36
  uploadDate?: string;
37
+ /** Document's name */
38
+ fileName?: string;
39
+ /** Document's title */
40
+ title?: string | null;
41
+ /** Document's alt text */
42
+ alt?: string | null;
43
+ /** Field type */
44
+ fieldType?: "file";
45
+ /** Where is this file being used. */
46
+ contentInUse?: {
47
+ pages: Array<{
48
+ siteId: number;
49
+ siteName: string;
50
+ pages: Array<{
51
+ id: number;
52
+ title: string;
53
+ published: string;
54
+ modified: string;
55
+ }>;
56
+ }>;
57
+ structuredData: Array<{
58
+ id: number;
59
+ title: string;
60
+ }>;
61
+ };
62
+ /** File type */
63
+ fileType?: "pdf" | "doc" | "docx" | "xls" | "xlsx" | "zip";
64
+ /** File tags */
65
+ tags?: Array<string>;
66
+ /** File or folder */
67
+ folder?: {
68
+ folderId: number;
69
+ folderName: string;
70
+ } | null;
33
71
  };
34
72
  export type Heading<HeadingTagsType = HTMLHeadingTag> = {
35
73
  /** Text content */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@griddo/core",
3
3
  "description": "Reload version of Griddo Core",
4
4
  "license": "UNLICENSED",
5
- "version": "10.3.2",
5
+ "version": "10.3.4",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -81,5 +81,5 @@
81
81
  "resolutions": {
82
82
  "colors": "1.4.0"
83
83
  },
84
- "gitHead": "8b5d909fa75e83e14b219cc34050703a5dfbc8a4"
84
+ "gitHead": "83524f726f8a6e2f80756871e0597048b8b6aeea"
85
85
  }