@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.
- package/dist/document-models/expense-report/hooks.d.ts +1 -1
- package/dist/document-models/expense-report/hooks.d.ts.map +1 -1
- package/dist/document-models/expense-report/src/reducers/wallet.d.ts +1 -1
- package/dist/document-models/expense-report/src/reducers/wallet.d.ts.map +1 -1
- package/dist/document-models/service-subscriptions/hooks.d.ts +1 -1
- package/dist/document-models/service-subscriptions/hooks.d.ts.map +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts.map +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts.map +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts +1 -1
- package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts.map +1 -1
- package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts +1 -1
- package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts.map +1 -1
- package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts +1 -1
- package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/AddCategoryModal.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/AddVendorModal.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/EditName.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.js +1 -1
- package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts.map +1 -1
- package/dist/editors/service-subscriptions-editor/components/VendorsList.js +1 -1
- package/dist/editors/service-subscriptions-editor/editor.js +1 -1
- package/dist/package.json +1 -1
- package/dist/subgraphs/service-subscriptions/resolvers.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
2
|
-
import type { ExpenseReportDocument, ExpenseReportAction } from "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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 "
|
|
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,
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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,
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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,
|
|
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 "
|
|
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,
|
|
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 "
|
|
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 +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,
|
|
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 "
|
|
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 "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { addFile } from "document-drive";
|
|
2
2
|
import { setName } from "document-model";
|
|
3
|
-
import { actions, serviceSubscriptionsDocumentType, } from "
|
|
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