@powerhousedao/vetra-builder-package 0.0.0 → 0.0.2

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.
@@ -1,3 +1,2 @@
1
1
  export {};
2
2
  export { module as BuilderAccount } from "./builder-account/index.js";
3
- export { module as VetraPackage } from "./vetra-package/index.js";
@@ -1,2 +1 @@
1
1
  export { module as BuilderAccount } from "./builder-account/index.js";
2
- export { module as VetraPackage } from "./vetra-package/index.js";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import type { Manifest } from "document-model";
2
2
  export declare const manifest: Manifest;
3
- export declare const documentModels: (import("document-model").DocumentModelModule<import("./document-models/builder-account/gen").BuilderAccountPHState> | import("document-model").DocumentModelModule<import("./document-models/vetra-package/gen").VetraPackagePHState>)[];
3
+ export declare const documentModels: import("document-model").DocumentModelModule<import("./document-models/builder-account/gen").BuilderAccountPHState>[];
4
4
  export declare const editors: import("document-model").EditorModule[];
@@ -231,13 +231,13 @@ export const schema = gql `
231
231
  website: URL
232
232
  }
233
233
 
234
- input AddPackageInput {
234
+ input BuilderAccount_AddPackageInput {
235
235
  "Add your inputs here"
236
236
  spaceId: OID!
237
237
  name: String!
238
238
  description: String
239
239
  category: String
240
- author: AuthorInput
240
+ author: BuilderAccount_AuthorInput
241
241
  keywords: [String!]
242
242
  github: URL
243
243
  npm: URL
@@ -1,4 +1,3 @@
1
1
  export {};
2
2
  export * as BuilderAccountSubgraph from "./builder-account/index.js";
3
- export * as VetraPackageSubgraph from "./vetra-package/index.js";
4
3
  export * as VetraReadModelSubgraph from "./vetra-read-model/index.js";
@@ -1,3 +1,2 @@
1
1
  export * as BuilderAccountSubgraph from "./builder-account/index.js";
2
- export * as VetraPackageSubgraph from "./vetra-package/index.js";
3
2
  export * as VetraReadModelSubgraph from "./vetra-read-model/index.js";
@@ -1,4 +1,4 @@
1
- import { VetraReadModelProcessor } from "processors/index.js";
1
+ import { VetraReadModelProcessor } from "../../processors/vetra-read-model/index.js";
2
2
  export const getResolvers = (subgraph) => {
3
3
  const reactor = subgraph.reactor;
4
4
  const db = subgraph.relationalDb;
@@ -3,7 +3,7 @@ export const schema = gql `
3
3
  """
4
4
  Subgraph definition for Vetra Read Model
5
5
  """
6
- type BuilderAccount {
6
+ type BuilderAccountType {
7
7
  id: String!
8
8
  profileName: String!
9
9
  profileSlug: String!
@@ -63,7 +63,7 @@ export const schema = gql `
63
63
 
64
64
  type Query {
65
65
  example(driveId: String!): String
66
- fetchAllBuilderAccounts: [BuilderAccount!]!
67
- fetchBuilderAccount(id: String!): BuilderAccount
66
+ fetchAllBuilderAccounts: [BuilderAccountType!]!
67
+ fetchBuilderAccount(id: String!): BuilderAccountType
68
68
  }
69
69
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/vetra-builder-package",
3
3
  "description": "",
4
- "version": "0.0.0",
4
+ "version": "0.0.2",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [