@powerhousedao/builder-team-admin 0.0.2 → 0.0.3

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 (37) hide show
  1. package/dist/document-models/expense-report/hooks.d.ts +1 -1
  2. package/dist/document-models/expense-report/hooks.d.ts.map +1 -1
  3. package/dist/document-models/expense-report/src/reducers/wallet.d.ts +1 -1
  4. package/dist/document-models/expense-report/src/reducers/wallet.d.ts.map +1 -1
  5. package/dist/document-models/service-subscriptions/hooks.d.ts +1 -1
  6. package/dist/document-models/service-subscriptions/hooks.d.ts.map +1 -1
  7. package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts +1 -1
  8. package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts.map +1 -1
  9. package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts +1 -1
  10. package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts.map +1 -1
  11. package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts +1 -1
  12. package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts.map +1 -1
  13. package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts +1 -1
  14. package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts.map +1 -1
  15. package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts +1 -1
  16. package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts.map +1 -1
  17. package/dist/editors/service-subscriptions-editor/components/AddCategoryModal.js +1 -1
  18. package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts +1 -1
  19. package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts.map +1 -1
  20. package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.js +1 -1
  21. package/dist/editors/service-subscriptions-editor/components/AddVendorModal.js +1 -1
  22. package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts +1 -1
  23. package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts.map +1 -1
  24. package/dist/editors/service-subscriptions-editor/components/CategoriesList.js +1 -1
  25. package/dist/editors/service-subscriptions-editor/components/EditName.js +1 -1
  26. package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts +1 -1
  27. package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts.map +1 -1
  28. package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts +1 -1
  29. package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts.map +1 -1
  30. package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.js +1 -1
  31. package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts +1 -1
  32. package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts.map +1 -1
  33. package/dist/editors/service-subscriptions-editor/components/VendorsList.js +1 -1
  34. package/dist/editors/service-subscriptions-editor/editor.js +1 -1
  35. package/dist/package.json +1 -1
  36. package/dist/subgraphs/service-subscriptions/resolvers.js +1 -1
  37. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { DocumentDispatch } from "@powerhousedao/reactor-browser";
2
- import type { ExpenseReportDocument, ExpenseReportAction } from "@powerhousedao/builder-team-admin/document-models/expense-report";
2
+ import type { ExpenseReportDocument, ExpenseReportAction } from "./gen/types.js";
3
3
  /** Hook to get a ExpenseReport document by its id */
4
4
  export declare function useExpenseReportDocumentById(documentId: string | null | undefined): [ExpenseReportDocument, DocumentDispatch<ExpenseReportAction>] | [undefined, undefined];
5
5
  /** Hook to get the selected ExpenseReport document */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../document-models/expense-report/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOvE,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,kEAAkE,CAAC;AAG1E,qDAAqD;AACrD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAEnC,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,GAC9D,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,sDAAsD;AACtD,wBAAgB,gCAAgC,IAC5C,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,GAC9D,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,oEAAoE;AACpE,wBAAgB,wCAAwC,wCAGvD;AAED,qEAAqE;AACrE,wBAAgB,yCAAyC,wCAGxD"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../document-models/expense-report/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOvE,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAGxB,qDAAqD;AACrD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAEnC,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,GAC9D,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,sDAAsD;AACtD,wBAAgB,gCAAgC,IAC5C,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,GAC9D,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,oEAAoE;AACpE,wBAAgB,wCAAwC,wCAGvD;AAED,qEAAqE;AACrE,wBAAgB,yCAAyC,wCAGxD"}
@@ -1,3 +1,3 @@
1
- import type { ExpenseReportWalletOperations } from "@powerhousedao/builder-team-admin/document-models/expense-report";
1
+ import type { ExpenseReportWalletOperations } from "../../gen/wallet/operations.js";
2
2
  export declare const expenseReportWalletOperations: ExpenseReportWalletOperations;
3
3
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../document-models/expense-report/src/reducers/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AAEtH,eAAO,MAAM,6BAA6B,EAAE,6BA4O3C,CAAC"}
1
+ {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../document-models/expense-report/src/reducers/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEpF,eAAO,MAAM,6BAA6B,EAAE,6BA4O3C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { DocumentDispatch } from "@powerhousedao/reactor-browser";
2
- import type { ServiceSubscriptionsDocument, ServiceSubscriptionsAction } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
2
+ import type { ServiceSubscriptionsDocument, ServiceSubscriptionsAction } from "./gen/types.js";
3
3
  /** Hook to get a ServiceSubscriptions document by its id */
4
4
  export declare function useServiceSubscriptionsDocumentById(documentId: string | null | undefined): [ServiceSubscriptionsDocument, DocumentDispatch<ServiceSubscriptionsAction>] | [undefined, undefined];
5
5
  /** Hook to get the selected ServiceSubscriptions document */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../document-models/service-subscriptions/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOvE,OAAO,KAAK,EACV,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,yEAAyE,CAAC;AAGjF,4DAA4D;AAC5D,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAEnC,CAAC,4BAA4B,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,CAAC,GAC5E,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,6DAA6D;AAC7D,wBAAgB,uCAAuC,IACnD,CAAC,4BAA4B,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,CAAC,GAC5E,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,2EAA2E;AAC3E,wBAAgB,+CAA+C,+CAG9D;AAED,4EAA4E;AAC5E,wBAAgB,gDAAgD,+CAG/D"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../document-models/service-subscriptions/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOvE,OAAO,KAAK,EACV,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,gBAAgB,CAAC;AAGxB,4DAA4D;AAC5D,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAEnC,CAAC,4BAA4B,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,CAAC,GAC5E,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,6DAA6D;AAC7D,wBAAgB,uCAAuC,IACnD,CAAC,4BAA4B,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,CAAC,GAC5E,CAAC,SAAS,EAAE,SAAS,CAAC,CAIzB;AAED,2EAA2E;AAC3E,wBAAgB,+CAA+C,+CAG9D;AAED,4EAA4E;AAC5E,wBAAgB,gDAAgD,+CAG/D"}
@@ -1,3 +1,3 @@
1
- import type { ServiceSubscriptionsCategoriesOperations } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscriptionsCategoriesOperations } from "../../gen/categories/operations.js";
2
2
  export declare const serviceSubscriptionsCategoriesOperations: ServiceSubscriptionsCategoriesOperations;
3
3
  //# sourceMappingURL=categories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/categories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,yEAAyE,CAAC;AAExI,eAAO,MAAM,wCAAwC,EAAE,wCAuBpD,CAAC"}
1
+ {"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/categories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;AAEnG,eAAO,MAAM,wCAAwC,EAAE,wCAuBpD,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { ServiceSubscriptionsSubscriptionsOperations } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscriptionsSubscriptionsOperations } from "../../gen/subscriptions/operations.js";
2
2
  export declare const serviceSubscriptionsSubscriptionsOperations: ServiceSubscriptionsSubscriptionsOperations;
3
3
  //# sourceMappingURL=subscriptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/subscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,yEAAyE,CAAC;AAE3I,eAAO,MAAM,2CAA2C,EAAE,2CA+GvD,CAAC"}
1
+ {"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/subscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,uCAAuC,CAAC;AAEzG,eAAO,MAAM,2CAA2C,EAAE,2CA+GvD,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { ServiceSubscriptionsVendorsOperations } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscriptionsVendorsOperations } from "../../gen/vendors/operations.js";
2
2
  export declare const serviceSubscriptionsVendorsOperations: ServiceSubscriptionsVendorsOperations;
3
3
  //# sourceMappingURL=vendors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vendors.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/vendors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yEAAyE,CAAC;AAErI,eAAO,MAAM,qCAAqC,EAAE,qCA2BjD,CAAC"}
1
+ {"version":3,"file":"vendors.d.ts","sourceRoot":"","sources":["../../../../../document-models/service-subscriptions/src/reducers/vendors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,iCAAiC,CAAC;AAE7F,eAAO,MAAM,qCAAqC,EAAE,qCA2BjD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ExpenseReportDocument } from "@powerhousedao/builder-team-admin/document-models/expense-report";
1
+ import type { ExpenseReportDocument } from "../../../document-models/expense-report/gen/types.js";
2
2
  type ExpenseReportsStatsProps = {
3
3
  expenseReportDocuments: ExpenseReportDocument[];
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ExpenseReportsStats.d.ts","sourceRoot":"","sources":["../../../../editors/builder-team-admin/components/ExpenseReportsStats.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kEAAkE,CAAC;AAS9G,KAAK,wBAAwB,GAAG;IAC9B,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;CACjD,CAAC;AAwQF;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,sBAAsB,GACvB,EAAE,wBAAwB,2CA8G1B"}
1
+ {"version":3,"file":"ExpenseReportsStats.d.ts","sourceRoot":"","sources":["../../../../editors/builder-team-admin/components/ExpenseReportsStats.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AASlG,KAAK,wBAAwB,GAAG;IAC9B,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;CACjD,CAAC;AAwQF;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,sBAAsB,GACvB,EAAE,wBAAwB,2CA8G1B"}
@@ -1,4 +1,4 @@
1
- import type { ServiceSubscription } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscription } from "../../../../document-models/service-subscriptions/gen/types.js";
2
2
  type SubscriptionsStatsProps = {
3
3
  subscriptions: ServiceSubscription[];
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionsStats.d.ts","sourceRoot":"","sources":["../../../../../editors/builder-team-admin/components/overview/SubscriptionsStats.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAEnH,KAAK,uBAAuB,GAAG;IAC7B,aAAa,EAAE,mBAAmB,EAAE,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,EAAE,uBAAuB,2CA+E5E;AAED;;GAEG;AACH,wBAAgB,uBAAuB,4CA6BtC"}
1
+ {"version":3,"file":"SubscriptionsStats.d.ts","sourceRoot":"","sources":["../../../../../editors/builder-team-admin/components/overview/SubscriptionsStats.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AAE1G,KAAK,uBAAuB,GAAG;IAC7B,aAAa,EAAE,mBAAmB,EAAE,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,EAAE,uBAAuB,2CA+E5E;AAED;;GAEG;AACH,wBAAgB,uBAAuB,4CA6BtC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { generateId } from "document-model/core";
4
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
4
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
5
5
  import { addCategory } from "../../../document-models/service-subscriptions/gen/creators.js";
6
6
  export function AddCategoryModal({ onClose, isDarkMode, }) {
7
7
  const [, dispatch] = useSelectedServiceSubscriptionsDocument();
@@ -1,4 +1,4 @@
1
- import type { Vendor, Category } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { Vendor, Category } from "../../../document-models/service-subscriptions/gen/types.js";
2
2
  interface AddSubscriptionModalProps {
3
3
  vendors: Vendor[];
4
4
  categories: Category[];
@@ -1 +1 @@
1
- {"version":3,"file":"AddSubscriptionModal.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/AddSubscriptionModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,MAAM,EACN,QAAQ,EAGT,MAAM,yEAAyE,CAAC;AAEjF,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,GACX,EAAE,yBAAyB,2CAiS3B"}
1
+ {"version":3,"file":"AddSubscriptionModal.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/AddSubscriptionModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,MAAM,EACN,QAAQ,EAGT,MAAM,6DAA6D,CAAC;AAErE,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,GACX,EAAE,yBAAyB,2CAiS3B"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { generateId } from "document-model/core";
4
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
4
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
5
5
  import { addSubscription } from "../../../document-models/service-subscriptions/gen/creators.js";
6
6
  export function AddSubscriptionModal({ vendors, categories, onClose, isDarkMode, }) {
7
7
  const [, dispatch] = useSelectedServiceSubscriptionsDocument();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { generateId } from "document-model/core";
4
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
4
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
5
5
  import { addVendor } from "../../../document-models/service-subscriptions/gen/creators.js";
6
6
  export function AddVendorModal({ onClose, isDarkMode }) {
7
7
  const [, dispatch] = useSelectedServiceSubscriptionsDocument();
@@ -1,4 +1,4 @@
1
- import type { Category } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { Category } from "../../../document-models/service-subscriptions/gen/types.js";
2
2
  interface CategoriesListProps {
3
3
  categories: Category[];
4
4
  isDarkMode: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoriesList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/CategoriesList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yEAAyE,CAAC;AAExG,UAAU,mBAAmB;IAC3B,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,UAAU,GACX,EAAE,mBAAmB,2CAwCrB"}
1
+ {"version":3,"file":"CategoriesList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/CategoriesList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6DAA6D,CAAC;AAE5F,UAAU,mBAAmB;IAC3B,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,UAAU,GACX,EAAE,mBAAmB,2CAwCrB"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
2
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
3
3
  import { deleteCategory } from "../../../document-models/service-subscriptions/gen/creators.js";
4
4
  export function CategoriesList({ categories, isDarkMode, }) {
5
5
  if (categories.length === 0) {
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { setName } from "document-model";
3
3
  import { useState } from "react";
4
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
4
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
5
5
  /** Displays the name of the selected ServiceSubscriptions document and allows editing it */
6
6
  export function EditServiceSubscriptionsName() {
7
7
  const [serviceSubscriptionsDocument, dispatch] = useSelectedServiceSubscriptionsDocument();
@@ -1,4 +1,4 @@
1
- import type { ServiceSubscription } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscription } from "../../../document-models/service-subscriptions/gen/types.js";
2
2
  interface StatsOverviewProps {
3
3
  subscriptions: ServiceSubscription[];
4
4
  isDarkMode: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"StatsOverview.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/StatsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAEnH,UAAU,kBAAkB;IAC1B,aAAa,EAAE,mBAAmB,EAAE,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,aAAa,EACb,UAAU,GACX,EAAE,kBAAkB,2CA0EpB"}
1
+ {"version":3,"file":"StatsOverview.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/StatsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAEvG,UAAU,kBAAkB;IAC1B,aAAa,EAAE,mBAAmB,EAAE,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,aAAa,EACb,UAAU,GACX,EAAE,kBAAkB,2CA0EpB"}
@@ -1,4 +1,4 @@
1
- import type { ServiceSubscription, Vendor, Category } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { ServiceSubscription, Vendor, Category } from "../../../document-models/service-subscriptions/gen/types.js";
2
2
  interface SubscriptionsListProps {
3
3
  subscriptions: ServiceSubscription[];
4
4
  vendors: Vendor[];
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionsList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/SubscriptionsList.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,QAAQ,EAET,MAAM,yEAAyE,CAAC;AAGjF,UAAU,sBAAsB;IAC9B,aAAa,EAAE,mBAAmB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,aAAa,EACb,OAAO,EACP,UAAU,EACV,UAAU,GACX,EAAE,sBAAsB,2CAmDxB"}
1
+ {"version":3,"file":"SubscriptionsList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/SubscriptionsList.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,QAAQ,EAET,MAAM,6DAA6D,CAAC;AAGrE,UAAU,sBAAsB;IAC9B,aAAa,EAAE,mBAAmB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,aAAa,EACb,OAAO,EACP,UAAU,EACV,UAAU,GACX,EAAE,sBAAsB,2CAmDxB"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
2
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
3
3
  import { deleteSubscription, updateSubscriptionStatus, assignMember, unassignMember, } from "../../../document-models/service-subscriptions/gen/creators.js";
4
4
  import { useState } from "react";
5
5
  export function SubscriptionsList({ subscriptions, vendors, categories, isDarkMode, }) {
@@ -1,4 +1,4 @@
1
- import type { Vendor } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
1
+ import type { Vendor } from "../../../document-models/service-subscriptions/gen/types.js";
2
2
  interface VendorsListProps {
3
3
  vendors: Vendor[];
4
4
  isDarkMode: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"VendorsList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/VendorsList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yEAAyE,CAAC;AAEtG,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,gBAAgB,2CAoCpE"}
1
+ {"version":3,"file":"VendorsList.d.ts","sourceRoot":"","sources":["../../../../editors/service-subscriptions-editor/components/VendorsList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6DAA6D,CAAC;AAE1F,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,gBAAgB,2CAoCpE"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
2
+ import { useSelectedServiceSubscriptionsDocument } from "../../../document-models/service-subscriptions/hooks.js";
3
3
  import { deleteVendor } from "../../../document-models/service-subscriptions/gen/creators.js";
4
4
  export function VendorsList({ vendors, isDarkMode }) {
5
5
  if (vendors.length === 0) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { useSelectedServiceSubscriptionsDocument } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
3
+ import { useSelectedServiceSubscriptionsDocument } from "../../document-models/service-subscriptions/hooks.js";
4
4
  import { SubscriptionsList } from "./components/SubscriptionsList.js";
5
5
  import { VendorsList } from "./components/VendorsList.js";
6
6
  import { CategoriesList } from "./components/CategoriesList.js";
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/builder-team-admin",
3
3
  "description": "Builder Team Admin drive that holds a teams profile and its relevant document models.",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [
@@ -1,6 +1,6 @@
1
1
  import { addFile } from "document-drive";
2
2
  import { setName } from "document-model";
3
- import { actions, serviceSubscriptionsDocumentType, } from "@powerhousedao/builder-team-admin/document-models/service-subscriptions";
3
+ import { actions, serviceSubscriptionsDocumentType, } from "../../document-models/service-subscriptions/index.js";
4
4
  export const getResolvers = (subgraph) => {
5
5
  const reactor = subgraph.reactor;
6
6
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/builder-team-admin",
3
3
  "description": "Builder Team Admin drive that holds a teams profile and its relevant document models.",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [