Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

2
node_modules/@mantine/store/lib/index.d.mts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export { useStore, createStore } from './store';
export type { MantineStore, MantineStoreSubscriber, MantineStoreValue } from './store';

2
node_modules/@mantine/store/lib/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export { useStore, createStore } from './store';
export type { MantineStore, MantineStoreSubscriber, MantineStoreValue } from './store';

13
node_modules/@mantine/store/lib/store.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
export type MantineStoreSubscriber<Value> = (value: Value) => void;
type SetStateCallback<Value> = (value: Value) => Value;
export interface MantineStore<Value> {
getState: () => Value;
setState: (value: Value | SetStateCallback<Value>) => void;
updateState: (value: Value | SetStateCallback<Value>) => void;
initialize: (value: Value) => void;
subscribe: (callback: MantineStoreSubscriber<Value>) => () => void;
}
export type MantineStoreValue<Store extends MantineStore<any>> = ReturnType<Store['getState']>;
export declare function createStore<Value extends Record<string, any>>(initialState: Value): MantineStore<Value>;
export declare function useStore<Store extends MantineStore<any>>(store: Store): ReturnType<Store["getState"]>;
export {};