@wippy-fe/types-global-proxy 0.0.3 → 0.0.7
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/index.d.ts +30 -24
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as nanoevents from 'nanoevents';
|
|
|
2
2
|
import { AxiosDefaults, AxiosInstance } from 'axios';
|
|
3
3
|
import { ConfirmationOptions } from 'primevue/confirmationoptions';
|
|
4
4
|
import { ToastMessageOptions } from 'primevue/toast';
|
|
5
|
+
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
5
6
|
|
|
6
7
|
declare namespace PageApi {
|
|
7
8
|
interface Page {
|
|
@@ -414,10 +415,6 @@ type Events = {
|
|
|
414
415
|
};
|
|
415
416
|
declare function createEvents(): <T extends string>(topicPattern: T, callback: T extends KnownTopics ? Events[T] : Events["@message"]) => nanoevents.Unsubscribe;
|
|
416
417
|
|
|
417
|
-
var cssRS = {
|
|
418
|
-
|
|
419
|
-
};
|
|
420
|
-
|
|
421
418
|
var session = {
|
|
422
419
|
type: "non-persistent"
|
|
423
420
|
};
|
|
@@ -517,7 +514,6 @@ var textRS = {
|
|
|
517
514
|
|
|
518
515
|
type I18NFeatureTypes = typeof featureRS;
|
|
519
516
|
type I18NTextTypes = typeof textRS;
|
|
520
|
-
type I18NCssTypes = typeof cssRS;
|
|
521
517
|
|
|
522
518
|
/**
|
|
523
519
|
* All API route templates, grouped by domain.
|
|
@@ -641,9 +637,14 @@ interface AppAuthConfig {
|
|
|
641
637
|
token: string;
|
|
642
638
|
expiresAt: string;
|
|
643
639
|
}
|
|
640
|
+
interface CssVariablesMap {
|
|
641
|
+
[key: string]: string | Record<string, string> | undefined;
|
|
642
|
+
'@dark'?: Record<string, string>;
|
|
643
|
+
'@light'?: Record<string, string>;
|
|
644
|
+
}
|
|
644
645
|
interface AppCustomization {
|
|
645
646
|
customCSS?: string;
|
|
646
|
-
cssVariables?:
|
|
647
|
+
cssVariables?: CssVariablesMap;
|
|
647
648
|
i18n?: Partial<I18NTextTypes>;
|
|
648
649
|
icons?: Record<string, {
|
|
649
650
|
body: string;
|
|
@@ -778,27 +779,32 @@ declare global {
|
|
|
778
779
|
|
|
779
780
|
/** @type {import('tailwindcss').Config} */
|
|
780
781
|
declare const _default: {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
782
|
+
presets: {
|
|
783
|
+
theme: {
|
|
784
|
+
extend: {
|
|
785
|
+
colors: {
|
|
786
|
+
secondary: {
|
|
787
|
+
50: string;
|
|
788
|
+
100: string;
|
|
789
|
+
200: string;
|
|
790
|
+
300: string;
|
|
791
|
+
400: string;
|
|
792
|
+
500: string;
|
|
793
|
+
600: string;
|
|
794
|
+
700: string;
|
|
795
|
+
800: string;
|
|
796
|
+
900: string;
|
|
797
|
+
950: string;
|
|
798
|
+
};
|
|
797
799
|
};
|
|
798
800
|
};
|
|
799
801
|
};
|
|
800
|
-
|
|
801
|
-
|
|
802
|
+
plugins: {
|
|
803
|
+
handler: tailwindcss_types_config.PluginCreator;
|
|
804
|
+
config?: Partial<tailwindcss_types_config.Config>;
|
|
805
|
+
}[];
|
|
806
|
+
}[];
|
|
807
|
+
content: string[];
|
|
802
808
|
};
|
|
803
809
|
|
|
804
810
|
declare global {
|