@creopse/vue 0.0.72 → 0.0.74
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/package.json +2 -2
- package/types/core/props-manager.d.ts +132 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creopse/vue",
|
|
3
3
|
"description": "Creopse Vue Toolkit",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.74",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Noé Gnanih <noegnanih@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"axios": "^1.15.0",
|
|
33
33
|
"lodash.clonedeep": "^4.5.0",
|
|
34
34
|
"uuid": "^13.0.0",
|
|
35
|
-
"@creopse/utils": "0.
|
|
35
|
+
"@creopse/utils": "0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@inertiajs/core": "^2.1.6",
|
|
@@ -6,9 +6,132 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
6
6
|
getState(): {
|
|
7
7
|
readonly props: {
|
|
8
8
|
readonly [x: string]: any;
|
|
9
|
+
readonly config: {
|
|
10
|
+
readonly app: {
|
|
11
|
+
readonly name: string;
|
|
12
|
+
readonly env: string;
|
|
13
|
+
readonly locale: string;
|
|
14
|
+
readonly fallbackLocale: string;
|
|
15
|
+
readonly url: string;
|
|
16
|
+
readonly apiUrl: string;
|
|
17
|
+
};
|
|
18
|
+
readonly frontend: {
|
|
19
|
+
readonly storageEncryptionKey: string | null;
|
|
20
|
+
readonly langKey: string;
|
|
21
|
+
readonly progressColor: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
9
24
|
readonly appLocale: string;
|
|
10
25
|
readonly appFallbackLocale: string;
|
|
11
|
-
readonly userData:
|
|
26
|
+
readonly userData: {
|
|
27
|
+
readonly id?: number | undefined;
|
|
28
|
+
readonly uid?: string | undefined;
|
|
29
|
+
readonly avatar: string;
|
|
30
|
+
readonly avatarUrl: string;
|
|
31
|
+
readonly username: string;
|
|
32
|
+
readonly fullname: string;
|
|
33
|
+
readonly lastname: string;
|
|
34
|
+
readonly firstname: string;
|
|
35
|
+
readonly email: string;
|
|
36
|
+
readonly emailVerifiedAt?: string | undefined;
|
|
37
|
+
readonly password: string;
|
|
38
|
+
readonly phone?: string | undefined;
|
|
39
|
+
readonly address?: string | undefined;
|
|
40
|
+
readonly location?: {
|
|
41
|
+
readonly lat: number;
|
|
42
|
+
readonly lng: number;
|
|
43
|
+
} | null | undefined;
|
|
44
|
+
readonly profileType: import("@creopse/utils").ProfileType | string;
|
|
45
|
+
readonly profileId: number;
|
|
46
|
+
readonly accountStatus: import("@creopse/utils").AccountStatus;
|
|
47
|
+
readonly preferences?: any;
|
|
48
|
+
readonly authType?: import("@creopse/utils").AuthType | undefined;
|
|
49
|
+
readonly lastLoggedInAt?: string | undefined;
|
|
50
|
+
readonly rememberToken?: string | undefined;
|
|
51
|
+
readonly deletedAt?: string | undefined;
|
|
52
|
+
readonly createdAt?: string | undefined;
|
|
53
|
+
readonly updatedAt?: string | undefined;
|
|
54
|
+
readonly permissions?: readonly {
|
|
55
|
+
readonly id?: number | undefined;
|
|
56
|
+
readonly name: string;
|
|
57
|
+
readonly displayName: string;
|
|
58
|
+
readonly description: string;
|
|
59
|
+
readonly guardName: import("@creopse/utils").AccessGuard;
|
|
60
|
+
readonly createdAt?: string | undefined;
|
|
61
|
+
readonly updatedAt?: string | undefined;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
readonly profile?: import("@creopse/utils").AdminProfileModel | any;
|
|
64
|
+
readonly roles?: readonly {
|
|
65
|
+
readonly id?: number | undefined;
|
|
66
|
+
readonly name: string;
|
|
67
|
+
readonly displayName: string;
|
|
68
|
+
readonly description: string;
|
|
69
|
+
readonly guardName: import("@creopse/utils").AccessGuard;
|
|
70
|
+
readonly permissions?: readonly {
|
|
71
|
+
readonly id?: number | undefined;
|
|
72
|
+
readonly name: string;
|
|
73
|
+
readonly displayName: string;
|
|
74
|
+
readonly description: string;
|
|
75
|
+
readonly guardName: import("@creopse/utils").AccessGuard;
|
|
76
|
+
readonly createdAt?: string | undefined;
|
|
77
|
+
readonly updatedAt?: string | undefined;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
readonly createdAt?: string | undefined;
|
|
80
|
+
readonly updatedAt?: string | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
readonly sessions?: readonly {
|
|
83
|
+
readonly id?: number | undefined;
|
|
84
|
+
readonly userId?: number | undefined;
|
|
85
|
+
readonly ipAddress: string;
|
|
86
|
+
readonly userAgent: string;
|
|
87
|
+
readonly locationData?: {
|
|
88
|
+
readonly ip: string;
|
|
89
|
+
readonly iso?: string | undefined;
|
|
90
|
+
readonly city?: string | undefined;
|
|
91
|
+
readonly region?: string | undefined;
|
|
92
|
+
readonly source?: string | undefined;
|
|
93
|
+
readonly country?: string | undefined;
|
|
94
|
+
readonly currency?: string | undefined;
|
|
95
|
+
readonly latitude?: string | undefined;
|
|
96
|
+
readonly timezone?: string | undefined;
|
|
97
|
+
readonly continent?: string | undefined;
|
|
98
|
+
readonly longitude?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
readonly lastActivity: string;
|
|
101
|
+
readonly createdAt?: string | undefined;
|
|
102
|
+
readonly updatedAt?: string | undefined;
|
|
103
|
+
readonly user?: /*elided*/ any | undefined;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
readonly devices?: readonly {
|
|
106
|
+
readonly id?: number | undefined;
|
|
107
|
+
readonly userId?: number | undefined;
|
|
108
|
+
readonly deviceId?: string | undefined;
|
|
109
|
+
readonly data?: any;
|
|
110
|
+
readonly isActive?: boolean | undefined;
|
|
111
|
+
readonly createdAt?: string | undefined;
|
|
112
|
+
readonly updatedAt?: string | undefined;
|
|
113
|
+
readonly user?: /*elided*/ any | undefined;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
readonly place?: {
|
|
116
|
+
readonly id?: number | undefined;
|
|
117
|
+
readonly userId?: number | undefined;
|
|
118
|
+
readonly country?: string | undefined;
|
|
119
|
+
readonly position?: string | undefined;
|
|
120
|
+
readonly locality?: string | undefined;
|
|
121
|
+
readonly administrativeArea?: string | undefined;
|
|
122
|
+
readonly postalCode?: string | undefined;
|
|
123
|
+
readonly name?: string | undefined;
|
|
124
|
+
readonly subAdministrativeArea?: string | undefined;
|
|
125
|
+
readonly isoCountryCode?: string | undefined;
|
|
126
|
+
readonly subLocality?: string | undefined;
|
|
127
|
+
readonly subThoroughfare?: string | undefined;
|
|
128
|
+
readonly thoroughfare?: string | undefined;
|
|
129
|
+
readonly street?: string | undefined;
|
|
130
|
+
readonly createdAt?: string | undefined;
|
|
131
|
+
readonly updatedAt?: string | undefined;
|
|
132
|
+
readonly user?: /*elided*/ any | undefined;
|
|
133
|
+
} | undefined;
|
|
134
|
+
} | null;
|
|
12
135
|
readonly isUserLoggedIn: boolean;
|
|
13
136
|
readonly pageData: {
|
|
14
137
|
readonly name: string;
|
|
@@ -112,6 +235,13 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
112
235
|
readonly updatedAt?: string | undefined;
|
|
113
236
|
} | undefined;
|
|
114
237
|
} | null;
|
|
238
|
+
readonly defaultMeta: {
|
|
239
|
+
readonly title: string;
|
|
240
|
+
readonly description: string | null;
|
|
241
|
+
readonly url: string;
|
|
242
|
+
readonly image: string | null;
|
|
243
|
+
readonly favicon: string | null;
|
|
244
|
+
};
|
|
115
245
|
readonly articles?: readonly {
|
|
116
246
|
readonly id?: number | undefined;
|
|
117
247
|
readonly foreignId?: number | null | undefined;
|
|
@@ -4827,7 +4957,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4827
4957
|
}[] | undefined;
|
|
4828
4958
|
readonly query?: string | undefined;
|
|
4829
4959
|
readonly data?: any;
|
|
4830
|
-
readonly youtubeChannelId?: string | undefined;
|
|
4960
|
+
readonly youtubeChannelId?: string | null | undefined;
|
|
4831
4961
|
readonly component: string;
|
|
4832
4962
|
readonly props: {
|
|
4833
4963
|
readonly [x: string]: Readonly<unknown>;
|