@enonic-types/guillotine 7.3.4 → 8.0.0-B2
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/advanced.ts +6 -6
- package/guillotine/index.ts +6 -6
- package/guillotine/objectTypes.ts +24 -19
- package/package.json +4 -5
package/advanced.ts
CHANGED
|
@@ -112,7 +112,7 @@ export type {
|
|
|
112
112
|
ContentConnection,
|
|
113
113
|
ContentEdge,
|
|
114
114
|
ContentType,
|
|
115
|
-
|
|
115
|
+
Mixin,
|
|
116
116
|
FormItem,
|
|
117
117
|
GeoPoint,
|
|
118
118
|
Icon,
|
|
@@ -126,11 +126,11 @@ export type {
|
|
|
126
126
|
portal_Site_Data,
|
|
127
127
|
PrincipalKey,
|
|
128
128
|
PublishInfo,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
Mixin_base_ApplicationConfig,
|
|
130
|
+
Mixin_base_gpsInfo_DataConfig,
|
|
131
|
+
Mixin_media_ApplicationConfig,
|
|
132
|
+
Mixin_media_cameraInfo_DataConfig,
|
|
133
|
+
Mixin_media_imageInfo_DataConfig,
|
|
134
134
|
} from './guillotine'
|
|
135
135
|
|
|
136
136
|
export type {
|
package/guillotine/index.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type {
|
|
|
14
14
|
ContentConnection,
|
|
15
15
|
ContentEdge,
|
|
16
16
|
ContentType,
|
|
17
|
-
|
|
17
|
+
Mixin,
|
|
18
18
|
FormItem,
|
|
19
19
|
GeoPoint,
|
|
20
20
|
Icon,
|
|
@@ -28,11 +28,11 @@ export type {
|
|
|
28
28
|
portal_Site_Data,
|
|
29
29
|
PrincipalKey,
|
|
30
30
|
PublishInfo,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
Mixin_base_ApplicationConfig,
|
|
32
|
+
Mixin_base_gpsInfo_DataConfig,
|
|
33
|
+
Mixin_media_ApplicationConfig,
|
|
34
|
+
Mixin_media_cameraInfo_DataConfig,
|
|
35
|
+
Mixin_media_imageInfo_DataConfig,
|
|
36
36
|
} from './objectTypes'
|
|
37
37
|
|
|
38
38
|
export type {
|
|
@@ -115,11 +115,11 @@ export enum ObjectTypeName {
|
|
|
115
115
|
SiteConfigurator = 'SiteConfigurator',
|
|
116
116
|
TextComponentData = 'TextComponentData',
|
|
117
117
|
UntypedContent = 'UntypedContent',
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
Mixin_base_ApplicationConfig = 'Mixin_base_ApplicationConfig',
|
|
119
|
+
Mixin_base_gpsInfo_DataConfig = 'Mixin_base_gpsInfo_DataConfig',
|
|
120
|
+
Mixin_media_ApplicationConfig = 'Mixin_media_ApplicationConfig',
|
|
121
|
+
Mixin_media_cameraInfo_DataConfig = 'Mixin_media_cameraInfo_DataConfig',
|
|
122
|
+
Mixin_media_imageInfo_DataConfig = 'Mixin_media_imageInfo_DataConfig',
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export declare type ObjectTypeNames = keyof typeof ObjectTypeName
|
|
@@ -159,7 +159,6 @@ export declare type Content<
|
|
|
159
159
|
creator: PrincipalKey
|
|
160
160
|
dataAsJson: GraphQLJson
|
|
161
161
|
displayName: GraphQLString
|
|
162
|
-
hasChildren: GraphQLBoolean
|
|
163
162
|
language: GraphQLString
|
|
164
163
|
modifiedTime: GraphQLDateTime
|
|
165
164
|
modifier: PrincipalKey
|
|
@@ -173,7 +172,7 @@ export declare type Content<
|
|
|
173
172
|
site: portal_Site
|
|
174
173
|
type: GraphQLString
|
|
175
174
|
valid: GraphQLBoolean
|
|
176
|
-
x:
|
|
175
|
+
x: Mixin
|
|
177
176
|
xAsJson: GraphQLJson
|
|
178
177
|
} & Extensions,
|
|
179
178
|
CoreContent
|
|
@@ -192,21 +191,27 @@ export declare interface ContentEdge {
|
|
|
192
191
|
|
|
193
192
|
export declare interface ContentType {
|
|
194
193
|
name: GraphQLString
|
|
194
|
+
title: GraphQLString
|
|
195
|
+
titleI18nKey: GraphQLString
|
|
195
196
|
displayName: GraphQLString
|
|
196
197
|
description: GraphQLString
|
|
198
|
+
descriptionI18nKey: GraphQLString
|
|
197
199
|
superType: GraphQLString
|
|
198
200
|
abstract: GraphQLBoolean
|
|
199
201
|
final: GraphQLBoolean
|
|
200
202
|
allowChildContent: GraphQLBoolean
|
|
201
|
-
|
|
203
|
+
displayNameExpression: GraphQLString
|
|
204
|
+
displayNameListExpression: GraphQLString
|
|
205
|
+
displayNamePlaceholder: GraphQLString
|
|
206
|
+
displayNamePlaceholderI18nKey: GraphQLString
|
|
202
207
|
icon: Icon
|
|
203
208
|
form: FormItem[]
|
|
204
209
|
formAsJson: GraphQLJson
|
|
205
210
|
}
|
|
206
211
|
|
|
207
|
-
export declare interface
|
|
208
|
-
media:
|
|
209
|
-
base:
|
|
212
|
+
export declare interface Mixin {
|
|
213
|
+
media: Mixin_media_ApplicationConfig
|
|
214
|
+
base: Mixin_base_ApplicationConfig
|
|
210
215
|
}
|
|
211
216
|
|
|
212
217
|
export declare interface FormItem {
|
|
@@ -291,22 +296,22 @@ export declare interface PublishInfo {
|
|
|
291
296
|
first: GraphQLString
|
|
292
297
|
}
|
|
293
298
|
|
|
294
|
-
export declare interface
|
|
295
|
-
gpsInfo:
|
|
299
|
+
export declare interface Mixin_base_ApplicationConfig {
|
|
300
|
+
gpsInfo: Mixin_base_gpsInfo_DataConfig
|
|
296
301
|
}
|
|
297
302
|
|
|
298
|
-
export declare interface
|
|
303
|
+
export declare interface Mixin_base_gpsInfo_DataConfig {
|
|
299
304
|
geoPoint: GeoPoint
|
|
300
305
|
altitude: GraphQLString
|
|
301
306
|
direction: GraphQLString
|
|
302
307
|
}
|
|
303
308
|
|
|
304
|
-
export declare interface
|
|
305
|
-
imageInfo:
|
|
306
|
-
cameraInfo:
|
|
309
|
+
export declare interface Mixin_media_ApplicationConfig {
|
|
310
|
+
imageInfo: Mixin_media_imageInfo_DataConfig
|
|
311
|
+
cameraInfo: Mixin_media_cameraInfo_DataConfig
|
|
307
312
|
}
|
|
308
313
|
|
|
309
|
-
export declare interface
|
|
314
|
+
export declare interface Mixin_media_cameraInfo_DataConfig {
|
|
310
315
|
date: GraphQLLocalDateTime
|
|
311
316
|
make: GraphQLString
|
|
312
317
|
model: GraphQLString
|
|
@@ -328,7 +333,7 @@ export declare interface XData_media_cameraInfo_DataConfig {
|
|
|
328
333
|
orientation: GraphQLString
|
|
329
334
|
}
|
|
330
335
|
|
|
331
|
-
export declare interface
|
|
336
|
+
export declare interface Mixin_media_imageInfo_DataConfig {
|
|
332
337
|
pixelSize: GraphQLString
|
|
333
338
|
imageHeight: GraphQLString
|
|
334
339
|
imageWidth: GraphQLString
|
package/package.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"url": "https://github.com/enonic/app-guillotine/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@enonic-types/core": "^
|
|
8
|
-
"@enonic-types/global": "^
|
|
9
|
-
"@enonic-types/lib-content": "^
|
|
7
|
+
"@enonic-types/core": "^8.0.0-B4",
|
|
8
|
+
"@enonic-types/global": "^8.0.0-B4",
|
|
9
|
+
"@enonic-types/lib-content": "^8.0.0-B4"
|
|
10
10
|
},
|
|
11
11
|
"description": "Types for Guillotine extensions",
|
|
12
12
|
"devDependencies": {
|
|
@@ -42,9 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"check": "npx tsc --noEmit",
|
|
45
|
-
"prepublishOnly": "node setversion.js",
|
|
46
45
|
"test": "tsd ./"
|
|
47
46
|
},
|
|
48
47
|
"types": "index.ts",
|
|
49
|
-
"version": "
|
|
48
|
+
"version": "8.0.0-B2"
|
|
50
49
|
}
|