@enonic-types/guillotine 9.0.0-B3 → 9.0.1

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 CHANGED
@@ -90,7 +90,6 @@ export type {
90
90
  } from './graphQL'
91
91
 
92
92
  export type {
93
- AccessControlEntry,
94
93
  Attachment,
95
94
  AttachmentUrl,
96
95
  EnumTypeNames,
@@ -136,7 +135,6 @@ export type {
136
135
  PageInfo,
137
136
  PageUrl,
138
137
  PartComponentData,
139
- Permissions,
140
138
  portal_Site,
141
139
  portal_Site_Data,
142
140
  PrincipalKey,
@@ -164,7 +162,6 @@ export {
164
162
  ComponentType,
165
163
  FormItemType,
166
164
  MediaIntentType,
167
- Permission,
168
165
  PrincipalType,
169
166
  } from './guillotine'
170
167
 
@@ -10,7 +10,6 @@ export enum EnumTypeName {
10
10
  HighlightOrderType = 'HighlightOrderType',
11
11
  HighlightTagsSchemaType = 'HighlightTagsSchemaType',
12
12
  MediaIntentType = 'MediaIntentType',
13
- Permission = 'Permission',
14
13
  PrincipalType = 'PrincipalType',
15
14
  }
16
15
 
@@ -42,17 +41,6 @@ export enum MediaIntentType {
42
41
  inline = 'inline',
43
42
  }
44
43
 
45
- // This is a value, do not add declare.
46
- export enum Permission {
47
- READ = 'READ',
48
- CREATE = 'CREATE',
49
- MODIFY = 'MODIFY',
50
- DELETE = 'DELETE',
51
- PUBLISH = 'PUBLISH',
52
- READ_PERMISSIONS = 'READ_PERMISSIONS',
53
- WRITE_PERMISSIONS = 'WRITE_PERMISSIONS',
54
- }
55
-
56
44
  // This is a value, do not add declare.
57
45
  export enum PrincipalType {
58
46
  user = 'user',
@@ -8,7 +8,6 @@ export type {
8
8
 
9
9
  export type {
10
10
  ObjectTypeNames,
11
- AccessControlEntry,
12
11
  Attachment,
13
12
  AttachmentUrl,
14
13
  Component,
@@ -50,7 +49,6 @@ export type {
50
49
  PageInfo,
51
50
  PageUrl,
52
51
  PartComponentData,
53
- Permissions,
54
52
  portal_Site,
55
53
  portal_Site_Data,
56
54
  PrincipalKey,
@@ -74,7 +72,6 @@ export {
74
72
  EnumTypeName,
75
73
  FormItemType,
76
74
  MediaIntentType,
77
- Permission,
78
75
  PrincipalType,
79
76
  } from './enumTypes'
80
77
 
@@ -7,7 +7,6 @@ import type {
7
7
  ComponentType,
8
8
  FormItemType,
9
9
  MediaIntentType,
10
- Permission,
11
10
  PrincipalType,
12
11
  } from './enumTypes'
13
12
  import type {
@@ -28,7 +27,6 @@ import type {
28
27
 
29
28
  // This is a value, do not add declare.
30
29
  export enum ObjectTypeName {
31
- AccessControlEntry = 'AccessControlEntry',
32
30
  Attachment = 'Attachment',
33
31
  AttachmentUrl = 'AttachmentUrl',
34
32
  base_Folder = 'base_Folder',
@@ -105,7 +103,6 @@ export enum ObjectTypeName {
105
103
  PageUrl = 'PageUrl',
106
104
  PartComponentData = 'PartComponentData',
107
105
  PartComponentDataConfig = 'PartComponentDataConfig',
108
- Permissions = 'Permissions',
109
106
  portal_Fragment = 'portal_Fragment',
110
107
  portal_PageTemplate = 'portal_PageTemplate',
111
108
  portal_PageTemplate_Data = 'portal_PageTemplate_Data',
@@ -132,12 +129,6 @@ export declare type ObjectTypeNames = keyof typeof ObjectTypeName
132
129
 
133
130
  //──────────────────────────────────────────────────────────────────────────────
134
131
 
135
- export declare interface AccessControlEntry {
136
- principal: PrincipalKey
137
- allow: Permission[] // enum
138
- deny: Permission[] // enum
139
- }
140
-
141
132
  export declare interface Attachment {
142
133
  name: GraphQLString
143
134
  label: GraphQLString
@@ -186,7 +177,6 @@ export declare type Content<
186
177
  pageTemplate: Content
187
178
  pageUrl: PageUrl
188
179
  parent: Content
189
- permissions: Permissions
190
180
  publish: PublishInfo
191
181
  site: portal_Site
192
182
  type: GraphQLString
@@ -299,7 +289,6 @@ export declare interface HeadlessCms {
299
289
  get: Content
300
290
  getChildren: Content[]
301
291
  getChildrenConnection: ContentConnection
302
- getPermissions: Permissions
303
292
  getSite: portal_Site
304
293
  queryDsl: Content[]
305
294
  queryDslConnection: QueryDSLContentConnection
@@ -436,10 +425,6 @@ export declare interface PartComponentData {
436
425
  config: Record<string, unknown> // PartComponentDataConfig, generated from installed applications
437
426
  }
438
427
 
439
- export declare interface Permissions {
440
- permissions: AccessControlEntry[]
441
- }
442
-
443
428
  export declare type portal_Site = BrandGraphQLObjectType<
444
429
  'portal_Site',
445
430
  {
package/index.ts CHANGED
@@ -166,7 +166,6 @@ export {
166
166
  InputTypeName,
167
167
  MediaIntentType,
168
168
  ObjectTypeName,
169
- Permission,
170
169
  PrincipalType,
171
170
  ScalarTypeName,
172
171
  } from './guillotine'
package/package.json CHANGED
@@ -45,5 +45,5 @@
45
45
  "test": "tsd ./ --files \"test-d/**/*.test-d.ts\""
46
46
  },
47
47
  "types": "index.ts",
48
- "version": "9.0.0-B3"
48
+ "version": "9.0.1"
49
49
  }