@graphprotocol/graph-cli 0.64.0-alpha-20231215212316-b850152 → 0.64.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.64.0-alpha-20231215212316-b850152
3
+ ## 0.64.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -105,13 +105,13 @@ const parseSchema = (doc) => {
105
105
  };
106
106
  const validateEntityDirective = (def) => {
107
107
  validateDebugger('Validating entity directive for %s', def?.name?.value);
108
- return def.directives.find((directive) => directive.name.value === 'entity' || directive.name.value === 'aggregation')
108
+ return def.directives.find((directive) => directive.name.value === 'entity')
109
109
  ? List()
110
110
  : immutable_1.default.fromJS([
111
111
  {
112
112
  loc: def.loc,
113
113
  entity: def.name.value,
114
- message: `Defined without @entity or @aggregation directive`,
114
+ message: `Defined without @entity directive`,
115
115
  },
116
116
  ]);
117
117
  };
@@ -132,8 +132,7 @@ const validateEntityID = (def) => {
132
132
  idField.type.type.kind === 'NamedType' &&
133
133
  (idField.type.type.name.value === 'ID' ||
134
134
  idField.type.type.name.value === 'Bytes' ||
135
- idField.type.type.name.value === 'String' ||
136
- idField.type.type.name.value === 'Int8')) {
135
+ idField.type.type.name.value === 'String')) {
137
136
  validateDebugger('Entity %s has valid id field', def?.name?.value);
138
137
  return List();
139
138
  }
@@ -142,7 +141,7 @@ const validateEntityID = (def) => {
142
141
  {
143
142
  loc: idField.loc,
144
143
  entity: def.name.value,
145
- message: `Field 'id': Entity ids must be of type Int8!, Bytes! or String!`,
144
+ message: `Field 'id': Entity ids must be of type Bytes! or String!`,
146
145
  },
147
146
  ]);
148
147
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.64.0-alpha-20231215212316-b850152",
2
+ "version": "0.64.0",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.64.0-alpha-20231215212316-b850152",
3
+ "version": "0.64.0",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {