@digdir/dialogporten-schema 1.0.8 → 1.0.9
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 +36 -2
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
query: Queries
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
interface DialogByIdError {
|
|
6
|
+
message: String!
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface SearchDialogError {
|
|
10
|
+
message: String!
|
|
11
|
+
}
|
|
12
|
+
|
|
5
13
|
type Activity {
|
|
6
14
|
id: UUID!
|
|
7
15
|
createdAt: DateTime
|
|
@@ -75,6 +83,23 @@ type Dialog {
|
|
|
75
83
|
seenSinceLastUpdate: [SeenLog!]!
|
|
76
84
|
}
|
|
77
85
|
|
|
86
|
+
type DialogByIdDeleted implements DialogByIdError {
|
|
87
|
+
message: String!
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type DialogByIdForbidden implements DialogByIdError {
|
|
91
|
+
message: String!
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
type DialogByIdNotFound implements DialogByIdError {
|
|
95
|
+
message: String!
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type DialogByIdPayload {
|
|
99
|
+
dialog: Dialog
|
|
100
|
+
errors: [DialogByIdError!]!
|
|
101
|
+
}
|
|
102
|
+
|
|
78
103
|
type Element {
|
|
79
104
|
id: UUID!
|
|
80
105
|
type: URL
|
|
@@ -111,7 +136,7 @@ type Localization {
|
|
|
111
136
|
}
|
|
112
137
|
|
|
113
138
|
type Queries @authorize(policy: "enduser") {
|
|
114
|
-
dialogById(dialogId: UUID!):
|
|
139
|
+
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
115
140
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
116
141
|
parties: [AuthorizedParty!]!
|
|
117
142
|
}
|
|
@@ -133,11 +158,20 @@ type SearchDialog {
|
|
|
133
158
|
seenSinceLastUpdate: [SeenLog!]!
|
|
134
159
|
}
|
|
135
160
|
|
|
161
|
+
type SearchDialogForbidden implements SearchDialogError {
|
|
162
|
+
message: String!
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
type SearchDialogValidationError implements SearchDialogError {
|
|
166
|
+
message: String!
|
|
167
|
+
}
|
|
168
|
+
|
|
136
169
|
type SearchDialogsPayload {
|
|
137
|
-
items: [SearchDialog!]
|
|
170
|
+
items: [SearchDialog!]
|
|
138
171
|
hasNextPage: Boolean!
|
|
139
172
|
continuationToken: String
|
|
140
173
|
orderBy: String!
|
|
174
|
+
errors: [SearchDialogError!]!
|
|
141
175
|
}
|
|
142
176
|
|
|
143
177
|
type SeenLog {
|