@digdir/dialogporten-schema 1.106.2-bfcc35e → 1.107.0-7971e5b
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 +1 -1
- package/schema.verified.graphql +2 -0
- package/src/index.js +2 -0
- package/swagger.verified.json +11 -3
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -173,6 +173,7 @@ type Content {
|
|
|
173
173
|
type ContentValue {
|
|
174
174
|
value: [Localization!]!
|
|
175
175
|
mediaType: String!
|
|
176
|
+
isAuthorized: Boolean
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
type Dialog {
|
|
@@ -315,6 +316,7 @@ type DialogLookupServiceOwner {
|
|
|
315
316
|
|
|
316
317
|
type DialogLookupServiceResource {
|
|
317
318
|
id: String!
|
|
319
|
+
isDelegable: Boolean!
|
|
318
320
|
name: [Localization!]!
|
|
319
321
|
}
|
|
320
322
|
|
package/src/index.js
CHANGED
|
@@ -173,6 +173,7 @@ type Content {
|
|
|
173
173
|
type ContentValue {
|
|
174
174
|
value: [Localization!]!
|
|
175
175
|
mediaType: String!
|
|
176
|
+
isAuthorized: Boolean
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
type Dialog {
|
|
@@ -315,6 +316,7 @@ type DialogLookupServiceOwner {
|
|
|
315
316
|
|
|
316
317
|
type DialogLookupServiceResource {
|
|
317
318
|
id: String!
|
|
319
|
+
isDelegable: Boolean!
|
|
318
320
|
name: [Localization!]!
|
|
319
321
|
}
|
|
320
322
|
|
package/swagger.verified.json
CHANGED
|
@@ -464,6 +464,11 @@
|
|
|
464
464
|
"V1CommonContent_ContentValue": {
|
|
465
465
|
"additionalProperties": false,
|
|
466
466
|
"properties": {
|
|
467
|
+
"isAuthorized": {
|
|
468
|
+
"description": "True if the authenticated user is authorized for this content. If not, the endpoints will\nbe replaced with a fixed placeholder. Can be null if not applicable.\n ",
|
|
469
|
+
"nullable": true,
|
|
470
|
+
"type": "boolean"
|
|
471
|
+
},
|
|
467
472
|
"mediaType": {
|
|
468
473
|
"description": "Media type of the content, this can also indicate that the content is embeddable.",
|
|
469
474
|
"type": "string"
|
|
@@ -587,6 +592,9 @@
|
|
|
587
592
|
"id": {
|
|
588
593
|
"type": "string"
|
|
589
594
|
},
|
|
595
|
+
"isDelegable": {
|
|
596
|
+
"type": "boolean"
|
|
597
|
+
},
|
|
590
598
|
"name": {
|
|
591
599
|
"items": {
|
|
592
600
|
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
@@ -733,7 +741,7 @@
|
|
|
733
741
|
]
|
|
734
742
|
},
|
|
735
743
|
"mainContentReference": {
|
|
736
|
-
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
|
|
744
|
+
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.\nContent value will be masked if the user is not authorized to read main content.",
|
|
737
745
|
"nullable": true,
|
|
738
746
|
"oneOf": [
|
|
739
747
|
{
|
|
@@ -4499,7 +4507,7 @@
|
|
|
4499
4507
|
]
|
|
4500
4508
|
},
|
|
4501
4509
|
"mainContentReference": {
|
|
4502
|
-
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL. Must be HTTPS.",
|
|
4510
|
+
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL. Must be HTTPS.\nIsAuthorized is evaluated only when you use the EndUserId query-parameter, otherwise it is null.",
|
|
4503
4511
|
"nullable": true,
|
|
4504
4512
|
"oneOf": [
|
|
4505
4513
|
{
|
|
@@ -10935,4 +10943,4 @@
|
|
|
10935
10943
|
}
|
|
10936
10944
|
}
|
|
10937
10945
|
}
|
|
10938
|
-
}
|
|
10946
|
+
}
|