mirror of
https://github.com/FranP-code/spend-ia.git
synced 2025-10-13 00:14:09 +00:00
feat: added seed
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export const SPEND_SCREEN_ID = 'spend-screen';
|
||||
export const SPEND_SCREEN_NAME = 'Spend';
|
||||
export const APP_NAME = 'SpendIA';
|
||||
@@ -1,12 +1,12 @@
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
import { create } from 'zustand';
|
||||
import { SPEND_SCREEN_ID, SPEND_SCREEN_NAME } from 'utils/constants';
|
||||
import { type UserSpendData, type Tab } from '@/lib/types';
|
||||
import { SPEND_SCREEN_ID, SPEND_SCREEN_NAME } from '@/lib/constants';
|
||||
|
||||
interface appStore {
|
||||
tab: Tab;
|
||||
setTab: (props: Tab) => void;
|
||||
setUserSpendData: (props: UserSpendData[]) => void;
|
||||
tab: Tab;
|
||||
userSpendData: UserSpendData[];
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable typescript-sort-keys/interface */
|
||||
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
||||
export interface Theme {
|
||||
colors: {
|
||||
|
||||
2
packages/client/lib/types.d.ts
vendored
2
packages/client/lib/types.d.ts
vendored
@@ -9,8 +9,8 @@ interface Currency {
|
||||
}
|
||||
|
||||
interface Category {
|
||||
label: string;
|
||||
backgroundColor: string;
|
||||
label: string;
|
||||
}
|
||||
|
||||
export interface UserSpendData {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export const capitalize = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1);
|
||||
Reference in New Issue
Block a user