Skip to content

Commit

Permalink
misc: use Table component for billable metrics list
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol committed Dec 31, 2024
1 parent 32b5b42 commit b785e32
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 269 deletions.
141 changes: 0 additions & 141 deletions src/components/billableMetrics/BillableMetricItem.tsx

This file was deleted.

22 changes: 12 additions & 10 deletions src/generated/graphql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4326,6 +4326,8 @@ export type Permissions = {
organizationView: Scalars['Boolean']['output'];
paymentRequestsCreate: Scalars['Boolean']['output'];
paymentRequestsView: Scalars['Boolean']['output'];
paymentsCreate: Scalars['Boolean']['output'];
paymentsView: Scalars['Boolean']['output'];
plansCreate: Scalars['Boolean']['output'];
plansDelete: Scalars['Boolean']['output'];
plansUpdate: Scalars['Boolean']['output'];
Expand Down Expand Up @@ -6401,8 +6403,6 @@ export type GetGoogleAuthUrlQueryVariables = Exact<{ [key: string]: never; }>;

export type GetGoogleAuthUrlQuery = { __typename?: 'Query', googleAuthUrl: { __typename?: 'AuthUrl', url: string } };

export type BillableMetricItemFragment = { __typename?: 'BillableMetric', id: string, name: string, code: string, createdAt: any };

export type DeleteBillableMetricDialogFragment = { __typename?: 'BillableMetric', id: string, name: string, draftInvoicesCount: number, activeSubscriptionsCount: number };

export type GetBillableMetricToDeleteQueryVariables = Exact<{
Expand Down Expand Up @@ -8378,6 +8378,8 @@ export type AddOnsQueryVariables = Exact<{

export type AddOnsQuery = { __typename?: 'Query', addOns: { __typename?: 'AddOnCollection', metadata: { __typename?: 'CollectionMetadata', currentPage: number, totalPages: number }, collection: Array<{ __typename?: 'AddOn', id: string, name: string, amountCurrency: CurrencyEnum, amountCents: any, customersCount: number, createdAt: any }> } };

export type BillableMetricItemFragment = { __typename?: 'BillableMetric', id: string, name: string, code: string, createdAt: any };

export type BillableMetricsQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
Expand Down Expand Up @@ -9176,14 +9178,6 @@ export const DeleteAddOnFragmentDoc = gql`
name
}
`;
export const BillableMetricItemFragmentDoc = gql`
fragment BillableMetricItem on BillableMetric {
id
name
code
createdAt
}
`;
export const DeleteBillableMetricDialogFragmentDoc = gql`
fragment DeleteBillableMetricDialog on BillableMetric {
id
Expand Down Expand Up @@ -11232,6 +11226,14 @@ ${InvoiceForFinalizeInvoiceFragmentDoc}
${InvoiceForUpdateInvoicePaymentStatusFragmentDoc}
${InvoiceMetadatasForInvoiceOverviewFragmentDoc}
${InvoiceMetadatasForMetadataDrawerFragmentDoc}`;
export const BillableMetricItemFragmentDoc = gql`
fragment BillableMetricItem on BillableMetric {
id
name
code
createdAt
}
`;
export const EditBillableMetricFragmentDoc = gql`
fragment EditBillableMetric on BillableMetric {
id
Expand Down
Loading

0 comments on commit b785e32

Please sign in to comment.