Pass Billing Checkout var in url to bypass credit card (#9283)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { AGGREGATE_OPERATIONS } from '@/object-record/record-table/constants/AggregateOperations';
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
type AggregateOperation = {
|
||||
operation: AGGREGATE_OPERATIONS | null;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const lastShowPageRecordIdState = createState<string | null>({
|
||||
key: 'lastShowPageRecordIdState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { FieldMetadata } from '@/object-record/record-field/types/FieldMetadata';
|
||||
import { ColumnDefinition } from '@/object-record/record-table/types/ColumnDefinition';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { Filter } from '@/object-record/object-filter-dropdown/types/Filter';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const recordIndexIsCompactModeActiveState = createState<boolean>({
|
||||
key: 'recordIndexIsCompactModeActiveState',
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { AGGREGATE_OPERATIONS } from '@/object-record/record-table/constants/AggregateOperations';
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export type KanbanAggregateOperation = {
|
||||
operation?: AGGREGATE_OPERATIONS | null;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const recordIndexKanbanFieldMetadataIdState = createState<string | null>(
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { Sort } from '@/object-record/object-sort-dropdown/types/Sort';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { ViewFilterGroup } from '@/views/types/ViewFilterGroup';
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const recordIndexViewFilterGroupsState = createState<ViewFilterGroup[]>({
|
||||
key: 'recordIndexViewFilterGroupsState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
import { ViewType } from '@/views/types/ViewType';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isNewViewableRecordLoadingState = createState<boolean>({
|
||||
key: 'activities/is-new-viewable-record-loading',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const viewableRecordIdState = createState<string | null>({
|
||||
key: 'activities/viewable-record-id',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const viewableRecordNameSingularState = createState<string | null>({
|
||||
key: 'activities/viewable-record-name-singular',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { renderHook } from '@testing-library/react';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
import { ReactNode, act } from 'react';
|
||||
import { RecoilRoot } from 'recoil';
|
||||
import { createState } from 'twenty-ui';
|
||||
|
||||
import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState';
|
||||
import { CoreObjectNamePlural } from '@/object-metadata/types/CoreObjectNamePlural';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { renderHook } from '@testing-library/react';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
import { ReactNode, act } from 'react';
|
||||
import { RecoilRoot } from 'recoil';
|
||||
import { createState } from 'twenty-ui';
|
||||
|
||||
import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState';
|
||||
import { CoreObjectNamePlural } from '@/object-metadata/types/CoreObjectNamePlural';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isRemoveSortingModalOpenState = createState<boolean>({
|
||||
key: 'isRemoveSortingModalOpenState',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
export const isSoftFocusUsingMouseState = createState<boolean>({
|
||||
key: 'isSoftFocusUsingMouseState',
|
||||
|
||||
Reference in New Issue
Block a user