@digdir/dialogporten-schema 1.48.3 → 1.48.4

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": "@digdir/dialogporten-schema",
3
- "version": "1.48.3",
3
+ "version": "1.48.4",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -372,9 +372,13 @@ enum ActorType {
372
372
  SERVICE_OWNER
373
373
  }
374
374
 
375
+ "Defines when a policy shall be executed."
375
376
  enum ApplyPolicy {
377
+ "Before the resolver was executed."
376
378
  BEFORE_RESOLVER
379
+ "After the resolver was executed."
377
380
  AFTER_RESOLVER
381
+ "The policy is applied in the validation step before the execution."
378
382
  VALIDATION
379
383
  }
380
384
 
@@ -451,8 +455,12 @@ enum TransmissionType {
451
455
  CORRECTION
452
456
  }
453
457
 
458
+ "The authorize directive."
454
459
  directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the authorize directive shall be applied.By default the authorize directives are applied during the validation phase." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on OBJECT | FIELD_DEFINITION
455
460
 
461
+ "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
462
+ directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
463
+
456
464
  "The `DateTime` scalar represents an ISO-8601 compliant date time type."
457
465
  scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
458
466
 
package/src/index.js CHANGED
@@ -372,9 +372,13 @@ enum ActorType {
372
372
  SERVICE_OWNER
373
373
  }
374
374
 
375
+ "Defines when a policy shall be executed."
375
376
  enum ApplyPolicy {
377
+ "Before the resolver was executed."
376
378
  BEFORE_RESOLVER
379
+ "After the resolver was executed."
377
380
  AFTER_RESOLVER
381
+ "The policy is applied in the validation step before the execution."
378
382
  VALIDATION
379
383
  }
380
384
 
@@ -451,8 +455,12 @@ enum TransmissionType {
451
455
  CORRECTION
452
456
  }
453
457
 
458
+ "The authorize directive."
454
459
  directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the authorize directive shall be applied.By default the authorize directives are applied during the validation phase." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on OBJECT | FIELD_DEFINITION
455
460
 
461
+ "The '@specifiedBy' directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
462
+ directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
463
+
456
464
  "The 'DateTime' scalar represents an ISO-8601 compliant date time type."
457
465
  scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
458
466