@powerhousedao/reactor-api 1.14.4 → 1.14.5

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": "@powerhousedao/reactor-api",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,7 @@ export class DriveSubgraph extends Subgraph {
29
29
  type Query {
30
30
  system: System
31
31
  drive: DocumentDriveState
32
- document(id: ID!): IDocument
32
+ document(id: String!): IDocument
33
33
  documents: [String!]!
34
34
  }
35
35
 
@@ -59,6 +59,7 @@ export const getDocumentModelTypeDefs = (
59
59
  revision: Int!
60
60
  created: DateTime!
61
61
  lastModified: DateTime!
62
+ ${documentModel.name !== "DocumentModel" ? `initialState: ${documentModel.name}State!` : ""}
62
63
  ${documentModel.name !== "DocumentModel" ? `state: ${documentModel.name}State!` : ""}
63
64
  }\n`;
64
65
  });