@things-factory/operato-board 7.0.44 → 7.0.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "7.0.44",
3
+ "version": "7.0.48",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -91,45 +91,45 @@
91
91
  "@operato/shell": "^7.0.0",
92
92
  "@operato/styles": "^7.0.0",
93
93
  "@operato/utils": "^7.0.0",
94
- "@things-factory/apptool-ui": "^7.0.44",
95
- "@things-factory/auth-azure-ad": "^7.0.44",
96
- "@things-factory/auth-google": "^7.0.44",
97
- "@things-factory/auth-ui": "^7.0.44",
98
- "@things-factory/board-service": "^7.0.44",
99
- "@things-factory/board-ui": "^7.0.44",
100
- "@things-factory/context-ui": "^7.0.44",
101
- "@things-factory/export-ui": "^7.0.44",
102
- "@things-factory/fav-base": "^7.0.44",
103
- "@things-factory/font-base": "^7.0.44",
94
+ "@things-factory/apptool-ui": "^7.0.48",
95
+ "@things-factory/auth-azure-ad": "^7.0.48",
96
+ "@things-factory/auth-google": "^7.0.48",
97
+ "@things-factory/auth-ui": "^7.0.48",
98
+ "@things-factory/board-service": "^7.0.48",
99
+ "@things-factory/board-ui": "^7.0.48",
100
+ "@things-factory/context-ui": "^7.0.48",
101
+ "@things-factory/export-ui": "^7.0.48",
102
+ "@things-factory/fav-base": "^7.0.48",
103
+ "@things-factory/font-base": "^7.0.48",
104
104
  "@things-factory/form-ui": "^7.0.33",
105
- "@things-factory/help": "^7.0.44",
106
- "@things-factory/i18n-base": "^7.0.44",
107
- "@things-factory/import-ui": "^7.0.44",
108
- "@things-factory/integration-base": "^7.0.44",
109
- "@things-factory/integration-email": "^7.0.44",
110
- "@things-factory/integration-influxdb": "^7.0.44",
111
- "@things-factory/integration-msgraph": "^7.0.44",
112
- "@things-factory/integration-notification": "^7.0.44",
113
- "@things-factory/integration-openai": "^7.0.44",
114
- "@things-factory/integration-ui": "^7.0.44",
115
- "@things-factory/more-ui": "^7.0.44",
116
- "@things-factory/notification": "^7.0.44",
117
- "@things-factory/oauth2-client": "^7.0.44",
118
- "@things-factory/offline-ui": "^7.0.44",
119
- "@things-factory/pdf": "^7.0.44",
120
- "@things-factory/print-service": "^7.0.44",
121
- "@things-factory/print-ui": "^7.0.44",
122
- "@things-factory/resource-ui": "^7.0.44",
123
- "@things-factory/setting-ui": "^7.0.44",
124
- "@things-factory/shell": "^7.0.44",
125
- "@things-factory/system": "^7.0.44"
105
+ "@things-factory/help": "^7.0.48",
106
+ "@things-factory/i18n-base": "^7.0.48",
107
+ "@things-factory/import-ui": "^7.0.48",
108
+ "@things-factory/integration-base": "^7.0.48",
109
+ "@things-factory/integration-email": "^7.0.48",
110
+ "@things-factory/integration-influxdb": "^7.0.48",
111
+ "@things-factory/integration-msgraph": "^7.0.48",
112
+ "@things-factory/integration-notification": "^7.0.48",
113
+ "@things-factory/integration-openai": "^7.0.48",
114
+ "@things-factory/integration-ui": "^7.0.48",
115
+ "@things-factory/more-ui": "^7.0.48",
116
+ "@things-factory/notification": "^7.0.48",
117
+ "@things-factory/oauth2-client": "^7.0.48",
118
+ "@things-factory/offline-ui": "^7.0.48",
119
+ "@things-factory/pdf": "^7.0.48",
120
+ "@things-factory/print-service": "^7.0.48",
121
+ "@things-factory/print-ui": "^7.0.48",
122
+ "@things-factory/resource-ui": "^7.0.48",
123
+ "@things-factory/setting-ui": "^7.0.48",
124
+ "@things-factory/shell": "^7.0.48",
125
+ "@things-factory/system": "^7.0.48"
126
126
  },
127
127
  "devDependencies": {
128
- "@things-factory/board-test": "^7.0.44",
129
- "@things-factory/builder": "^7.0.33"
128
+ "@things-factory/board-test": "^7.0.48",
129
+ "@things-factory/builder": "^7.0.48"
130
130
  },
131
131
  "resolutions": {
132
132
  "passport": "^0.7.0"
133
133
  },
134
- "gitHead": "15c3e1b6a2b5f33c03cca37aabdc5f4c388d7dc9"
134
+ "gitHead": "516772ebee08900790bcc43477419d60adcb4dcd"
135
135
  }
package/schema.graphql CHANGED
@@ -1610,6 +1610,12 @@ type Mutation {
1610
1610
  """To create new Oauth2Client"""
1611
1611
  createOauth2Client(oauth2Client: NewOauth2Client!): Oauth2Client!
1612
1612
 
1613
+ """To create new PDFRelease"""
1614
+ createPDFRelease(pdfRelease: NewPDFRelease!): PDFRelease!
1615
+
1616
+ """To create new PDFTemplate"""
1617
+ createPDFTemplate(pdfTemplate: NewPDFTemplate!): PDFTemplate!
1618
+
1613
1619
  """To create new PayloadLog"""
1614
1620
  createPayloadLog(payloadLog: NewPayloadLog!): PayloadLog!
1615
1621
 
@@ -1809,6 +1815,18 @@ type Mutation {
1809
1815
  """To delete multiple Oauth2Clients"""
1810
1816
  deleteOauth2Clients(ids: [String!]!): Boolean!
1811
1817
 
1818
+ """To delete PDFRelease"""
1819
+ deletePDFRelease(id: String!): Boolean!
1820
+
1821
+ """To delete multiple PDFReleases"""
1822
+ deletePDFReleases(ids: [String!]!): Boolean!
1823
+
1824
+ """To delete PDFTemplate"""
1825
+ deletePDFTemplate(id: String!): Boolean!
1826
+
1827
+ """To delete multiple PDFTemplates"""
1828
+ deletePDFTemplates(ids: [String!]!): Boolean!
1829
+
1812
1830
  """To delete PagePreference"""
1813
1831
  deletePagePreference(id: String!): Boolean!
1814
1832
 
@@ -1956,6 +1974,12 @@ type Mutation {
1956
1974
  """To import multiple Oauth2Clients"""
1957
1975
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
1958
1976
 
1977
+ """To import multiple PDFReleases"""
1978
+ importPDFReleases(pdfReleases: [PDFReleasePatch!]!): Boolean!
1979
+
1980
+ """To import multiple PDFTemplates"""
1981
+ importPDFTemplates(pdfTemplates: [PDFTemplatePatch!]!): Boolean!
1982
+
1959
1983
  """To import multiple scenarios"""
1960
1984
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
1961
1985
 
@@ -2168,6 +2192,12 @@ type Mutation {
2168
2192
  """To modify multiple NotificationRules' information"""
2169
2193
  updateMultipleNotificationRule(patches: [NotificationRulePatch!]!): [NotificationRule!]!
2170
2194
 
2195
+ """To modify multiple PDFReleases' information"""
2196
+ updateMultiplePDFRelease(patches: [PDFReleasePatch!]!): [PDFRelease!]!
2197
+
2198
+ """To modify multiple PDFTemplates' information"""
2199
+ updateMultiplePDFTemplate(patches: [PDFTemplatePatch!]!): [PDFTemplate!]!
2200
+
2171
2201
  """To modify multiple PartnerSettings' information"""
2172
2202
  updateMultiplePartnerSetting(patches: [PartnerSettingPatch!]!): [PartnerSetting!]!
2173
2203
 
@@ -2216,6 +2246,12 @@ type Mutation {
2216
2246
  """To modify Oauth2Client information"""
2217
2247
  updateOauth2Client(id: String!, patch: Oauth2ClientPatch!): Oauth2Client!
2218
2248
 
2249
+ """To modify PDFRelease information"""
2250
+ updatePDFRelease(id: String!, patch: PDFReleasePatch!): PDFRelease!
2251
+
2252
+ """To modify PDFTemplate information"""
2253
+ updatePDFTemplate(id: String!, patch: PDFTemplatePatch!): PDFTemplate!
2254
+
2219
2255
  """To modify PayloadLog information"""
2220
2256
  updatePayloadLog(id: String!, patch: PayloadLogPatch!): PayloadLog!
2221
2257
 
@@ -2663,6 +2699,28 @@ input NewOauth2Client {
2663
2699
  webhook: String
2664
2700
  }
2665
2701
 
2702
+ input NewPDFRelease {
2703
+ active: Boolean
2704
+ description: String
2705
+ name: String!
2706
+ params: String
2707
+ state: PDFReleaseStatus
2708
+ }
2709
+
2710
+ input NewPDFTemplate {
2711
+ active: Boolean
2712
+ content_template: String
2713
+ cover_template: String
2714
+ description: String
2715
+ footer_template: String
2716
+ header_template: String
2717
+ last_template: String
2718
+ name: String!
2719
+ page_size: String = "A4"
2720
+ state: PDFTemplateStatus
2721
+ watermark: String
2722
+ }
2723
+
2666
2724
  input NewPagePreference {
2667
2725
  element: String
2668
2726
  page: String
@@ -3024,6 +3082,92 @@ enum OrgMemberTargetType {
3024
3082
  Role
3025
3083
  }
3026
3084
 
3085
+ """Entity for PDFRelease"""
3086
+ type PDFRelease {
3087
+ active: Boolean
3088
+ createdAt: DateTimeISO
3089
+ creator: User
3090
+ deletedAt: DateTimeISO
3091
+ description: String
3092
+ domain: Domain
3093
+ filePath: String
3094
+ fileUrl: String
3095
+ id: ID!
3096
+ name: String
3097
+ state: String
3098
+ template: PDFTemplate!
3099
+ templateId: String!
3100
+ updatedAt: DateTimeISO
3101
+ updater: User
3102
+ }
3103
+
3104
+ type PDFReleaseList {
3105
+ items: [PDFRelease!]!
3106
+ total: Int!
3107
+ }
3108
+
3109
+ input PDFReleasePatch {
3110
+ active: Boolean
3111
+ cuFlag: String
3112
+ description: String
3113
+ id: ID
3114
+ name: String
3115
+ state: PDFReleaseStatus
3116
+ }
3117
+
3118
+ """state enumeration of a PDFRelease"""
3119
+ enum PDFReleaseStatus {
3120
+ failed
3121
+ published
3122
+ }
3123
+
3124
+ """Entity for PDFTemplate"""
3125
+ type PDFTemplate {
3126
+ active: Boolean
3127
+ content_template: String
3128
+ cover_template: String
3129
+ createdAt: DateTimeISO
3130
+ creator: User
3131
+ description: String
3132
+ domain: Domain
3133
+ footer_template: String
3134
+ header_template: String
3135
+ id: ID!
3136
+ last_template: String
3137
+ name: String
3138
+ page_size: String
3139
+ state: String
3140
+ updatedAt: DateTimeISO
3141
+ updater: User
3142
+ watermark: String
3143
+ }
3144
+
3145
+ type PDFTemplateList {
3146
+ items: [PDFTemplate!]!
3147
+ total: Int!
3148
+ }
3149
+
3150
+ input PDFTemplatePatch {
3151
+ active: Boolean
3152
+ content_template: String
3153
+ cover_template: String
3154
+ cuFlag: String
3155
+ description: String
3156
+ footer_template: String
3157
+ header_template: String
3158
+ id: ID
3159
+ last_template: String
3160
+ name: String
3161
+ page_size: String = "A4"
3162
+ state: PDFTemplateStatus
3163
+ }
3164
+
3165
+ """state enumeration of a PDF Template"""
3166
+ enum PDFTemplateStatus {
3167
+ draft
3168
+ released
3169
+ }
3170
+
3027
3171
  """Entity for PagePreference"""
3028
3172
  type PagePreference {
3029
3173
  createdAt: DateTimeISO
@@ -3270,6 +3414,12 @@ type PropertySpec {
3270
3414
 
3271
3415
  type Query {
3272
3416
  APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
3417
+
3418
+ """To fetch a PDFTemplate"""
3419
+ PDFTemplate(id: String!): PDFTemplate
3420
+
3421
+ """To fetch multiple PDFTemplates"""
3422
+ PDFTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFTemplateList!
3273
3423
  appBinding(id: String!): AppBinding!
3274
3424
  appBindings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AppBindingList!
3275
3425
 
@@ -3581,6 +3731,12 @@ type Query {
3581
3731
  """To fetch multiple PayloadLogs"""
3582
3732
  payloadLogs(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PayloadLogList!
3583
3733
 
3734
+ """To fetch a PDFRelease"""
3735
+ pdfRelease(id: String!): PDFRelease
3736
+
3737
+ """To fetch multiple PDFReleases"""
3738
+ pdfReleases(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFReleaseList!
3739
+
3584
3740
  """To fetch a PlayGroup"""
3585
3741
  playGroup(id: String!): PlayGroup
3586
3742
 
@@ -93,7 +93,7 @@
93
93
  <script src="<%- elementScript %>"></script>
94
94
 
95
95
  <script src="/theme.js"></script>
96
- <script>
96
+ <script nonce="<%= nonce %>">
97
97
  var pageEl = document.querySelector('#page')
98
98
  page.data = <%- JSON.stringify(data) %>
99
99
  </script>