@powerhousedao/vetra-builder-package 5.0.2 → 5.2.0-dev.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.
Files changed (217) hide show
  1. package/dist/document-models/builder-team/actions.d.ts +30 -0
  2. package/dist/document-models/builder-team/actions.d.ts.map +1 -0
  3. package/dist/document-models/builder-team/actions.js +10 -0
  4. package/dist/document-models/builder-team/gen/actions.d.ts +8 -8
  5. package/dist/document-models/builder-team/gen/actions.d.ts.map +1 -1
  6. package/dist/document-models/builder-team/gen/actions.js +4 -4
  7. package/dist/document-models/builder-team/gen/creators.d.ts +8 -4
  8. package/dist/document-models/builder-team/gen/creators.d.ts.map +1 -1
  9. package/dist/document-models/builder-team/gen/creators.js +8 -4
  10. package/dist/document-models/builder-team/gen/document-model.d.ts.map +1 -1
  11. package/dist/document-models/builder-team/gen/document-model.js +220 -220
  12. package/dist/document-models/builder-team/gen/document-schema.d.ts +50 -0
  13. package/dist/document-models/builder-team/gen/document-schema.d.ts.map +1 -0
  14. package/dist/document-models/builder-team/gen/document-schema.js +33 -0
  15. package/dist/document-models/builder-team/gen/document-type.d.ts +2 -0
  16. package/dist/document-models/builder-team/gen/document-type.d.ts.map +1 -0
  17. package/dist/document-models/builder-team/gen/document-type.js +1 -0
  18. package/dist/document-models/builder-team/gen/index.d.ts +14 -5
  19. package/dist/document-models/builder-team/gen/index.d.ts.map +1 -1
  20. package/dist/document-models/builder-team/gen/index.js +14 -5
  21. package/dist/document-models/builder-team/gen/member/actions.d.ts +5 -5
  22. package/dist/document-models/builder-team/gen/member/actions.d.ts.map +1 -1
  23. package/dist/document-models/builder-team/gen/member/actions.js +1 -1
  24. package/dist/document-models/builder-team/gen/member/creators.d.ts +2 -2
  25. package/dist/document-models/builder-team/gen/member/creators.d.ts.map +1 -1
  26. package/dist/document-models/builder-team/gen/member/creators.js +5 -6
  27. package/dist/document-models/builder-team/gen/member/error.d.ts.map +1 -1
  28. package/dist/document-models/builder-team/gen/member/operations.d.ts +3 -3
  29. package/dist/document-models/builder-team/gen/member/operations.d.ts.map +1 -1
  30. package/dist/document-models/builder-team/gen/member/operations.js +1 -3
  31. package/dist/document-models/builder-team/gen/packages/actions.d.ts +6 -6
  32. package/dist/document-models/builder-team/gen/packages/actions.d.ts.map +1 -1
  33. package/dist/document-models/builder-team/gen/packages/actions.js +1 -1
  34. package/dist/document-models/builder-team/gen/packages/creators.d.ts +2 -2
  35. package/dist/document-models/builder-team/gen/packages/creators.d.ts.map +1 -1
  36. package/dist/document-models/builder-team/gen/packages/creators.js +6 -7
  37. package/dist/document-models/builder-team/gen/packages/error.d.ts.map +1 -1
  38. package/dist/document-models/builder-team/gen/packages/operations.d.ts +3 -3
  39. package/dist/document-models/builder-team/gen/packages/operations.d.ts.map +1 -1
  40. package/dist/document-models/builder-team/gen/packages/operations.js +1 -3
  41. package/dist/document-models/builder-team/gen/ph-factories.d.ts.map +1 -1
  42. package/dist/document-models/builder-team/gen/ph-factories.js +16 -14
  43. package/dist/document-models/builder-team/gen/profile/actions.d.ts +7 -7
  44. package/dist/document-models/builder-team/gen/profile/actions.d.ts.map +1 -1
  45. package/dist/document-models/builder-team/gen/profile/actions.js +1 -1
  46. package/dist/document-models/builder-team/gen/profile/creators.d.ts +2 -2
  47. package/dist/document-models/builder-team/gen/profile/creators.d.ts.map +1 -1
  48. package/dist/document-models/builder-team/gen/profile/creators.js +7 -8
  49. package/dist/document-models/builder-team/gen/profile/error.d.ts.map +1 -1
  50. package/dist/document-models/builder-team/gen/profile/operations.d.ts +3 -3
  51. package/dist/document-models/builder-team/gen/profile/operations.d.ts.map +1 -1
  52. package/dist/document-models/builder-team/gen/profile/operations.js +1 -3
  53. package/dist/document-models/builder-team/gen/reducer.d.ts +1 -3
  54. package/dist/document-models/builder-team/gen/reducer.d.ts.map +1 -1
  55. package/dist/document-models/builder-team/gen/reducer.js +86 -70
  56. package/dist/document-models/builder-team/gen/schema/index.d.ts +1 -1
  57. package/dist/document-models/builder-team/gen/schema/index.d.ts.map +1 -1
  58. package/dist/document-models/builder-team/gen/schema/index.js +1 -1
  59. package/dist/document-models/builder-team/gen/schema/types.d.ts +13 -1
  60. package/dist/document-models/builder-team/gen/schema/types.d.ts.map +1 -1
  61. package/dist/document-models/builder-team/gen/schema/zod.d.ts +3 -3
  62. package/dist/document-models/builder-team/gen/schema/zod.d.ts.map +1 -1
  63. package/dist/document-models/builder-team/gen/schema/zod.js +22 -22
  64. package/dist/document-models/builder-team/gen/spaces/actions.d.ts +6 -6
  65. package/dist/document-models/builder-team/gen/spaces/actions.d.ts.map +1 -1
  66. package/dist/document-models/builder-team/gen/spaces/actions.js +1 -1
  67. package/dist/document-models/builder-team/gen/spaces/creators.d.ts +2 -2
  68. package/dist/document-models/builder-team/gen/spaces/creators.d.ts.map +1 -1
  69. package/dist/document-models/builder-team/gen/spaces/creators.js +6 -7
  70. package/dist/document-models/builder-team/gen/spaces/error.d.ts.map +1 -1
  71. package/dist/document-models/builder-team/gen/spaces/operations.d.ts +3 -3
  72. package/dist/document-models/builder-team/gen/spaces/operations.d.ts.map +1 -1
  73. package/dist/document-models/builder-team/gen/spaces/operations.js +1 -3
  74. package/dist/document-models/builder-team/gen/types.d.ts +4 -5
  75. package/dist/document-models/builder-team/gen/types.d.ts.map +1 -1
  76. package/dist/document-models/builder-team/gen/types.js +1 -2
  77. package/dist/document-models/builder-team/gen/utils.d.ts +7 -4
  78. package/dist/document-models/builder-team/gen/utils.d.ts.map +1 -1
  79. package/dist/document-models/builder-team/gen/utils.js +41 -20
  80. package/dist/document-models/builder-team/hooks.d.ts +11 -0
  81. package/dist/document-models/builder-team/hooks.d.ts.map +1 -0
  82. package/dist/document-models/builder-team/hooks.js +26 -0
  83. package/dist/document-models/builder-team/index.d.ts +5 -45
  84. package/dist/document-models/builder-team/index.d.ts.map +1 -1
  85. package/dist/document-models/builder-team/index.js +5 -22
  86. package/dist/document-models/builder-team/module.d.ts +5 -0
  87. package/dist/document-models/builder-team/module.d.ts.map +1 -0
  88. package/dist/document-models/builder-team/module.js +10 -0
  89. package/dist/document-models/builder-team/src/index.d.ts +2 -0
  90. package/dist/document-models/builder-team/src/index.d.ts.map +1 -0
  91. package/dist/document-models/builder-team/src/index.js +1 -0
  92. package/dist/document-models/builder-team/src/reducers/member.d.ts +2 -2
  93. package/dist/document-models/builder-team/src/reducers/member.d.ts.map +1 -1
  94. package/dist/document-models/builder-team/src/reducers/member.js +8 -5
  95. package/dist/document-models/builder-team/src/reducers/packages.d.ts +2 -2
  96. package/dist/document-models/builder-team/src/reducers/packages.d.ts.map +1 -1
  97. package/dist/document-models/builder-team/src/reducers/packages.js +8 -8
  98. package/dist/document-models/builder-team/src/reducers/profile.d.ts +2 -2
  99. package/dist/document-models/builder-team/src/reducers/profile.d.ts.map +1 -1
  100. package/dist/document-models/builder-team/src/reducers/profile.js +6 -6
  101. package/dist/document-models/builder-team/src/reducers/spaces.d.ts +2 -2
  102. package/dist/document-models/builder-team/src/reducers/spaces.d.ts.map +1 -1
  103. package/dist/document-models/builder-team/src/reducers/spaces.js +7 -7
  104. package/dist/document-models/builder-team/src/tests/document-model.test.d.ts +4 -0
  105. package/dist/document-models/builder-team/src/tests/document-model.test.d.ts.map +1 -1
  106. package/dist/document-models/builder-team/src/tests/document-model.test.js +92 -6
  107. package/dist/document-models/builder-team/src/tests/member.test.d.ts +0 -4
  108. package/dist/document-models/builder-team/src/tests/member.test.d.ts.map +1 -1
  109. package/dist/document-models/builder-team/src/tests/member.test.js +15 -20
  110. package/dist/document-models/builder-team/src/tests/packages.test.d.ts +0 -4
  111. package/dist/document-models/builder-team/src/tests/packages.test.d.ts.map +1 -1
  112. package/dist/document-models/builder-team/src/tests/packages.test.js +25 -20
  113. package/dist/document-models/builder-team/src/tests/profile.test.d.ts +0 -4
  114. package/dist/document-models/builder-team/src/tests/profile.test.d.ts.map +1 -1
  115. package/dist/document-models/builder-team/src/tests/profile.test.js +23 -24
  116. package/dist/document-models/builder-team/src/tests/spaces.test.d.ts +0 -4
  117. package/dist/document-models/builder-team/src/tests/spaces.test.d.ts.map +1 -1
  118. package/dist/document-models/builder-team/src/tests/spaces.test.js +25 -20
  119. package/dist/document-models/builder-team/utils.d.ts +14 -0
  120. package/dist/document-models/builder-team/utils.d.ts.map +1 -0
  121. package/dist/document-models/builder-team/utils.js +7 -0
  122. package/dist/document-models/document-models.d.ts +3 -0
  123. package/dist/document-models/document-models.d.ts.map +1 -0
  124. package/dist/document-models/document-models.js +4 -0
  125. package/dist/document-models/index.d.ts +1 -2
  126. package/dist/document-models/index.d.ts.map +1 -1
  127. package/dist/document-models/index.js +1 -2
  128. package/dist/editors/builder-team-editor/components/EditName.d.ts +3 -0
  129. package/dist/editors/builder-team-editor/components/EditName.d.ts.map +1 -0
  130. package/dist/editors/builder-team-editor/components/EditName.js +31 -0
  131. package/dist/editors/builder-team-editor/components/PackagesTable.d.ts.map +1 -1
  132. package/dist/editors/builder-team-editor/components/PackagesTable.js +0 -1
  133. package/dist/editors/builder-team-editor/editor.d.ts +1 -1
  134. package/dist/editors/builder-team-editor/editor.d.ts.map +1 -1
  135. package/dist/editors/builder-team-editor/editor.js +2 -4
  136. package/dist/editors/builder-team-editor/hooks/usePackageHandlers.d.ts +1 -2
  137. package/dist/editors/builder-team-editor/hooks/usePackageHandlers.d.ts.map +1 -1
  138. package/dist/editors/builder-team-editor/hooks/usePackageHandlers.js +1 -1
  139. package/dist/editors/builder-team-editor/module.d.ts +4 -0
  140. package/dist/editors/builder-team-editor/module.d.ts.map +1 -0
  141. package/dist/editors/builder-team-editor/module.js +10 -0
  142. package/dist/editors/editors.d.ts +3 -0
  143. package/dist/editors/editors.d.ts.map +1 -0
  144. package/dist/editors/editors.js +4 -0
  145. package/dist/editors/index.d.ts +1 -2
  146. package/dist/editors/index.d.ts.map +1 -1
  147. package/dist/editors/index.js +1 -2
  148. package/dist/index.d.ts +2 -2
  149. package/dist/index.d.ts.map +1 -1
  150. package/dist/index.js +2 -4
  151. package/dist/processors/factory.d.ts +1 -1
  152. package/dist/processors/factory.d.ts.map +1 -1
  153. package/dist/processors/factory.js +1 -1
  154. package/dist/processors/vetra-builder-relational-db-processor/builder-team-handlers.d.ts +2 -2
  155. package/dist/processors/vetra-builder-relational-db-processor/builder-team-handlers.d.ts.map +1 -1
  156. package/dist/processors/vetra-builder-relational-db-processor/builder-team-handlers.js +1 -1
  157. package/dist/processors/vetra-builder-relational-db-processor/database-helpers.d.ts +1 -1
  158. package/dist/processors/vetra-builder-relational-db-processor/database-helpers.d.ts.map +1 -1
  159. package/dist/processors/vetra-builder-relational-db-processor/factory.d.ts +1 -1
  160. package/dist/processors/vetra-builder-relational-db-processor/factory.d.ts.map +1 -1
  161. package/dist/processors/vetra-builder-relational-db-processor/factory.js +1 -2
  162. package/dist/processors/vetra-builder-relational-db-processor/index.d.ts +3 -5
  163. package/dist/processors/vetra-builder-relational-db-processor/index.d.ts.map +1 -1
  164. package/dist/processors/vetra-builder-relational-db-processor/index.js +18 -20
  165. package/dist/processors/vetra-builder-relational-db-processor/migrations.d.ts +1 -1
  166. package/dist/processors/vetra-builder-relational-db-processor/migrations.d.ts.map +1 -1
  167. package/dist/processors/vetra-builder-relational-db-processor/migrations.js +1 -4
  168. package/dist/scripts/upload-to-drive.js +0 -2
  169. package/dist/style.css +11 -1
  170. package/dist/subgraphs/index.d.ts +0 -1
  171. package/dist/subgraphs/index.d.ts.map +1 -1
  172. package/dist/subgraphs/index.js +0 -2
  173. package/dist/subgraphs/vetra-builders/resolvers.d.ts.map +1 -1
  174. package/dist/subgraphs/vetra-builders/resolvers.js +1 -1
  175. package/dist/vite.config.d.ts +1 -0
  176. package/dist/vite.config.d.ts.map +1 -1
  177. package/dist/vite.config.js +1 -0
  178. package/package.json +65 -44
  179. package/dist/document-models/builder-team/gen/member/object.d.ts +0 -9
  180. package/dist/document-models/builder-team/gen/member/object.d.ts.map +0 -1
  181. package/dist/document-models/builder-team/gen/member/object.js +0 -16
  182. package/dist/document-models/builder-team/gen/object.d.ts +0 -21
  183. package/dist/document-models/builder-team/gen/object.d.ts.map +0 -1
  184. package/dist/document-models/builder-team/gen/object.js +0 -38
  185. package/dist/document-models/builder-team/gen/packages/object.d.ts +0 -10
  186. package/dist/document-models/builder-team/gen/packages/object.d.ts.map +0 -1
  187. package/dist/document-models/builder-team/gen/packages/object.js +0 -19
  188. package/dist/document-models/builder-team/gen/profile/object.d.ts +0 -11
  189. package/dist/document-models/builder-team/gen/profile/object.d.ts.map +0 -1
  190. package/dist/document-models/builder-team/gen/profile/object.js +0 -22
  191. package/dist/document-models/builder-team/gen/spaces/object.d.ts +0 -10
  192. package/dist/document-models/builder-team/gen/spaces/object.d.ts.map +0 -1
  193. package/dist/document-models/builder-team/gen/spaces/object.js +0 -19
  194. package/dist/editors/builder-team-editor/index.d.ts +0 -3
  195. package/dist/editors/builder-team-editor/index.d.ts.map +0 -1
  196. package/dist/editors/builder-team-editor/index.js +0 -9
  197. package/dist/processors/testprocessor/factory.d.ts +0 -4
  198. package/dist/processors/testprocessor/factory.d.ts.map +0 -1
  199. package/dist/processors/testprocessor/factory.js +0 -25
  200. package/dist/processors/testprocessor/index.d.ts +0 -10
  201. package/dist/processors/testprocessor/index.d.ts.map +0 -1
  202. package/dist/processors/testprocessor/index.js +0 -32
  203. package/dist/processors/testprocessor/migrations.d.ts +0 -4
  204. package/dist/processors/testprocessor/migrations.d.ts.map +0 -1
  205. package/dist/processors/testprocessor/migrations.js +0 -15
  206. package/dist/processors/testprocessor/schema.d.ts +0 -8
  207. package/dist/processors/testprocessor/schema.d.ts.map +0 -1
  208. package/dist/processors/testprocessor/schema.js +0 -1
  209. package/dist/subgraphs/builder-team/index.d.ts +0 -11
  210. package/dist/subgraphs/builder-team/index.d.ts.map +0 -1
  211. package/dist/subgraphs/builder-team/index.js +0 -11
  212. package/dist/subgraphs/builder-team/resolvers.d.ts +0 -3
  213. package/dist/subgraphs/builder-team/resolvers.d.ts.map +0 -1
  214. package/dist/subgraphs/builder-team/resolvers.js +0 -289
  215. package/dist/subgraphs/builder-team/schema.d.ts +0 -3
  216. package/dist/subgraphs/builder-team/schema.d.ts.map +0 -1
  217. package/dist/subgraphs/builder-team/schema.js +0 -235
@@ -0,0 +1,30 @@
1
+ /** Actions for the BuilderTeam document model */
2
+ export declare const actions: {
3
+ addPackage: (input: import("./index.js").AddPackageInput) => import("./index.js").AddPackageAction;
4
+ updatePackageInfo: (input: import("./index.js").UpdatePackageInfoInput) => import("./index.js").UpdatePackageInfoAction;
5
+ removePackage: (input: import("./index.js").RemovePackageInput) => import("./index.js").RemovePackageAction;
6
+ reorderPackages: (input: import("./index.js").ReorderPackagesInput) => import("./index.js").ReorderPackagesAction;
7
+ addSpace: (input: import("./index.js").AddSpaceInput) => import("./index.js").AddSpaceAction;
8
+ updateSpaceInfo: (input: import("./index.js").UpdateSpaceInfoInput) => import("./index.js").UpdateSpaceInfoAction;
9
+ removeSpace: (input: import("./index.js").RemoveSpaceInput) => import("./index.js").RemoveSpaceAction;
10
+ reorderSpaces: (input: import("./index.js").ReorderSpacesInput) => import("./index.js").ReorderSpacesAction;
11
+ addMember: (input: import("./index.js").AddMemberInput) => import("./index.js").AddMemberAction;
12
+ updateMemberInfo: (input: import("./index.js").UpdateMemberInfoInput) => import("./index.js").UpdateMemberInfoAction;
13
+ removeMember: (input: import("./index.js").RemoveMemberInput) => import("./index.js").RemoveMemberAction;
14
+ setLogo: (input: import("./index.js").SetLogoInput) => import("./index.js").SetLogoAction;
15
+ setTeamName: (input: import("./index.js").SetTeamNameInput) => import("./index.js").SetTeamNameAction;
16
+ setSlug: (input: import("./index.js").SetSlugInput) => import("./index.js").SetSlugAction;
17
+ setDescription: (input: import("./index.js").SetDescriptionInput) => import("./index.js").SetDescriptionAction;
18
+ setSocials: (input: import("./index.js").SetSocialsInput) => import("./index.js").SetSocialsAction;
19
+ setName: (name: string | {
20
+ name: string;
21
+ }) => import("document-model").SetNameAction;
22
+ undo: (count?: number, scope?: string) => import("document-model").UndoAction;
23
+ redo: (count?: number, scope?: string) => import("document-model").RedoAction;
24
+ prune: (start?: number, end?: number, scope?: string) => import("document-model").SchemaPruneAction;
25
+ loadState: <TState extends import("document-model").PHBaseState = import("document-model").PHBaseState>(state: TState & {
26
+ name: string;
27
+ }, operations: number) => import("document-model").LoadStateAction;
28
+ noop: (scope?: string) => import("document-model").NOOPAction;
29
+ };
30
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../document-models/builder-team/actions.ts"],"names":[],"mappings":"AAQA,iDAAiD;AAEjD,eAAO,MAAM,OAAO;iBAOuI,2CAAsB;wBAA4K,kDAA6B;oBAA8L,8CAAyB;sBAAmL,gDAA2B;eAA9pB,yCAAoB;sBAAoK,gDAA2B;kBAAsL,4CAAuB;oBAA2K,8CAAyB;gBAAnqB,0CAAqB;uBAAwK,iDAA4B;mBAA0L,6CAAwB;cAArU,wCAAmB;kBAA6J,4CAAuB;cAAsK,wCAAmB;qBAAgK,+CAA0B;iBAAiL,2CAAsB;;;;gBAAg8L,CAAC,eAAe,CAAC;gBAAkE,CAAC,eAAe,CAAC;iBAAmE,CAAC,aAAa,CAAC,eAAe,CAAC;;;;gBAAqS,CAAC;CADp1O,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { baseActions } from "document-model";
2
+ import { profileActions, memberActions, spacesActions, packagesActions, } from "./gen/creators.js";
3
+ /** Actions for the BuilderTeam document model */
4
+ export const actions = {
5
+ ...baseActions,
6
+ ...profileActions,
7
+ ...memberActions,
8
+ ...spacesActions,
9
+ ...packagesActions,
10
+ };
@@ -1,10 +1,10 @@
1
- import type { BuilderTeamProfileAction } from './profile/actions.js';
2
- import type { BuilderTeamMemberAction } from './member/actions.js';
3
- import type { BuilderTeamSpacesAction } from './spaces/actions.js';
4
- import type { BuilderTeamPackagesAction } from './packages/actions.js';
5
- export * from './profile/actions.js';
6
- export * from './member/actions.js';
7
- export * from './spaces/actions.js';
8
- export * from './packages/actions.js';
1
+ import type { BuilderTeamProfileAction } from "./profile/actions.js";
2
+ import type { BuilderTeamMemberAction } from "./member/actions.js";
3
+ import type { BuilderTeamSpacesAction } from "./spaces/actions.js";
4
+ import type { BuilderTeamPackagesAction } from "./packages/actions.js";
5
+ export * from "./profile/actions.js";
6
+ export * from "./member/actions.js";
7
+ export * from "./spaces/actions.js";
8
+ export * from "./packages/actions.js";
9
9
  export type BuilderTeamAction = BuilderTeamProfileAction | BuilderTeamMemberAction | BuilderTeamSpacesAction | BuilderTeamPackagesAction;
10
10
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAEvE,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GACvB,wBAAwB,GACxB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,CAC9B"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAEvE,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from './profile/actions.js';
2
- export * from './member/actions.js';
3
- export * from './spaces/actions.js';
4
- export * from './packages/actions.js';
1
+ export * from "./profile/actions.js";
2
+ export * from "./member/actions.js";
3
+ export * from "./spaces/actions.js";
4
+ export * from "./packages/actions.js";
@@ -1,5 +1,9 @@
1
- export * from './profile/creators.js';
2
- export * from './member/creators.js';
3
- export * from './spaces/creators.js';
4
- export * from './packages/creators.js';
1
+ export * from "./profile/creators.js";
2
+ export * as profileActions from "./profile/creators.js";
3
+ export * from "./member/creators.js";
4
+ export * as memberActions from "./member/creators.js";
5
+ export * from "./spaces/creators.js";
6
+ export * as spacesActions from "./spaces/creators.js";
7
+ export * from "./packages/creators.js";
8
+ export * as packagesActions from "./packages/creators.js";
5
9
  //# sourceMappingURL=creators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/creators.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/creators.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC"}
@@ -1,4 +1,8 @@
1
- export * from './profile/creators.js';
2
- export * from './member/creators.js';
3
- export * from './spaces/creators.js';
4
- export * from './packages/creators.js';
1
+ export * from "./profile/creators.js";
2
+ export * as profileActions from "./profile/creators.js";
3
+ export * from "./member/creators.js";
4
+ export * as memberActions from "./member/creators.js";
5
+ export * from "./spaces/creators.js";
6
+ export * as spacesActions from "./spaces/creators.js";
7
+ export * from "./packages/creators.js";
8
+ export * as packagesActions from "./packages/creators.js";
@@ -1 +1 @@
1
- {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAyO3B,CAAC"}
1
+ {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/builder-team/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAsP3B,CAAC"}
@@ -1,234 +1,234 @@
1
1
  export const documentModel = {
2
- "author": {
3
- "name": "Powerhouse Inc.",
4
- "website": "https://www.powerhouse.inc"
2
+ author: {
3
+ name: "Powerhouse Inc.",
4
+ website: "https://www.powerhouse.inc",
5
5
  },
6
- "description": "A builder account contains a builder profile information as well as managed spaces with linked packages.",
7
- "extension": "phvba",
8
- "id": "powerhouse/builder-team",
9
- "name": "BuilderTeam",
10
- "specifications": [
6
+ description: "A builder account contains a builder profile information as well as managed spaces with linked packages.",
7
+ extension: "phvba",
8
+ id: "powerhouse/builder-team",
9
+ name: "BuilderTeam",
10
+ specifications: [
11
11
  {
12
- "changeLog": [],
13
- "modules": [
12
+ changeLog: [],
13
+ modules: [
14
14
  {
15
- "description": "Builder profile management",
16
- "id": "84f613e9-80e1-4ee5-bf56-b916e1780845",
17
- "name": "profile",
18
- "operations": [
19
- {
20
- "description": "",
21
- "errors": [],
22
- "examples": [],
23
- "id": "edbdc847-a0d0-40cb-a7cb-c057039e05da",
24
- "name": "SET_LOGO",
25
- "reducer": "",
26
- "schema": "input SetLogoInput {\n logo: String\n}",
27
- "scope": "global",
28
- "template": ""
29
- },
30
- {
31
- "description": "",
32
- "errors": [],
33
- "examples": [],
34
- "id": "6e0cb4ac-7e9a-4bd7-9310-556a171e2ec0",
35
- "name": "SET_TEAM_NAME",
36
- "reducer": "",
37
- "schema": "input SetTeamNameInput {\n name: String!\n}",
38
- "scope": "global",
39
- "template": ""
40
- },
41
- {
42
- "description": "",
43
- "errors": [],
44
- "examples": [],
45
- "id": "41bc16d9-0d52-4329-b6ca-2d9378c167fb",
46
- "name": "SET_SLUG",
47
- "reducer": "",
48
- "schema": "input SetSlugInput {\n slug: String!\n}",
49
- "scope": "global",
50
- "template": ""
51
- },
52
- {
53
- "description": "",
54
- "errors": [],
55
- "examples": [],
56
- "id": "a4ca6f24-1f77-48dc-a8c4-8d9782aaf05f",
57
- "name": "SET_DESCRIPTION",
58
- "reducer": "",
59
- "schema": "input SetDescriptionInput {\n description: String\n}",
60
- "scope": "global",
61
- "template": ""
62
- },
63
- {
64
- "description": "",
65
- "errors": [],
66
- "examples": [],
67
- "id": "6389d9b4-2738-4831-9cdb-4ac6f8c32c5f",
68
- "name": "SET_SOCIALS",
69
- "reducer": "",
70
- "schema": "input SetSocialsInput {\n xProfile: String\n github: String\n website: String\n}",
71
- "scope": "global",
72
- "template": ""
73
- }
74
- ]
15
+ description: "Builder profile management",
16
+ id: "84f613e9-80e1-4ee5-bf56-b916e1780845",
17
+ name: "profile",
18
+ operations: [
19
+ {
20
+ description: "",
21
+ errors: [],
22
+ examples: [],
23
+ id: "edbdc847-a0d0-40cb-a7cb-c057039e05da",
24
+ name: "SET_LOGO",
25
+ reducer: "",
26
+ schema: "input SetLogoInput {\n logo: String\n}",
27
+ scope: "global",
28
+ template: "",
29
+ },
30
+ {
31
+ description: "",
32
+ errors: [],
33
+ examples: [],
34
+ id: "6e0cb4ac-7e9a-4bd7-9310-556a171e2ec0",
35
+ name: "SET_TEAM_NAME",
36
+ reducer: "",
37
+ schema: "input SetTeamNameInput {\n name: String!\n}",
38
+ scope: "global",
39
+ template: "",
40
+ },
41
+ {
42
+ description: "",
43
+ errors: [],
44
+ examples: [],
45
+ id: "41bc16d9-0d52-4329-b6ca-2d9378c167fb",
46
+ name: "SET_SLUG",
47
+ reducer: "",
48
+ schema: "input SetSlugInput {\n slug: String!\n}",
49
+ scope: "global",
50
+ template: "",
51
+ },
52
+ {
53
+ description: "",
54
+ errors: [],
55
+ examples: [],
56
+ id: "a4ca6f24-1f77-48dc-a8c4-8d9782aaf05f",
57
+ name: "SET_DESCRIPTION",
58
+ reducer: "",
59
+ schema: "input SetDescriptionInput {\n description: String\n}",
60
+ scope: "global",
61
+ template: "",
62
+ },
63
+ {
64
+ description: "",
65
+ errors: [],
66
+ examples: [],
67
+ id: "6389d9b4-2738-4831-9cdb-4ac6f8c32c5f",
68
+ name: "SET_SOCIALS",
69
+ reducer: "",
70
+ schema: "input SetSocialsInput {\n xProfile: String\n github: String\n website: String\n}",
71
+ scope: "global",
72
+ template: "",
73
+ },
74
+ ],
75
75
  },
76
76
  {
77
- "description": "Team member management",
78
- "id": "46f730e9-506a-4e3e-b9af-d5715882e0b9",
79
- "name": "member",
80
- "operations": [
81
- {
82
- "description": "",
83
- "errors": [],
84
- "examples": [],
85
- "id": "029cb62f-d647-427b-9334-64d96e5eb407",
86
- "name": "ADD_MEMBER",
87
- "reducer": "",
88
- "schema": "input AddMemberInput {\n id: OID!\n}",
89
- "scope": "global",
90
- "template": ""
91
- },
92
- {
93
- "description": "",
94
- "errors": [],
95
- "examples": [],
96
- "id": "696fe1ed-4570-4e99-9c4a-34a21d909035",
97
- "name": "UPDATE_MEMBER_INFO",
98
- "reducer": "",
99
- "schema": "input UpdateMemberInfoInput {\n id: OID!\n phid: PHID\n ethAddress: String\n name: String\n profileImage: String\n}",
100
- "scope": "global",
101
- "template": ""
102
- },
103
- {
104
- "description": "",
105
- "errors": [],
106
- "examples": [],
107
- "id": "30ba9a40-a80c-4c4d-8190-5a67ff9dcf95",
108
- "name": "REMOVE_MEMBER",
109
- "reducer": "",
110
- "schema": "input RemoveMemberInput {\n id: OID!\n}",
111
- "scope": "global",
112
- "template": ""
113
- }
114
- ]
77
+ description: "Team member management",
78
+ id: "46f730e9-506a-4e3e-b9af-d5715882e0b9",
79
+ name: "member",
80
+ operations: [
81
+ {
82
+ description: "",
83
+ errors: [],
84
+ examples: [],
85
+ id: "029cb62f-d647-427b-9334-64d96e5eb407",
86
+ name: "ADD_MEMBER",
87
+ reducer: "",
88
+ schema: "input AddMemberInput {\n id: OID!\n}",
89
+ scope: "global",
90
+ template: "",
91
+ },
92
+ {
93
+ description: "",
94
+ errors: [],
95
+ examples: [],
96
+ id: "696fe1ed-4570-4e99-9c4a-34a21d909035",
97
+ name: "UPDATE_MEMBER_INFO",
98
+ reducer: "",
99
+ schema: "input UpdateMemberInfoInput {\n id: OID!\n phid: PHID\n ethAddress: String\n name: String\n profileImage: String\n}",
100
+ scope: "global",
101
+ template: "",
102
+ },
103
+ {
104
+ description: "",
105
+ errors: [],
106
+ examples: [],
107
+ id: "30ba9a40-a80c-4c4d-8190-5a67ff9dcf95",
108
+ name: "REMOVE_MEMBER",
109
+ reducer: "",
110
+ schema: "input RemoveMemberInput {\n id: OID!\n}",
111
+ scope: "global",
112
+ template: "",
113
+ },
114
+ ],
115
115
  },
116
116
  {
117
- "description": "Workspace management",
118
- "id": "d3d7b51b-6ca4-4f16-a421-a744e81e7f42",
119
- "name": "spaces",
120
- "operations": [
121
- {
122
- "description": "",
123
- "errors": [],
124
- "examples": [],
125
- "id": "9c5d57ab-bf7d-43d9-bb6d-3d29a59ee70c",
126
- "name": "ADD_SPACE",
127
- "reducer": "",
128
- "schema": "input AddSpaceInput {\n id: OID!\n}",
129
- "scope": "global",
130
- "template": ""
131
- },
132
- {
133
- "description": "",
134
- "errors": [],
135
- "examples": [],
136
- "id": "7a19ff1c-7d41-4d6c-9cdb-2a300a523cd0",
137
- "name": "UPDATE_SPACE_INFO",
138
- "reducer": "",
139
- "schema": "input UpdateSpaceInfoInput {\n id: OID!\n title: String\n description: String\n}",
140
- "scope": "global",
141
- "template": ""
142
- },
143
- {
144
- "description": "",
145
- "errors": [],
146
- "examples": [],
147
- "id": "2bea7ddb-ce86-46df-a76b-69d8283ff810",
148
- "name": "REMOVE_SPACE",
149
- "reducer": "",
150
- "schema": "input RemoveSpaceInput {\n id: OID!\n}",
151
- "scope": "global",
152
- "template": ""
153
- },
154
- {
155
- "description": "Reorders the spaces array based on provided order",
156
- "errors": [],
157
- "examples": [],
158
- "id": "b3c8e4f2-1a5d-4e9b-8f2a-3d4c5e6f7a8b",
159
- "name": "REORDER_SPACES",
160
- "reducer": "const { spaceIds, targetIndex } = action.input;\n\n// Find the spaces to move\nconst spacesToMove = state.spaces.filter(space => spaceIds.includes(space.id));\nconst remainingSpaces = state.spaces.filter(space => !spaceIds.includes(space.id));\n\n// Insert the spaces at the target index\nremainingSpaces.splice(targetIndex, 0, ...spacesToMove);\nstate.spaces = remainingSpaces;",
161
- "schema": "input ReorderSpacesInput {\n spaceIds: [OID!]!\n targetIndex: Int!\n}",
162
- "scope": "global",
163
- "template": "Reorders the spaces array based on provided order"
164
- }
165
- ]
117
+ description: "Workspace management",
118
+ id: "d3d7b51b-6ca4-4f16-a421-a744e81e7f42",
119
+ name: "spaces",
120
+ operations: [
121
+ {
122
+ description: "",
123
+ errors: [],
124
+ examples: [],
125
+ id: "9c5d57ab-bf7d-43d9-bb6d-3d29a59ee70c",
126
+ name: "ADD_SPACE",
127
+ reducer: "",
128
+ schema: "input AddSpaceInput {\n id: OID!\n}",
129
+ scope: "global",
130
+ template: "",
131
+ },
132
+ {
133
+ description: "",
134
+ errors: [],
135
+ examples: [],
136
+ id: "7a19ff1c-7d41-4d6c-9cdb-2a300a523cd0",
137
+ name: "UPDATE_SPACE_INFO",
138
+ reducer: "",
139
+ schema: "input UpdateSpaceInfoInput {\n id: OID!\n title: String\n description: String\n}",
140
+ scope: "global",
141
+ template: "",
142
+ },
143
+ {
144
+ description: "",
145
+ errors: [],
146
+ examples: [],
147
+ id: "2bea7ddb-ce86-46df-a76b-69d8283ff810",
148
+ name: "REMOVE_SPACE",
149
+ reducer: "",
150
+ schema: "input RemoveSpaceInput {\n id: OID!\n}",
151
+ scope: "global",
152
+ template: "",
153
+ },
154
+ {
155
+ description: "Reorders the spaces array based on provided order",
156
+ errors: [],
157
+ examples: [],
158
+ id: "b3c8e4f2-1a5d-4e9b-8f2a-3d4c5e6f7a8b",
159
+ name: "REORDER_SPACES",
160
+ reducer: "const { spaceIds, targetIndex } = action.input;\n\n// Find the spaces to move\nconst spacesToMove = state.spaces.filter(space => spaceIds.includes(space.id));\nconst remainingSpaces = state.spaces.filter(space => !spaceIds.includes(space.id));\n\n// Insert the spaces at the target index\nremainingSpaces.splice(targetIndex, 0, ...spacesToMove);\nstate.spaces = remainingSpaces;",
161
+ schema: "input ReorderSpacesInput {\n spaceIds: [OID!]!\n targetIndex: Int!\n}",
162
+ scope: "global",
163
+ template: "Reorders the spaces array based on provided order",
164
+ },
165
+ ],
166
166
  },
167
167
  {
168
- "description": "Package management",
169
- "id": "a42429b5-bf95-4948-b730-dd644bdae5cb",
170
- "name": "packages",
171
- "operations": [
172
- {
173
- "description": "",
174
- "errors": [],
175
- "examples": [],
176
- "id": "a9a26a27-0774-4858-8fc6-750fbf11648a",
177
- "name": "ADD_PACKAGE",
178
- "reducer": "",
179
- "schema": "input AddPackageInput {\n id: OID!\n spaceId: OID!\n}",
180
- "scope": "global",
181
- "template": ""
182
- },
183
- {
184
- "description": "",
185
- "errors": [],
186
- "examples": [],
187
- "id": "327caf73-0e96-47da-aa58-7d90b89c38b6",
188
- "name": "UPDATE_PACKAGE_INFO",
189
- "reducer": "",
190
- "schema": "input UpdatePackageInfoInput {\n id: OID!\n spaceId: OID\n phid: PHID\n title: String\n description: String\n github: String\n npm: String\n vetraDriveUrl: URL\n}",
191
- "scope": "global",
192
- "template": ""
193
- },
194
- {
195
- "description": "",
196
- "errors": [],
197
- "examples": [],
198
- "id": "ff08908f-3754-4154-acdd-0f280129f07d",
199
- "name": "REMOVE_PACKAGE",
200
- "reducer": "",
201
- "schema": "input RemovePackageInput {\n id: OID!\n}",
202
- "scope": "global",
203
- "template": ""
204
- },
205
- {
206
- "description": "Reorders the packages array within a space based on provided order",
207
- "errors": [],
208
- "examples": [],
209
- "id": "c7d9e8f3-2b6a-4f1c-9a3d-4e5f6a7b8c9d",
210
- "name": "REORDER_PACKAGES",
211
- "reducer": "const { spaceId, packageIds, targetIndex } = action.input;\n\n// Find the space\nconst space = state.spaces.find(s => s.id === spaceId);\nif (!space) {\n return;\n}\n\n// Find the packages to move\nconst packagesToMove = space.packages.filter(pkg => packageIds.includes(pkg.id));\nconst remainingPackages = space.packages.filter(pkg => !packageIds.includes(pkg.id));\n\n// Insert the packages at the target index\nremainingPackages.splice(targetIndex, 0, ...packagesToMove);\nspace.packages = remainingPackages;",
212
- "schema": "input ReorderPackagesInput {\n spaceId: OID!\n packageIds: [OID!]!\n targetIndex: Int!\n}",
213
- "scope": "global",
214
- "template": "Reorders the packages array within a space based on provided order"
215
- }
216
- ]
217
- }
168
+ description: "Package management",
169
+ id: "a42429b5-bf95-4948-b730-dd644bdae5cb",
170
+ name: "packages",
171
+ operations: [
172
+ {
173
+ description: "",
174
+ errors: [],
175
+ examples: [],
176
+ id: "a9a26a27-0774-4858-8fc6-750fbf11648a",
177
+ name: "ADD_PACKAGE",
178
+ reducer: "",
179
+ schema: "input AddPackageInput {\n id: OID!\n spaceId: OID!\n}",
180
+ scope: "global",
181
+ template: "",
182
+ },
183
+ {
184
+ description: "",
185
+ errors: [],
186
+ examples: [],
187
+ id: "327caf73-0e96-47da-aa58-7d90b89c38b6",
188
+ name: "UPDATE_PACKAGE_INFO",
189
+ reducer: "",
190
+ schema: "input UpdatePackageInfoInput {\n id: OID!\n spaceId: OID\n phid: PHID\n title: String\n description: String\n github: String\n npm: String\n vetraDriveUrl: URL\n}",
191
+ scope: "global",
192
+ template: "",
193
+ },
194
+ {
195
+ description: "",
196
+ errors: [],
197
+ examples: [],
198
+ id: "ff08908f-3754-4154-acdd-0f280129f07d",
199
+ name: "REMOVE_PACKAGE",
200
+ reducer: "",
201
+ schema: "input RemovePackageInput {\n id: OID!\n}",
202
+ scope: "global",
203
+ template: "",
204
+ },
205
+ {
206
+ description: "Reorders the packages array within a space based on provided order",
207
+ errors: [],
208
+ examples: [],
209
+ id: "c7d9e8f3-2b6a-4f1c-9a3d-4e5f6a7b8c9d",
210
+ name: "REORDER_PACKAGES",
211
+ reducer: "const { spaceId, packageIds, targetIndex } = action.input;\n\n// Find the space\nconst space = state.spaces.find(s => s.id === spaceId);\nif (!space) {\n return;\n}\n\n// Find the packages to move\nconst packagesToMove = space.packages.filter(pkg => packageIds.includes(pkg.id));\nconst remainingPackages = space.packages.filter(pkg => !packageIds.includes(pkg.id));\n\n// Insert the packages at the target index\nremainingPackages.splice(targetIndex, 0, ...packagesToMove);\nspace.packages = remainingPackages;",
212
+ schema: "input ReorderPackagesInput {\n spaceId: OID!\n packageIds: [OID!]!\n targetIndex: Int!\n}",
213
+ scope: "global",
214
+ template: "Reorders the packages array within a space based on provided order",
215
+ },
216
+ ],
217
+ },
218
218
  ],
219
- "state": {
220
- "global": {
221
- "examples": [],
222
- "initialValue": "\"{\\n \\\"profile\\\": {\\n \\\"logo\\\": null,\\n \\\"name\\\": \\\"\\\",\\n \\\"slug\\\": \\\"\\\",\\n \\\"description\\\": null,\\n \\\"socials\\\": {\\n \\\"xProfile\\\": null,\\n \\\"github\\\": null,\\n \\\"website\\\": null\\n }\\n },\\n \\\"members\\\": [],\\n \\\"spaces\\\": []\\n}\"",
223
- "schema": "type BuilderTeamState {\n profile: VetraBuilderProfile!\n members: [RenownProfileInfo!]!\n spaces: [VetraBuilderSpace!]!\n}\n\ntype RenownProfileInfo { \n id: OID!\n phid: PHID\n ethAddress: String\n name: String\n profileImage: String\n}\n\ntype VetraBuilderProfile {\n logo: URL\n name: String!\n slug: String!\n description: String\n socials: VetraBuilderSocials!\n}\n\ntype VetraBuilderSocials {\n xProfile: URL\n github: URL \n website: URL\n}\n\ntype VetraBuilderSpace {\n id: OID!\n title: String!\n description: String\n packages: [VetraPackageInfo!]!\n}\n\ntype VetraPackageInfo { \n id: OID!\n phid: PHID\n title: String\n description: String\n github: String\n npm: String\n vetraDriveUrl: URL\n}"
219
+ state: {
220
+ global: {
221
+ examples: [],
222
+ initialValue: '{\n "profile": {\n "logo": null,\n "name": "",\n "slug": "",\n "description": null,\n "socials": {\n "xProfile": null,\n "github": null,\n "website": null\n }\n },\n "members": [],\n "spaces": []\n}',
223
+ schema: "type BuilderTeamState {\n profile: VetraBuilderProfile!\n members: [RenownProfileInfo!]!\n spaces: [VetraBuilderSpace!]!\n}\n\ntype RenownProfileInfo { \n id: OID!\n phid: PHID\n ethAddress: String\n name: String\n profileImage: String\n}\n\ntype VetraBuilderProfile {\n logo: URL\n name: String!\n slug: String!\n description: String\n socials: VetraBuilderSocials!\n}\n\ntype VetraBuilderSocials {\n xProfile: URL\n github: URL \n website: URL\n}\n\ntype VetraBuilderSpace {\n id: OID!\n title: String!\n description: String\n packages: [VetraPackageInfo!]!\n}\n\ntype VetraPackageInfo { \n id: OID!\n phid: PHID\n title: String\n description: String\n github: String\n npm: String\n vetraDriveUrl: URL\n}",
224
+ },
225
+ local: {
226
+ examples: [],
227
+ initialValue: "",
228
+ schema: "",
224
229
  },
225
- "local": {
226
- "examples": [],
227
- "initialValue": "\"\"",
228
- "schema": ""
229
- }
230
230
  },
231
- "version": 1
232
- }
233
- ]
231
+ version: 1,
232
+ },
233
+ ],
234
234
  };