@sentio/sdk 2.39.7-rc.30 → 2.39.7-rc.31

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.
@@ -3,7 +3,7 @@ import * as fs from 'node:fs';
3
3
  import { GraphQLObjectType, isListType, isNonNullType } from 'graphql';
4
4
  const customScalars = ['BigInt', 'BigDecimal', 'Timestamp', 'JSON', 'Bytes', 'ID'];
5
5
  const baseSchema = buildASTSchema(parse(`
6
- directive @entity on OBJECT
6
+ directive @entity(immutable: Boolean! = false, sparse: Boolean! = false) on OBJECT
7
7
  directive @query on INTERFACE
8
8
  directive @derivedFrom(field: String!) on FIELD_DEFINITION
9
9
  directive @unique on FIELD_DEFINITION
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "2.39.7-rc.30",
3
+ "version": "2.39.7-rc.31",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -83,8 +83,8 @@
83
83
  "typedoc": "^0.26.0",
84
84
  "utility-types": "^3.11.0",
85
85
  "yaml": "^2.3.4",
86
- "@sentio/protos": "2.39.7-rc.30",
87
- "@sentio/runtime": "^2.39.7-rc.30"
86
+ "@sentio/protos": "2.39.7-rc.31",
87
+ "@sentio/runtime": "^2.39.7-rc.31"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "tsup": "npm:@sentio/tsup@^6.7.2"
@@ -6,7 +6,7 @@ const customScalars = ['BigInt', 'BigDecimal', 'Timestamp', 'JSON', 'Bytes', 'ID
6
6
 
7
7
  const baseSchema = buildASTSchema(
8
8
  parse(`
9
- directive @entity on OBJECT
9
+ directive @entity(immutable: Boolean! = false, sparse: Boolean! = false) on OBJECT
10
10
  directive @query on INTERFACE
11
11
  directive @derivedFrom(field: String!) on FIELD_DEFINITION
12
12
  directive @unique on FIELD_DEFINITION