@creopse/vue 0.0.52 → 0.0.53
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/index.cjs +11 -11
- package/dist/index.js +11 -11
- package/dist/index.mjs +1389 -1388
- package/package.json +2 -2
- package/types/composables/content.d.ts +3 -5
- package/types/core/props-manager.d.ts +70 -33
- package/types/types/content.d.ts +11 -0
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.53",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Noé Gnanih <noegnanih@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"vue": "^3.5.17"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@creopse/utils": "^0.0.
|
|
40
|
+
"@creopse/utils": "^0.0.14",
|
|
41
41
|
"@vueuse/core": "^14.1.0",
|
|
42
42
|
"axios": "^1.13.2",
|
|
43
43
|
"lodash.clonedeep": "^4.5.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Response } from '@/types/api';
|
|
2
|
+
import type { DataFilter, PaginatedContentModelItems } from '@/types/content';
|
|
2
3
|
import type { AppInformationKey, ContentModelItemModel, ContentModelModel, MenuItemGroupModel, MenuItemModel, MenuModel, NewsArticleModel, NewsCategoryModel, NewsTagModel, PageModel, SettingType, SharedProps } from '@creopse/utils';
|
|
3
4
|
/**
|
|
4
5
|
* A composable that provides a set of functions and properties for
|
|
@@ -36,13 +37,10 @@ export declare const useContent: () => {
|
|
|
36
37
|
getSectionRootData: (key?: string) => any;
|
|
37
38
|
getContentModel: (name: string) => ContentModelModel | undefined;
|
|
38
39
|
getContentModelItems: (name: string, filterByIsActive?: boolean) => Promise<ContentModelItemModel[]>;
|
|
39
|
-
getPaginatedContentModelItems: (name: string, pageSize: number, filterByIsActive?: boolean) => Promise<
|
|
40
|
-
items: ContentModelItemModel[];
|
|
41
|
-
total: number;
|
|
42
|
-
currentPage: number;
|
|
43
|
-
}>;
|
|
40
|
+
getPaginatedContentModelItems: (name: string, page: number, pageSize: number, filterByIsActive?: boolean, query?: string, dataFilters?: DataFilter[]) => Promise<PaginatedContentModelItems>;
|
|
44
41
|
getAppInformationValue: (key: AppInformationKey, type?: SettingType) => any;
|
|
45
42
|
submitUserContentModelItem: (title: string, contentModelId: string, singletonsData?: any, collectionsData?: any, successCallback?: (() => void) | undefined, errorCallback?: ((errorData: any) => void) | undefined) => Promise<Response<any>>;
|
|
43
|
+
formatContentModelItemData: (item: ContentModelItemModel) => object;
|
|
46
44
|
appAccentColor: globalThis.ComputedRef<string>;
|
|
47
45
|
appPrimaryColor: globalThis.ComputedRef<string>;
|
|
48
46
|
appSecondaryColor: globalThis.ComputedRef<string>;
|
|
@@ -14,6 +14,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly title: string;
|
|
16
16
|
readonly slug: string;
|
|
17
|
+
readonly position: number;
|
|
17
18
|
readonly content: string | null;
|
|
18
19
|
readonly sectionsOrder?: readonly string[] | null | undefined;
|
|
19
20
|
readonly sectionsDisabled?: readonly string[] | null | undefined;
|
|
@@ -72,6 +73,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
72
73
|
readonly name: string;
|
|
73
74
|
readonly title: string;
|
|
74
75
|
readonly slug: string;
|
|
76
|
+
readonly position: number;
|
|
75
77
|
readonly content: string | null;
|
|
76
78
|
readonly sectionsOrder?: readonly string[] | null | undefined;
|
|
77
79
|
readonly sectionsDisabled?: readonly string[] | null | undefined;
|
|
@@ -131,6 +133,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
131
133
|
readonly uid?: string | undefined;
|
|
132
134
|
readonly avatar: string;
|
|
133
135
|
readonly avatarUrl: string;
|
|
136
|
+
readonly username: string;
|
|
134
137
|
readonly fullname: string;
|
|
135
138
|
readonly lastname: string;
|
|
136
139
|
readonly firstname: string;
|
|
@@ -168,7 +171,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
168
171
|
readonly name: string;
|
|
169
172
|
readonly displayName: string;
|
|
170
173
|
readonly description: string;
|
|
171
|
-
readonly guardName:
|
|
174
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
172
175
|
readonly permissions?: readonly {
|
|
173
176
|
readonly id?: number | undefined;
|
|
174
177
|
readonly name: string;
|
|
@@ -239,6 +242,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
239
242
|
readonly uid?: string | undefined;
|
|
240
243
|
readonly avatar: string;
|
|
241
244
|
readonly avatarUrl: string;
|
|
245
|
+
readonly username: string;
|
|
242
246
|
readonly fullname: string;
|
|
243
247
|
readonly lastname: string;
|
|
244
248
|
readonly firstname: string;
|
|
@@ -276,7 +280,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
276
280
|
readonly name: string;
|
|
277
281
|
readonly displayName: string;
|
|
278
282
|
readonly description: string;
|
|
279
|
-
readonly guardName:
|
|
283
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
280
284
|
readonly permissions?: readonly {
|
|
281
285
|
readonly id?: number | undefined;
|
|
282
286
|
readonly name: string;
|
|
@@ -392,6 +396,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
392
396
|
readonly uid?: string | undefined;
|
|
393
397
|
readonly avatar: string;
|
|
394
398
|
readonly avatarUrl: string;
|
|
399
|
+
readonly username: string;
|
|
395
400
|
readonly fullname: string;
|
|
396
401
|
readonly lastname: string;
|
|
397
402
|
readonly firstname: string;
|
|
@@ -429,7 +434,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
429
434
|
readonly name: string;
|
|
430
435
|
readonly displayName: string;
|
|
431
436
|
readonly description: string;
|
|
432
|
-
readonly guardName:
|
|
437
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
433
438
|
readonly permissions?: readonly {
|
|
434
439
|
readonly id?: number | undefined;
|
|
435
440
|
readonly name: string;
|
|
@@ -525,6 +530,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
525
530
|
readonly uid?: string | undefined;
|
|
526
531
|
readonly avatar: string;
|
|
527
532
|
readonly avatarUrl: string;
|
|
533
|
+
readonly username: string;
|
|
528
534
|
readonly fullname: string;
|
|
529
535
|
readonly lastname: string;
|
|
530
536
|
readonly firstname: string;
|
|
@@ -562,7 +568,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
562
568
|
readonly name: string;
|
|
563
569
|
readonly displayName: string;
|
|
564
570
|
readonly description: string;
|
|
565
|
-
readonly guardName:
|
|
571
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
566
572
|
readonly permissions?: readonly {
|
|
567
573
|
readonly id?: number | undefined;
|
|
568
574
|
readonly name: string;
|
|
@@ -633,6 +639,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
633
639
|
readonly uid?: string | undefined;
|
|
634
640
|
readonly avatar: string;
|
|
635
641
|
readonly avatarUrl: string;
|
|
642
|
+
readonly username: string;
|
|
636
643
|
readonly fullname: string;
|
|
637
644
|
readonly lastname: string;
|
|
638
645
|
readonly firstname: string;
|
|
@@ -670,7 +677,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
670
677
|
readonly name: string;
|
|
671
678
|
readonly displayName: string;
|
|
672
679
|
readonly description: string;
|
|
673
|
-
readonly guardName:
|
|
680
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
674
681
|
readonly permissions?: readonly {
|
|
675
682
|
readonly id?: number | undefined;
|
|
676
683
|
readonly name: string;
|
|
@@ -786,6 +793,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
786
793
|
readonly uid?: string | undefined;
|
|
787
794
|
readonly avatar: string;
|
|
788
795
|
readonly avatarUrl: string;
|
|
796
|
+
readonly username: string;
|
|
789
797
|
readonly fullname: string;
|
|
790
798
|
readonly lastname: string;
|
|
791
799
|
readonly firstname: string;
|
|
@@ -823,7 +831,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
823
831
|
readonly name: string;
|
|
824
832
|
readonly displayName: string;
|
|
825
833
|
readonly description: string;
|
|
826
|
-
readonly guardName:
|
|
834
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
827
835
|
readonly permissions?: readonly {
|
|
828
836
|
readonly id?: number | undefined;
|
|
829
837
|
readonly name: string;
|
|
@@ -954,6 +962,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
954
962
|
readonly uid?: string | undefined;
|
|
955
963
|
readonly avatar: string;
|
|
956
964
|
readonly avatarUrl: string;
|
|
965
|
+
readonly username: string;
|
|
957
966
|
readonly fullname: string;
|
|
958
967
|
readonly lastname: string;
|
|
959
968
|
readonly firstname: string;
|
|
@@ -991,7 +1000,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
991
1000
|
readonly name: string;
|
|
992
1001
|
readonly displayName: string;
|
|
993
1002
|
readonly description: string;
|
|
994
|
-
readonly guardName:
|
|
1003
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
995
1004
|
readonly permissions?: readonly {
|
|
996
1005
|
readonly id?: number | undefined;
|
|
997
1006
|
readonly name: string;
|
|
@@ -1062,6 +1071,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1062
1071
|
readonly uid?: string | undefined;
|
|
1063
1072
|
readonly avatar: string;
|
|
1064
1073
|
readonly avatarUrl: string;
|
|
1074
|
+
readonly username: string;
|
|
1065
1075
|
readonly fullname: string;
|
|
1066
1076
|
readonly lastname: string;
|
|
1067
1077
|
readonly firstname: string;
|
|
@@ -1099,7 +1109,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1099
1109
|
readonly name: string;
|
|
1100
1110
|
readonly displayName: string;
|
|
1101
1111
|
readonly description: string;
|
|
1102
|
-
readonly guardName:
|
|
1112
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1103
1113
|
readonly permissions?: readonly {
|
|
1104
1114
|
readonly id?: number | undefined;
|
|
1105
1115
|
readonly name: string;
|
|
@@ -1198,6 +1208,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1198
1208
|
readonly uid?: string | undefined;
|
|
1199
1209
|
readonly avatar: string;
|
|
1200
1210
|
readonly avatarUrl: string;
|
|
1211
|
+
readonly username: string;
|
|
1201
1212
|
readonly fullname: string;
|
|
1202
1213
|
readonly lastname: string;
|
|
1203
1214
|
readonly firstname: string;
|
|
@@ -1235,7 +1246,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1235
1246
|
readonly name: string;
|
|
1236
1247
|
readonly displayName: string;
|
|
1237
1248
|
readonly description: string;
|
|
1238
|
-
readonly guardName:
|
|
1249
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1239
1250
|
readonly permissions?: readonly {
|
|
1240
1251
|
readonly id?: number | undefined;
|
|
1241
1252
|
readonly name: string;
|
|
@@ -1342,6 +1353,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1342
1353
|
readonly uid?: string | undefined;
|
|
1343
1354
|
readonly avatar: string;
|
|
1344
1355
|
readonly avatarUrl: string;
|
|
1356
|
+
readonly username: string;
|
|
1345
1357
|
readonly fullname: string;
|
|
1346
1358
|
readonly lastname: string;
|
|
1347
1359
|
readonly firstname: string;
|
|
@@ -1379,7 +1391,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1379
1391
|
readonly name: string;
|
|
1380
1392
|
readonly displayName: string;
|
|
1381
1393
|
readonly description: string;
|
|
1382
|
-
readonly guardName:
|
|
1394
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1383
1395
|
readonly permissions?: readonly {
|
|
1384
1396
|
readonly id?: number | undefined;
|
|
1385
1397
|
readonly name: string;
|
|
@@ -1450,6 +1462,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1450
1462
|
readonly uid?: string | undefined;
|
|
1451
1463
|
readonly avatar: string;
|
|
1452
1464
|
readonly avatarUrl: string;
|
|
1465
|
+
readonly username: string;
|
|
1453
1466
|
readonly fullname: string;
|
|
1454
1467
|
readonly lastname: string;
|
|
1455
1468
|
readonly firstname: string;
|
|
@@ -1487,7 +1500,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1487
1500
|
readonly name: string;
|
|
1488
1501
|
readonly displayName: string;
|
|
1489
1502
|
readonly description: string;
|
|
1490
|
-
readonly guardName:
|
|
1503
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1491
1504
|
readonly permissions?: readonly {
|
|
1492
1505
|
readonly id?: number | undefined;
|
|
1493
1506
|
readonly name: string;
|
|
@@ -1591,6 +1604,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1591
1604
|
readonly uid?: string | undefined;
|
|
1592
1605
|
readonly avatar: string;
|
|
1593
1606
|
readonly avatarUrl: string;
|
|
1607
|
+
readonly username: string;
|
|
1594
1608
|
readonly fullname: string;
|
|
1595
1609
|
readonly lastname: string;
|
|
1596
1610
|
readonly firstname: string;
|
|
@@ -1628,7 +1642,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1628
1642
|
readonly name: string;
|
|
1629
1643
|
readonly displayName: string;
|
|
1630
1644
|
readonly description: string;
|
|
1631
|
-
readonly guardName:
|
|
1645
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1632
1646
|
readonly permissions?: readonly {
|
|
1633
1647
|
readonly id?: number | undefined;
|
|
1634
1648
|
readonly name: string;
|
|
@@ -1725,6 +1739,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1725
1739
|
readonly uid?: string | undefined;
|
|
1726
1740
|
readonly avatar: string;
|
|
1727
1741
|
readonly avatarUrl: string;
|
|
1742
|
+
readonly username: string;
|
|
1728
1743
|
readonly fullname: string;
|
|
1729
1744
|
readonly lastname: string;
|
|
1730
1745
|
readonly firstname: string;
|
|
@@ -1762,7 +1777,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1762
1777
|
readonly name: string;
|
|
1763
1778
|
readonly displayName: string;
|
|
1764
1779
|
readonly description: string;
|
|
1765
|
-
readonly guardName:
|
|
1780
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1766
1781
|
readonly permissions?: readonly {
|
|
1767
1782
|
readonly id?: number | undefined;
|
|
1768
1783
|
readonly name: string;
|
|
@@ -1833,6 +1848,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1833
1848
|
readonly uid?: string | undefined;
|
|
1834
1849
|
readonly avatar: string;
|
|
1835
1850
|
readonly avatarUrl: string;
|
|
1851
|
+
readonly username: string;
|
|
1836
1852
|
readonly fullname: string;
|
|
1837
1853
|
readonly lastname: string;
|
|
1838
1854
|
readonly firstname: string;
|
|
@@ -1870,7 +1886,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1870
1886
|
readonly name: string;
|
|
1871
1887
|
readonly displayName: string;
|
|
1872
1888
|
readonly description: string;
|
|
1873
|
-
readonly guardName:
|
|
1889
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
1874
1890
|
readonly permissions?: readonly {
|
|
1875
1891
|
readonly id?: number | undefined;
|
|
1876
1892
|
readonly name: string;
|
|
@@ -1986,6 +2002,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
1986
2002
|
readonly uid?: string | undefined;
|
|
1987
2003
|
readonly avatar: string;
|
|
1988
2004
|
readonly avatarUrl: string;
|
|
2005
|
+
readonly username: string;
|
|
1989
2006
|
readonly fullname: string;
|
|
1990
2007
|
readonly lastname: string;
|
|
1991
2008
|
readonly firstname: string;
|
|
@@ -2023,7 +2040,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2023
2040
|
readonly name: string;
|
|
2024
2041
|
readonly displayName: string;
|
|
2025
2042
|
readonly description: string;
|
|
2026
|
-
readonly guardName:
|
|
2043
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2027
2044
|
readonly permissions?: readonly {
|
|
2028
2045
|
readonly id?: number | undefined;
|
|
2029
2046
|
readonly name: string;
|
|
@@ -2133,6 +2150,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2133
2150
|
readonly uid?: string | undefined;
|
|
2134
2151
|
readonly avatar: string;
|
|
2135
2152
|
readonly avatarUrl: string;
|
|
2153
|
+
readonly username: string;
|
|
2136
2154
|
readonly fullname: string;
|
|
2137
2155
|
readonly lastname: string;
|
|
2138
2156
|
readonly firstname: string;
|
|
@@ -2170,7 +2188,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2170
2188
|
readonly name: string;
|
|
2171
2189
|
readonly displayName: string;
|
|
2172
2190
|
readonly description: string;
|
|
2173
|
-
readonly guardName:
|
|
2191
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2174
2192
|
readonly permissions?: readonly {
|
|
2175
2193
|
readonly id?: number | undefined;
|
|
2176
2194
|
readonly name: string;
|
|
@@ -2241,6 +2259,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2241
2259
|
readonly uid?: string | undefined;
|
|
2242
2260
|
readonly avatar: string;
|
|
2243
2261
|
readonly avatarUrl: string;
|
|
2262
|
+
readonly username: string;
|
|
2244
2263
|
readonly fullname: string;
|
|
2245
2264
|
readonly lastname: string;
|
|
2246
2265
|
readonly firstname: string;
|
|
@@ -2278,7 +2297,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2278
2297
|
readonly name: string;
|
|
2279
2298
|
readonly displayName: string;
|
|
2280
2299
|
readonly description: string;
|
|
2281
|
-
readonly guardName:
|
|
2300
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2282
2301
|
readonly permissions?: readonly {
|
|
2283
2302
|
readonly id?: number | undefined;
|
|
2284
2303
|
readonly name: string;
|
|
@@ -2377,6 +2396,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2377
2396
|
readonly uid?: string | undefined;
|
|
2378
2397
|
readonly avatar: string;
|
|
2379
2398
|
readonly avatarUrl: string;
|
|
2399
|
+
readonly username: string;
|
|
2380
2400
|
readonly fullname: string;
|
|
2381
2401
|
readonly lastname: string;
|
|
2382
2402
|
readonly firstname: string;
|
|
@@ -2414,7 +2434,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2414
2434
|
readonly name: string;
|
|
2415
2435
|
readonly displayName: string;
|
|
2416
2436
|
readonly description: string;
|
|
2417
|
-
readonly guardName:
|
|
2437
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2418
2438
|
readonly permissions?: readonly {
|
|
2419
2439
|
readonly id?: number | undefined;
|
|
2420
2440
|
readonly name: string;
|
|
@@ -2521,6 +2541,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2521
2541
|
readonly uid?: string | undefined;
|
|
2522
2542
|
readonly avatar: string;
|
|
2523
2543
|
readonly avatarUrl: string;
|
|
2544
|
+
readonly username: string;
|
|
2524
2545
|
readonly fullname: string;
|
|
2525
2546
|
readonly lastname: string;
|
|
2526
2547
|
readonly firstname: string;
|
|
@@ -2558,7 +2579,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2558
2579
|
readonly name: string;
|
|
2559
2580
|
readonly displayName: string;
|
|
2560
2581
|
readonly description: string;
|
|
2561
|
-
readonly guardName:
|
|
2582
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2562
2583
|
readonly permissions?: readonly {
|
|
2563
2584
|
readonly id?: number | undefined;
|
|
2564
2585
|
readonly name: string;
|
|
@@ -2629,6 +2650,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2629
2650
|
readonly uid?: string | undefined;
|
|
2630
2651
|
readonly avatar: string;
|
|
2631
2652
|
readonly avatarUrl: string;
|
|
2653
|
+
readonly username: string;
|
|
2632
2654
|
readonly fullname: string;
|
|
2633
2655
|
readonly lastname: string;
|
|
2634
2656
|
readonly firstname: string;
|
|
@@ -2666,7 +2688,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2666
2688
|
readonly name: string;
|
|
2667
2689
|
readonly displayName: string;
|
|
2668
2690
|
readonly description: string;
|
|
2669
|
-
readonly guardName:
|
|
2691
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2670
2692
|
readonly permissions?: readonly {
|
|
2671
2693
|
readonly id?: number | undefined;
|
|
2672
2694
|
readonly name: string;
|
|
@@ -2770,6 +2792,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2770
2792
|
readonly uid?: string | undefined;
|
|
2771
2793
|
readonly avatar: string;
|
|
2772
2794
|
readonly avatarUrl: string;
|
|
2795
|
+
readonly username: string;
|
|
2773
2796
|
readonly fullname: string;
|
|
2774
2797
|
readonly lastname: string;
|
|
2775
2798
|
readonly firstname: string;
|
|
@@ -2807,7 +2830,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2807
2830
|
readonly name: string;
|
|
2808
2831
|
readonly displayName: string;
|
|
2809
2832
|
readonly description: string;
|
|
2810
|
-
readonly guardName:
|
|
2833
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2811
2834
|
readonly permissions?: readonly {
|
|
2812
2835
|
readonly id?: number | undefined;
|
|
2813
2836
|
readonly name: string;
|
|
@@ -2897,6 +2920,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2897
2920
|
readonly uid?: string | undefined;
|
|
2898
2921
|
readonly avatar: string;
|
|
2899
2922
|
readonly avatarUrl: string;
|
|
2923
|
+
readonly username: string;
|
|
2900
2924
|
readonly fullname: string;
|
|
2901
2925
|
readonly lastname: string;
|
|
2902
2926
|
readonly firstname: string;
|
|
@@ -2934,7 +2958,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
2934
2958
|
readonly name: string;
|
|
2935
2959
|
readonly displayName: string;
|
|
2936
2960
|
readonly description: string;
|
|
2937
|
-
readonly guardName:
|
|
2961
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
2938
2962
|
readonly permissions?: readonly {
|
|
2939
2963
|
readonly id?: number | undefined;
|
|
2940
2964
|
readonly name: string;
|
|
@@ -3088,6 +3112,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3088
3112
|
readonly uid?: string | undefined;
|
|
3089
3113
|
readonly avatar: string;
|
|
3090
3114
|
readonly avatarUrl: string;
|
|
3115
|
+
readonly username: string;
|
|
3091
3116
|
readonly fullname: string;
|
|
3092
3117
|
readonly lastname: string;
|
|
3093
3118
|
readonly firstname: string;
|
|
@@ -3125,7 +3150,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3125
3150
|
readonly name: string;
|
|
3126
3151
|
readonly displayName: string;
|
|
3127
3152
|
readonly description: string;
|
|
3128
|
-
readonly guardName:
|
|
3153
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3129
3154
|
readonly permissions?: readonly {
|
|
3130
3155
|
readonly id?: number | undefined;
|
|
3131
3156
|
readonly name: string;
|
|
@@ -3232,6 +3257,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3232
3257
|
readonly name: string;
|
|
3233
3258
|
readonly title: string;
|
|
3234
3259
|
readonly slug: string;
|
|
3260
|
+
readonly position: number;
|
|
3235
3261
|
readonly content: string | null;
|
|
3236
3262
|
readonly sectionsOrder?: readonly string[] | null | undefined;
|
|
3237
3263
|
readonly sectionsDisabled?: readonly string[] | null | undefined;
|
|
@@ -3290,6 +3316,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3290
3316
|
readonly name: string;
|
|
3291
3317
|
readonly title: string;
|
|
3292
3318
|
readonly slug: string;
|
|
3319
|
+
readonly position: number;
|
|
3293
3320
|
readonly content: string | null;
|
|
3294
3321
|
readonly sectionsOrder?: readonly string[] | null | undefined;
|
|
3295
3322
|
readonly sectionsDisabled?: readonly string[] | null | undefined;
|
|
@@ -3356,6 +3383,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3356
3383
|
readonly uid?: string | undefined;
|
|
3357
3384
|
readonly avatar: string;
|
|
3358
3385
|
readonly avatarUrl: string;
|
|
3386
|
+
readonly username: string;
|
|
3359
3387
|
readonly fullname: string;
|
|
3360
3388
|
readonly lastname: string;
|
|
3361
3389
|
readonly firstname: string;
|
|
@@ -3393,7 +3421,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3393
3421
|
readonly name: string;
|
|
3394
3422
|
readonly displayName: string;
|
|
3395
3423
|
readonly description: string;
|
|
3396
|
-
readonly guardName:
|
|
3424
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3397
3425
|
readonly permissions?: readonly {
|
|
3398
3426
|
readonly id?: number | undefined;
|
|
3399
3427
|
readonly name: string;
|
|
@@ -3464,6 +3492,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3464
3492
|
readonly uid?: string | undefined;
|
|
3465
3493
|
readonly avatar: string;
|
|
3466
3494
|
readonly avatarUrl: string;
|
|
3495
|
+
readonly username: string;
|
|
3467
3496
|
readonly fullname: string;
|
|
3468
3497
|
readonly lastname: string;
|
|
3469
3498
|
readonly firstname: string;
|
|
@@ -3501,7 +3530,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3501
3530
|
readonly name: string;
|
|
3502
3531
|
readonly displayName: string;
|
|
3503
3532
|
readonly description: string;
|
|
3504
|
-
readonly guardName:
|
|
3533
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3505
3534
|
readonly permissions?: readonly {
|
|
3506
3535
|
readonly id?: number | undefined;
|
|
3507
3536
|
readonly name: string;
|
|
@@ -3617,6 +3646,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3617
3646
|
readonly uid?: string | undefined;
|
|
3618
3647
|
readonly avatar: string;
|
|
3619
3648
|
readonly avatarUrl: string;
|
|
3649
|
+
readonly username: string;
|
|
3620
3650
|
readonly fullname: string;
|
|
3621
3651
|
readonly lastname: string;
|
|
3622
3652
|
readonly firstname: string;
|
|
@@ -3654,7 +3684,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3654
3684
|
readonly name: string;
|
|
3655
3685
|
readonly displayName: string;
|
|
3656
3686
|
readonly description: string;
|
|
3657
|
-
readonly guardName:
|
|
3687
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3658
3688
|
readonly permissions?: readonly {
|
|
3659
3689
|
readonly id?: number | undefined;
|
|
3660
3690
|
readonly name: string;
|
|
@@ -3763,6 +3793,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3763
3793
|
readonly uid?: string | undefined;
|
|
3764
3794
|
readonly avatar: string;
|
|
3765
3795
|
readonly avatarUrl: string;
|
|
3796
|
+
readonly username: string;
|
|
3766
3797
|
readonly fullname: string;
|
|
3767
3798
|
readonly lastname: string;
|
|
3768
3799
|
readonly firstname: string;
|
|
@@ -3800,7 +3831,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3800
3831
|
readonly name: string;
|
|
3801
3832
|
readonly displayName: string;
|
|
3802
3833
|
readonly description: string;
|
|
3803
|
-
readonly guardName:
|
|
3834
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3804
3835
|
readonly permissions?: readonly {
|
|
3805
3836
|
readonly id?: number | undefined;
|
|
3806
3837
|
readonly name: string;
|
|
@@ -3871,6 +3902,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3871
3902
|
readonly uid?: string | undefined;
|
|
3872
3903
|
readonly avatar: string;
|
|
3873
3904
|
readonly avatarUrl: string;
|
|
3905
|
+
readonly username: string;
|
|
3874
3906
|
readonly fullname: string;
|
|
3875
3907
|
readonly lastname: string;
|
|
3876
3908
|
readonly firstname: string;
|
|
@@ -3908,7 +3940,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
3908
3940
|
readonly name: string;
|
|
3909
3941
|
readonly displayName: string;
|
|
3910
3942
|
readonly description: string;
|
|
3911
|
-
readonly guardName:
|
|
3943
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
3912
3944
|
readonly permissions?: readonly {
|
|
3913
3945
|
readonly id?: number | undefined;
|
|
3914
3946
|
readonly name: string;
|
|
@@ -4007,6 +4039,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4007
4039
|
readonly uid?: string | undefined;
|
|
4008
4040
|
readonly avatar: string;
|
|
4009
4041
|
readonly avatarUrl: string;
|
|
4042
|
+
readonly username: string;
|
|
4010
4043
|
readonly fullname: string;
|
|
4011
4044
|
readonly lastname: string;
|
|
4012
4045
|
readonly firstname: string;
|
|
@@ -4044,7 +4077,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4044
4077
|
readonly name: string;
|
|
4045
4078
|
readonly displayName: string;
|
|
4046
4079
|
readonly description: string;
|
|
4047
|
-
readonly guardName:
|
|
4080
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
4048
4081
|
readonly permissions?: readonly {
|
|
4049
4082
|
readonly id?: number | undefined;
|
|
4050
4083
|
readonly name: string;
|
|
@@ -4150,6 +4183,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4150
4183
|
readonly uid?: string | undefined;
|
|
4151
4184
|
readonly avatar: string;
|
|
4152
4185
|
readonly avatarUrl: string;
|
|
4186
|
+
readonly username: string;
|
|
4153
4187
|
readonly fullname: string;
|
|
4154
4188
|
readonly lastname: string;
|
|
4155
4189
|
readonly firstname: string;
|
|
@@ -4187,7 +4221,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4187
4221
|
readonly name: string;
|
|
4188
4222
|
readonly displayName: string;
|
|
4189
4223
|
readonly description: string;
|
|
4190
|
-
readonly guardName:
|
|
4224
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
4191
4225
|
readonly permissions?: readonly {
|
|
4192
4226
|
readonly id?: number | undefined;
|
|
4193
4227
|
readonly name: string;
|
|
@@ -4258,6 +4292,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4258
4292
|
readonly uid?: string | undefined;
|
|
4259
4293
|
readonly avatar: string;
|
|
4260
4294
|
readonly avatarUrl: string;
|
|
4295
|
+
readonly username: string;
|
|
4261
4296
|
readonly fullname: string;
|
|
4262
4297
|
readonly lastname: string;
|
|
4263
4298
|
readonly firstname: string;
|
|
@@ -4295,7 +4330,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4295
4330
|
readonly name: string;
|
|
4296
4331
|
readonly displayName: string;
|
|
4297
4332
|
readonly description: string;
|
|
4298
|
-
readonly guardName:
|
|
4333
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
4299
4334
|
readonly permissions?: readonly {
|
|
4300
4335
|
readonly id?: number | undefined;
|
|
4301
4336
|
readonly name: string;
|
|
@@ -4399,6 +4434,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4399
4434
|
readonly uid?: string | undefined;
|
|
4400
4435
|
readonly avatar: string;
|
|
4401
4436
|
readonly avatarUrl: string;
|
|
4437
|
+
readonly username: string;
|
|
4402
4438
|
readonly fullname: string;
|
|
4403
4439
|
readonly lastname: string;
|
|
4404
4440
|
readonly firstname: string;
|
|
@@ -4436,7 +4472,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4436
4472
|
readonly name: string;
|
|
4437
4473
|
readonly displayName: string;
|
|
4438
4474
|
readonly description: string;
|
|
4439
|
-
readonly guardName:
|
|
4475
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
4440
4476
|
readonly permissions?: readonly {
|
|
4441
4477
|
readonly id?: number | undefined;
|
|
4442
4478
|
readonly name: string;
|
|
@@ -4525,6 +4561,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4525
4561
|
readonly uid?: string | undefined;
|
|
4526
4562
|
readonly avatar: string;
|
|
4527
4563
|
readonly avatarUrl: string;
|
|
4564
|
+
readonly username: string;
|
|
4528
4565
|
readonly fullname: string;
|
|
4529
4566
|
readonly lastname: string;
|
|
4530
4567
|
readonly firstname: string;
|
|
@@ -4562,7 +4599,7 @@ declare class PropsManager<T extends Props = Props> {
|
|
|
4562
4599
|
readonly name: string;
|
|
4563
4600
|
readonly displayName: string;
|
|
4564
4601
|
readonly description: string;
|
|
4565
|
-
readonly guardName:
|
|
4602
|
+
readonly guardName: import("@creopse/utils/dist/enums/access-guard.js").AccessGuard;
|
|
4566
4603
|
readonly permissions?: readonly {
|
|
4567
4604
|
readonly id?: number | undefined;
|
|
4568
4605
|
readonly name: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ContentModelItemModel } from '@creopse/utils';
|
|
2
|
+
export type DataFilter = {
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
operator?: '=' | '!=' | '>' | '>=' | '<' | '<=' | 'like';
|
|
6
|
+
};
|
|
7
|
+
export interface PaginatedContentModelItems {
|
|
8
|
+
items: ContentModelItemModel[];
|
|
9
|
+
total: number;
|
|
10
|
+
currentPage: number;
|
|
11
|
+
}
|