@m5kdev/frontend 0.1.5 → 0.3.0
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/src/modules/auth/auth.lib.d.ts +1335 -1334
- package/dist/src/modules/auth/auth.lib.d.ts.map +1 -0
- package/dist/src/modules/auth/components/AuthProvider.d.ts +1 -0
- package/dist/src/modules/auth/components/AuthProvider.d.ts.map +1 -0
- package/dist/src/modules/auth/hooks/useAuth.d.ts +1 -0
- package/dist/src/modules/auth/hooks/useAuth.d.ts.map +1 -0
- package/dist/src/modules/auth/hooks/useAuthAdmin.d.ts +1 -0
- package/dist/src/modules/auth/hooks/useAuthAdmin.d.ts.map +1 -0
- package/dist/src/modules/auth/hooks/useSession.d.ts +3 -2
- package/dist/src/modules/auth/hooks/useSession.d.ts.map +1 -0
- package/dist/src/modules/billing/components/BillingProvider.d.ts +2 -1
- package/dist/src/modules/billing/components/BillingProvider.d.ts.map +1 -0
- package/dist/src/modules/billing/hooks/useSubscription.d.ts +1 -0
- package/dist/src/modules/billing/hooks/useSubscription.d.ts.map +1 -0
- package/dist/src/modules/file/hooks/useS3DownloadUrl.d.ts +1 -0
- package/dist/src/modules/file/hooks/useS3DownloadUrl.d.ts.map +1 -0
- package/dist/src/modules/file/hooks/useS3Upload.d.ts +1 -0
- package/dist/src/modules/file/hooks/useS3Upload.d.ts.map +1 -0
- package/dist/src/modules/file/hooks/useUpload.d.ts +1 -0
- package/dist/src/modules/file/hooks/useUpload.d.ts.map +1 -0
- package/dist/src/modules/table/hooks/useDateRangeFilter.d.ts +1 -0
- package/dist/src/modules/table/hooks/useDateRangeFilter.d.ts.map +1 -0
- package/dist/src/modules/table/hooks/useNuqsQueryParams.d.ts +1 -0
- package/dist/src/modules/table/hooks/useNuqsQueryParams.d.ts.map +1 -0
- package/dist/src/modules/table/hooks/useNuqsTable.d.ts +1 -0
- package/dist/src/modules/table/hooks/useNuqsTable.d.ts.map +1 -0
- package/dist/src/modules/table/hooks/useQueryWithParams.d.ts +1 -0
- package/dist/src/modules/table/hooks/useQueryWithParams.d.ts.map +1 -0
- package/dist/src/types.d.ts +1 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/utils/date.d.ts +1 -0
- package/dist/src/utils/date.d.ts.map +1 -0
- package/dist/src/utils/query.d.ts +1 -0
- package/dist/src/utils/query.d.ts.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.lib.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/auth.lib.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;yBACw/P,CAAC;;;;;;;;;;;;;;;;;;6BA/B5gQ,CAAJ;iBAAa,CAAC;;;;;;;;;;;;;;;6BAAV,CAAJ;iBAAa,CAAC;;;;;;;;;;;;;;6BAAV,CAAJ;iBAAa,CAAC;;;;;;;;;;6BAAV,CAAJ;iBAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+BigQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAmxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CADt4I,CAAC"}
|
|
@@ -12,3 +12,4 @@ export declare function AuthProvider({ children, loader, onSession, }: {
|
|
|
12
12
|
onSession?: (session: Session | null) => void;
|
|
13
13
|
}): string | number | bigint | true | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
15
|
+
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../src/modules/auth/components/AuthProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAOhE,eAAO,MAAM,mBAAmB;eACnB,OAAO;UACZ,OAAO,GAAG,IAAI;aACX,MAAM,IAAI;qBACF,CAAC,SAAS,EAAE,MAAM,IAAI,KAAK,IAAI;EAMhD,CAAC;AAEH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;CAC/C,qVAyEA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type AnyUseMutationOptions } from "@tanstack/react-query";
|
|
2
2
|
export declare function useUpdateUser(options: AnyUseMutationOptions): import("@tanstack/react-query").UseMutationResult<any, any, any, any>;
|
|
3
3
|
export declare function useUpdateUserPreferences<T extends Record<string, any>>(options: AnyUseMutationOptions): import("@tanstack/react-query").UseMutationResult<any, any, any, any>;
|
|
4
|
+
//# sourceMappingURL=useAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../../src/modules/auth/hooks/useAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAe,MAAM,uBAAuB,CAAC;AAGhF,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB,yEAM3D;AAED,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpE,OAAO,EAAE,qBAAqB,yEAO/B"}
|
|
@@ -18,3 +18,4 @@ export declare function useUnbanUser(options: AnyUseMutationOptions): import("@t
|
|
|
18
18
|
export declare function useImpersonateUser(options: AnyUseMutationOptions): import("@tanstack/react-query").UseMutationResult<any, any, any, any>;
|
|
19
19
|
export declare function useStopImpersonating(options: AnyUseMutationOptions): import("@tanstack/react-query").UseMutationResult<any, any, any, any>;
|
|
20
20
|
export {};
|
|
21
|
+
//# sourceMappingURL=useAuthAdmin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthAdmin.d.ts","sourceRoot":"","sources":["../../../../../src/modules/auth/hooks/useAuthAdmin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAI3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AASzC,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AA4EnE,wBAAgB,sBAAsB,CAAC,GAAG,IAAI,EAAE,aAAa,uBAG5D;AAoCD,wBAAgB,YAAY,CAAC,GAAG,IAAI,EAAE,aAAa;;;;;;;;WAUlD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB,yEAM3D;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB,yEAM3D;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,qBAAqB,yEAMxD;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,qBAAqB,yEAM1D;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,qBAAqB,yEAMhE;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,yEAKlE"}
|
|
@@ -13,10 +13,10 @@ export declare function useSession(): {
|
|
|
13
13
|
role?: string | null | undefined;
|
|
14
14
|
banReason?: string | null | undefined;
|
|
15
15
|
banExpires?: Date | null | undefined;
|
|
16
|
-
stripeCustomerId?: string | null | undefined;
|
|
17
|
-
preferences?: string | null | undefined;
|
|
18
16
|
onboarding?: number | null | undefined;
|
|
17
|
+
preferences?: string | null | undefined;
|
|
19
18
|
flags?: string | null | undefined;
|
|
19
|
+
stripeCustomerId?: string | null | undefined;
|
|
20
20
|
};
|
|
21
21
|
session: {
|
|
22
22
|
id: string;
|
|
@@ -35,3 +35,4 @@ export declare function useSession(): {
|
|
|
35
35
|
signOut: () => void;
|
|
36
36
|
registerSession: (onSuccess: () => void) => void;
|
|
37
37
|
};
|
|
38
|
+
//# sourceMappingURL=useSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSession.d.ts","sourceRoot":"","sources":["../../../../../src/modules/auth/hooks/useSession.ts"],"names":[],"mappings":"AAGA,wBAAgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BillingSchema } from "@m5kdev/commons/modules/billing/billing.schema";
|
|
2
|
-
import type { UseBackendTRPC } from "
|
|
2
|
+
import type { UseBackendTRPC } from "../../../types";
|
|
3
3
|
export declare const billingProviderContext: import("react").Context<{
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
data: BillingSchema | null;
|
|
@@ -11,3 +11,4 @@ export declare function BillingProvider({ useTRPC, children, loader, planPage, s
|
|
|
11
11
|
planPage: React.ReactNode;
|
|
12
12
|
skipPlanCheck?: boolean;
|
|
13
13
|
}): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
14
|
+
//# sourceMappingURL=BillingProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingProvider.d.ts","sourceRoot":"","sources":["../../../../../src/modules/billing/components/BillingProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAGpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,eAAO,MAAM,sBAAsB;eACtB,OAAO;UACZ,aAAa,GAAG,IAAI;EAI1B,CAAC;AAEH,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,aAAqB,GACtB,EAAE;IACD,OAAO,EAAE,cAAc,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,2WAgCA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSubscription.d.ts","sourceRoot":"","sources":["../../../../../src/modules/billing/hooks/useSubscription.ts"],"names":[],"mappings":"AAGA,wBAAgB,eAAe;;;EAE9B"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare function fetchS3DownloadUrl(filePath: string, serverUrl?: any): Promise<string>;
|
|
2
2
|
export declare function useS3DownloadUrl(filePath: string, serverUrl?: any): import("@tanstack/react-query").UseQueryResult<string, Error>;
|
|
3
|
+
//# sourceMappingURL=useS3DownloadUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useS3DownloadUrl.d.ts","sourceRoot":"","sources":["../../../../../src/modules/file/hooks/useS3DownloadUrl.ts"],"names":[],"mappings":"AAEA,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,MAAM,EAChB,SAAS,MAAkC,mBAK5C;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,MAAkC,iEAM7F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useS3Upload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/file/hooks/useS3Upload.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAiBxE,wBAAgB,WAAW,CAAC,SAAS,SAAK;mBAMA,IAAI,GAAG,IAAI,WAAW,MAAM;;;;;;EA+DrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/file/hooks/useUpload.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAmED,wBAAgB,aAAa;aAGO,CAAC,QAAQ,MAAM,QAAQ,IAAI,KAAG,OAAO,CAAC,CAAC,CAAC;;;;;;mBAzE3D,MAAM;;;EAuHtB;AAGD,wBAAgB,kBAAkB;;;wBA6DjB,MAAM,SAAS,IAAI,EAAE;;;;EA2BrC"}
|
|
@@ -25,3 +25,4 @@ export interface DateRangeFilterOptions<TInput, TData> {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const useDateRangeFilter: <TInput, TData>({ getQueryOptions, queryParams, }: DateRangeFilterOptions<TInput, TData>) => DateRangeFilterReturn<TData>;
|
|
27
27
|
export {};
|
|
28
|
+
//# sourceMappingURL=useDateRangeFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDateRangeFilter.d.ts","sourceRoot":"","sources":["../../../../../src/modules/table/hooks/useDateRangeFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGhF,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC9B;AAED;;;;GAIG;AAEH,KAAK,gBAAgB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAEvE;;;GAGG;AAEH,KAAK,iBAAiB,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEnG,MAAM,WAAW,sBAAsB,CAAC,MAAM,EAAE,KAAK;IACnD,eAAe,EAAE,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAClD,WAAW,C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;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,QAAO,eA6FrC,CAAC"}
|
|
@@ -30,3 +30,4 @@ export interface NuqsTableOptions<TInput, TData> {
|
|
|
30
30
|
}
|
|
31
31
|
declare const useNuqsTable: <TInput, TData>({ getQueryOptions, queryParams, }: NuqsTableOptions<TInput, TData>) => NuqsTableReturn<TData>;
|
|
32
32
|
export default useNuqsTable;
|
|
33
|
+
//# sourceMappingURL=useNuqsTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNuqsTable.d.ts","sourceRoot":"","sources":["../../../../../src/modules/table/hooks/useNuqsTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAExE,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,sBAAsB,CAAC;AAGhF,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,YAAY,EAAE,iBAAiB,CAAC;IAChC,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC;AAErC,MAAM,WAAW,eAAe,CAAC,KAAK;IACpC,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC9B;AAED;;;;GAIG;AAEH,KAAK,gBAAgB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAEvE;;;GAGG;AAEH,KAAK,iBAAiB,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEnG,MAAM,WAAW,gBAAgB,CAAC,MAAM,EAAE,KAAK;IAC7C,eAAe,EAAE,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,YAAY,GAAI,MAAM,EAAE,KAAK,EAAE,mCAGlC,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,KAAG,eAAe,CAAC,KAAK,CAoCzD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -23,3 +23,4 @@ export interface QueryWithParamsOptions<TInput, TData> {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const useQueryWithParams: <TInput, TData>({ getQueryOptions, queryParams, queryState, enabled, }: QueryWithParamsOptions<TInput, TData>) => UseQueryResult<TData>;
|
|
25
25
|
export {};
|
|
26
|
+
//# sourceMappingURL=useQueryWithParams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useQueryWithParams.d.ts","sourceRoot":"","sources":["../../../../../src/modules/table/hooks/useQueryWithParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAY,MAAM,uBAAuB,CAAC;AAE5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;GAIG;AAEH,KAAK,gBAAgB,CAAC,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAEvE;;;GAGG;AAEH,KAAK,iBAAiB,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEnG,MAAM,WAAW,sBAAsB,CAAC,MAAM,EAAE,KAAK;IACnD,eAAe,EAAE,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACnF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,EAAE,KAAK,EAAE,wDAK/C,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,KAAG,cAAc,CAAC,KAAK,CA0B9D,CAAC"}
|
package/dist/src/types.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC"}
|
package/dist/src/utils/date.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export declare const urlStringToRange: (value: string | null) => RangeValue<Date
|
|
|
21
21
|
* Convert date range to QueryFilter format
|
|
22
22
|
*/
|
|
23
23
|
export declare const dateRangeToFilter: (dateRange: RangeValue<DateValue> | null, columnId?: string) => QueryFilter | null;
|
|
24
|
+
//# sourceMappingURL=date.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAmC,MAAM,yBAAyB,CAAC;AACxF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAGhF;;GAEG;AAC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