@carlonicora/nextjs-jsonapi 0.0.1
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/README.md +889 -0
- package/dist/AbstractService-BKlpJA61.d.mts +109 -0
- package/dist/AbstractService-D9eSVKNa.d.ts +109 -0
- package/dist/ApiData-DPKNfY-9.d.mts +10 -0
- package/dist/ApiData-DPKNfY-9.d.ts +10 -0
- package/dist/ApiDataInterface-DPP8s46n.d.mts +21 -0
- package/dist/ApiDataInterface-DPP8s46n.d.ts +21 -0
- package/dist/ApiRequestDataTypeInterface-CUKFDBx2.d.mts +20 -0
- package/dist/ApiRequestDataTypeInterface-CUKFDBx2.d.ts +20 -0
- package/dist/ApiResponseInterface-BHN5D9r5.d.mts +16 -0
- package/dist/ApiResponseInterface-DDI7QQPR.d.ts +16 -0
- package/dist/BlockNoteEditor-UVO3VZZE.mjs +396 -0
- package/dist/BlockNoteEditor-UVO3VZZE.mjs.map +1 -0
- package/dist/BlockNoteEditor-VFWG6LXI.js +396 -0
- package/dist/BlockNoteEditor-VFWG6LXI.js.map +1 -0
- package/dist/JsonApiRequest-S3ICLM7B.mjs +20 -0
- package/dist/JsonApiRequest-S3ICLM7B.mjs.map +1 -0
- package/dist/JsonApiRequest-ZZLSP26T.js +20 -0
- package/dist/JsonApiRequest-ZZLSP26T.js.map +1 -0
- package/dist/atoms/index.d.mts +12 -0
- package/dist/atoms/index.d.ts +12 -0
- package/dist/atoms/index.js +9 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/atoms/index.mjs +9 -0
- package/dist/atoms/index.mjs.map +1 -0
- package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.mts +6 -0
- package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.ts +6 -0
- package/dist/chunk-2K3Q24UF.js +89 -0
- package/dist/chunk-2K3Q24UF.js.map +1 -0
- package/dist/chunk-2LM6LCJW.mjs +1091 -0
- package/dist/chunk-2LM6LCJW.mjs.map +1 -0
- package/dist/chunk-366S2JCC.mjs +31 -0
- package/dist/chunk-366S2JCC.mjs.map +1 -0
- package/dist/chunk-3FBCC4G3.js +8 -0
- package/dist/chunk-3FBCC4G3.js.map +1 -0
- package/dist/chunk-4HCRAOS5.js +28 -0
- package/dist/chunk-4HCRAOS5.js.map +1 -0
- package/dist/chunk-5W6AKZE6.mjs +131 -0
- package/dist/chunk-5W6AKZE6.mjs.map +1 -0
- package/dist/chunk-6GKHCVF6.js +98 -0
- package/dist/chunk-6GKHCVF6.js.map +1 -0
- package/dist/chunk-7QVYU63E.js +7 -0
- package/dist/chunk-7QVYU63E.js.map +1 -0
- package/dist/chunk-A3J3AAYM.mjs +97 -0
- package/dist/chunk-A3J3AAYM.mjs.map +1 -0
- package/dist/chunk-A5DDIABK.js +4209 -0
- package/dist/chunk-A5DDIABK.js.map +1 -0
- package/dist/chunk-AUXK7QSA.mjs +15 -0
- package/dist/chunk-AUXK7QSA.mjs.map +1 -0
- package/dist/chunk-AWONBQQP.js +97 -0
- package/dist/chunk-AWONBQQP.js.map +1 -0
- package/dist/chunk-BLWVZK6J.mjs +28 -0
- package/dist/chunk-BLWVZK6J.mjs.map +1 -0
- package/dist/chunk-C7C7VY4F.mjs +77 -0
- package/dist/chunk-C7C7VY4F.mjs.map +1 -0
- package/dist/chunk-CXQOWQSY.js +55 -0
- package/dist/chunk-CXQOWQSY.js.map +1 -0
- package/dist/chunk-DD3KISNB.mjs +98 -0
- package/dist/chunk-DD3KISNB.mjs.map +1 -0
- package/dist/chunk-DKKMWBP4.mjs +1 -0
- package/dist/chunk-DKKMWBP4.mjs.map +1 -0
- package/dist/chunk-DO2HLAZO.js +48 -0
- package/dist/chunk-DO2HLAZO.js.map +1 -0
- package/dist/chunk-DZXDB3K2.mjs +17 -0
- package/dist/chunk-DZXDB3K2.mjs.map +1 -0
- package/dist/chunk-ECDTZBYO.mjs +230 -0
- package/dist/chunk-ECDTZBYO.mjs.map +1 -0
- package/dist/chunk-EFJEWLRL.js +16 -0
- package/dist/chunk-EFJEWLRL.js.map +1 -0
- package/dist/chunk-FY4SXJGU.js +806 -0
- package/dist/chunk-FY4SXJGU.js.map +1 -0
- package/dist/chunk-GYWPEPOH.mjs +1354 -0
- package/dist/chunk-GYWPEPOH.mjs.map +1 -0
- package/dist/chunk-H6FMOA6B.js +1 -0
- package/dist/chunk-H6FMOA6B.js.map +1 -0
- package/dist/chunk-HR4H2FP7.mjs +89 -0
- package/dist/chunk-HR4H2FP7.mjs.map +1 -0
- package/dist/chunk-I2REI7OA.js +462 -0
- package/dist/chunk-I2REI7OA.js.map +1 -0
- package/dist/chunk-IBS6NI7D.js +77 -0
- package/dist/chunk-IBS6NI7D.js.map +1 -0
- package/dist/chunk-IWFGEPAA.mjs +4209 -0
- package/dist/chunk-IWFGEPAA.mjs.map +1 -0
- package/dist/chunk-J4Q36PMP.js +31 -0
- package/dist/chunk-J4Q36PMP.js.map +1 -0
- package/dist/chunk-JC3WJK65.js +1091 -0
- package/dist/chunk-JC3WJK65.js.map +1 -0
- package/dist/chunk-L6EQEAXU.mjs +462 -0
- package/dist/chunk-L6EQEAXU.mjs.map +1 -0
- package/dist/chunk-LXKSUWAV.js +15 -0
- package/dist/chunk-LXKSUWAV.js.map +1 -0
- package/dist/chunk-MFO27OHB.mjs +48 -0
- package/dist/chunk-MFO27OHB.mjs.map +1 -0
- package/dist/chunk-PAWJFY3S.mjs +7 -0
- package/dist/chunk-PAWJFY3S.mjs.map +1 -0
- package/dist/chunk-Q2N6SQYW.mjs +8 -0
- package/dist/chunk-Q2N6SQYW.mjs.map +1 -0
- package/dist/chunk-RAF7PNLG.js +131 -0
- package/dist/chunk-RAF7PNLG.js.map +1 -0
- package/dist/chunk-RUR22SVM.js +17 -0
- package/dist/chunk-RUR22SVM.js.map +1 -0
- package/dist/chunk-TEGF6ZWG.js +109 -0
- package/dist/chunk-TEGF6ZWG.js.map +1 -0
- package/dist/chunk-TMVHSY3Y.js +230 -0
- package/dist/chunk-TMVHSY3Y.js.map +1 -0
- package/dist/chunk-V2JJPI7N.js +1354 -0
- package/dist/chunk-V2JJPI7N.js.map +1 -0
- package/dist/chunk-WWWMJZEF.mjs +806 -0
- package/dist/chunk-WWWMJZEF.mjs.map +1 -0
- package/dist/chunk-X4BIHJ2B.mjs +55 -0
- package/dist/chunk-X4BIHJ2B.mjs.map +1 -0
- package/dist/chunk-YDVTFM7X.mjs +109 -0
- package/dist/chunk-YDVTFM7X.mjs.map +1 -0
- package/dist/chunk-YF5XQZDR.mjs +16 -0
- package/dist/chunk-YF5XQZDR.mjs.map +1 -0
- package/dist/client/index.d.mts +252 -0
- package/dist/client/index.d.ts +252 -0
- package/dist/client/index.js +275 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/index.mjs +274 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/components/index.d.mts +441 -0
- package/dist/components/index.d.ts +441 -0
- package/dist/components/index.js +2474 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +2474 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/config-hXufftVS.d.mts +34 -0
- package/dist/config-hXufftVS.d.ts +34 -0
- package/dist/content.interface-BhyAiOFq.d.ts +35 -0
- package/dist/content.interface-Dg2lt_An.d.mts +35 -0
- package/dist/contexts/index.d.mts +56 -0
- package/dist/contexts/index.d.ts +56 -0
- package/dist/contexts/index.js +21 -0
- package/dist/contexts/index.js.map +1 -0
- package/dist/contexts/index.mjs +21 -0
- package/dist/contexts/index.mjs.map +1 -0
- package/dist/core/index.d.mts +152 -0
- package/dist/core/index.d.ts +152 -0
- package/dist/core/index.js +47 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/index.mjs +47 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/d3.link.interface-QMdB22bC.d.mts +20 -0
- package/dist/d3.link.interface-QMdB22bC.d.ts +20 -0
- package/dist/features/index.d.mts +553 -0
- package/dist/features/index.d.ts +553 -0
- package/dist/features/index.js +94 -0
- package/dist/features/index.js.map +1 -0
- package/dist/features/index.mjs +94 -0
- package/dist/features/index.mjs.map +1 -0
- package/dist/hooks/index.d.mts +94 -0
- package/dist/hooks/index.d.ts +94 -0
- package/dist/hooks/index.js +43 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +43 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/index.d.mts +72 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +84 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +84 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces/index.d.mts +3 -0
- package/dist/interfaces/index.d.ts +3 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/index.mjs +2 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/dist/permissions/index.d.mts +41 -0
- package/dist/permissions/index.d.ts +41 -0
- package/dist/permissions/index.js +14 -0
- package/dist/permissions/index.js.map +1 -0
- package/dist/permissions/index.mjs +14 -0
- package/dist/permissions/index.mjs.map +1 -0
- package/dist/request-7FE3LJLV.mjs +9 -0
- package/dist/request-7FE3LJLV.mjs.map +1 -0
- package/dist/request-FYMQK5CX.mjs +9 -0
- package/dist/request-FYMQK5CX.mjs.map +1 -0
- package/dist/request-QFS7NEIE.js +9 -0
- package/dist/request-QFS7NEIE.js.map +1 -0
- package/dist/request-ZYY6RI5X.js +9 -0
- package/dist/request-ZYY6RI5X.js.map +1 -0
- package/dist/roles/index.d.mts +33 -0
- package/dist/roles/index.d.ts +33 -0
- package/dist/roles/index.js +12 -0
- package/dist/roles/index.js.map +1 -0
- package/dist/roles/index.mjs +12 -0
- package/dist/roles/index.mjs.map +1 -0
- package/dist/server/index.d.mts +44 -0
- package/dist/server/index.d.ts +44 -0
- package/dist/server/index.js +29 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +29 -0
- package/dist/server/index.mjs.map +1 -0
- package/dist/shadcnui/index.d.mts +698 -0
- package/dist/shadcnui/index.d.ts +698 -0
- package/dist/shadcnui/index.js +466 -0
- package/dist/shadcnui/index.js.map +1 -0
- package/dist/shadcnui/index.mjs +465 -0
- package/dist/shadcnui/index.mjs.map +1 -0
- package/dist/token-IJSPOMW6.mjs +9 -0
- package/dist/token-IJSPOMW6.mjs.map +1 -0
- package/dist/token-MJMC26ON.js +9 -0
- package/dist/token-MJMC26ON.js.map +1 -0
- package/dist/token-UADJQ7VC.mjs +9 -0
- package/dist/token-UADJQ7VC.mjs.map +1 -0
- package/dist/token-UYE7CV6X.js +9 -0
- package/dist/token-UYE7CV6X.js.map +1 -0
- package/dist/types-DluCaP1I.d.ts +95 -0
- package/dist/types-lQVA8d_P.d.mts +95 -0
- package/dist/useDataListRetriever-futhx3OP.d.mts +32 -0
- package/dist/useDataListRetriever-futhx3OP.d.ts +32 -0
- package/dist/user.interface-CAsTIbuQ.d.mts +85 -0
- package/dist/user.interface-CbWqMaaU.d.ts +85 -0
- package/dist/utils/index.d.mts +201 -0
- package/dist/utils/index.d.ts +201 -0
- package/dist/utils/index.js +32 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +32 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +205 -0
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
import { g as ModuleFactory, f as ModuleWithPermissions } from '../types-DluCaP1I.js';
|
|
2
|
+
import { J as JsonApiHydratedDataInterface, A as ApiDataInterface } from '../ApiDataInterface-DPP8s46n.js';
|
|
3
|
+
import { A as AbstractApiData, a as AbstractService, N as NextRef, P as PreviousRef } from '../AbstractService-D9eSVKNa.js';
|
|
4
|
+
import { M as ModuleInterface, F as FeatureInterface, C as CompanyInterface, a as CompanyInput, R as RoleInterface, b as RoleInput, U as UserInterface, c as UserInput } from '../user.interface-CbWqMaaU.js';
|
|
5
|
+
import { C as ContentInterface, a as ContentInput } from '../content.interface-BhyAiOFq.js';
|
|
6
|
+
export { b as ContributorsList, U as UserAvatar } from '../content.interface-BhyAiOFq.js';
|
|
7
|
+
import '../ApiRequestDataTypeInterface-CUKFDBx2.js';
|
|
8
|
+
import 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
interface SearchResultInterface {
|
|
11
|
+
get searchResult(): string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare const AuthorModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
15
|
+
|
|
16
|
+
declare const ContentModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
17
|
+
|
|
18
|
+
declare const CompanyModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
19
|
+
|
|
20
|
+
declare class Module extends AbstractApiData implements ModuleInterface {
|
|
21
|
+
private _name?;
|
|
22
|
+
private _isCore?;
|
|
23
|
+
private _permissions?;
|
|
24
|
+
get name(): string;
|
|
25
|
+
get isCore(): boolean;
|
|
26
|
+
get permissions(): {
|
|
27
|
+
create: boolean | string;
|
|
28
|
+
read: boolean | string;
|
|
29
|
+
update: boolean | string;
|
|
30
|
+
delete: boolean | string;
|
|
31
|
+
};
|
|
32
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare const ModuleModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
36
|
+
|
|
37
|
+
declare class Feature extends AbstractApiData implements FeatureInterface {
|
|
38
|
+
private _name?;
|
|
39
|
+
private _isProduction?;
|
|
40
|
+
private _modules;
|
|
41
|
+
get name(): string;
|
|
42
|
+
get isProduction(): boolean;
|
|
43
|
+
get modules(): ModuleInterface[];
|
|
44
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare class FeatureService extends AbstractService {
|
|
48
|
+
static findMany(params: {
|
|
49
|
+
companyId?: string;
|
|
50
|
+
search?: string;
|
|
51
|
+
next?: NextRef;
|
|
52
|
+
}): Promise<FeatureInterface[]>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const FeatureModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
56
|
+
|
|
57
|
+
declare class Company extends AbstractApiData implements CompanyInterface {
|
|
58
|
+
private _name?;
|
|
59
|
+
private _logo?;
|
|
60
|
+
private _logoUrl?;
|
|
61
|
+
private _configurations?;
|
|
62
|
+
private _licenseExpirationDate?;
|
|
63
|
+
private _features?;
|
|
64
|
+
private _modules?;
|
|
65
|
+
get name(): string;
|
|
66
|
+
get logo(): string | undefined;
|
|
67
|
+
get logoUrl(): string | undefined;
|
|
68
|
+
get licenseExpirationDate(): Date | undefined;
|
|
69
|
+
get features(): FeatureInterface[];
|
|
70
|
+
get modules(): ModuleInterface[];
|
|
71
|
+
get configurations(): any | undefined;
|
|
72
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
73
|
+
createJsonApi(data: CompanyInput): any;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare enum CompanyFields {
|
|
77
|
+
companyId = "companyId",
|
|
78
|
+
name = "name",
|
|
79
|
+
createdAt = "createdAt",
|
|
80
|
+
updatedAt = "updatedAt"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare class CompanyService extends AbstractService {
|
|
84
|
+
static findOne(params: {
|
|
85
|
+
companyId: string;
|
|
86
|
+
}): Promise<CompanyInterface>;
|
|
87
|
+
static findMany(params: {
|
|
88
|
+
search?: string;
|
|
89
|
+
next?: NextRef;
|
|
90
|
+
}): Promise<CompanyInterface[]>;
|
|
91
|
+
static delete(params: {
|
|
92
|
+
companyId: string;
|
|
93
|
+
}): Promise<void>;
|
|
94
|
+
static create(params: CompanyInput): Promise<CompanyInterface>;
|
|
95
|
+
static update(params: CompanyInput): Promise<CompanyInterface>;
|
|
96
|
+
static updateConfigurations(params: CompanyInput): Promise<CompanyInterface>;
|
|
97
|
+
static activateLicense(params: CompanyInput): Promise<CompanyInterface>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class Role extends AbstractApiData implements RoleInterface {
|
|
101
|
+
private _name?;
|
|
102
|
+
private _description?;
|
|
103
|
+
private _isSelectable?;
|
|
104
|
+
private _requiredFeature?;
|
|
105
|
+
get name(): string;
|
|
106
|
+
get description(): string;
|
|
107
|
+
get isSelectable(): boolean;
|
|
108
|
+
get requiredFeature(): FeatureInterface | undefined;
|
|
109
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
110
|
+
createJsonApi(data: RoleInput): any;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare enum RoleFields {
|
|
114
|
+
roleId = "roleId",
|
|
115
|
+
name = "name",
|
|
116
|
+
description = "description",
|
|
117
|
+
createdAt = "createdAt",
|
|
118
|
+
updatedAt = "updatedAt"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class RoleService extends AbstractService {
|
|
122
|
+
static findById(params: {
|
|
123
|
+
roleId: string;
|
|
124
|
+
}): Promise<RoleInterface>;
|
|
125
|
+
static findAllRoles(params: {
|
|
126
|
+
search?: string;
|
|
127
|
+
next?: NextRef;
|
|
128
|
+
}): Promise<RoleInterface[]>;
|
|
129
|
+
static findAllRolesByUser(params: {
|
|
130
|
+
userId: string;
|
|
131
|
+
search?: string;
|
|
132
|
+
next?: NextRef;
|
|
133
|
+
prev?: PreviousRef;
|
|
134
|
+
}): Promise<RoleInterface[]>;
|
|
135
|
+
static findAllRolesUserNotIn(params: {
|
|
136
|
+
userId: string;
|
|
137
|
+
search?: string;
|
|
138
|
+
next?: NextRef;
|
|
139
|
+
prev?: PreviousRef;
|
|
140
|
+
}): Promise<RoleInterface[]>;
|
|
141
|
+
static addUserToRole(params: {
|
|
142
|
+
userId: string;
|
|
143
|
+
roleId: string;
|
|
144
|
+
}): Promise<void>;
|
|
145
|
+
static removeUserFromRole(params: {
|
|
146
|
+
userId: string;
|
|
147
|
+
roleId: string;
|
|
148
|
+
}): Promise<void>;
|
|
149
|
+
static create(params: {
|
|
150
|
+
roleId: string;
|
|
151
|
+
name: string;
|
|
152
|
+
description?: string;
|
|
153
|
+
}): Promise<RoleInterface>;
|
|
154
|
+
static update(params: {
|
|
155
|
+
roleId: string;
|
|
156
|
+
name: string;
|
|
157
|
+
description?: string;
|
|
158
|
+
}): Promise<RoleInterface>;
|
|
159
|
+
static delete(params: {
|
|
160
|
+
roleId: string;
|
|
161
|
+
}): Promise<RoleInterface>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare const RoleModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
165
|
+
|
|
166
|
+
declare class User extends AbstractApiData implements UserInterface, SearchResultInterface {
|
|
167
|
+
private _name?;
|
|
168
|
+
private _email?;
|
|
169
|
+
private _title?;
|
|
170
|
+
private _bio?;
|
|
171
|
+
private _avatar?;
|
|
172
|
+
private _avatarUrl?;
|
|
173
|
+
private _phone?;
|
|
174
|
+
private _rate?;
|
|
175
|
+
private _isActivated?;
|
|
176
|
+
private _isDeleted?;
|
|
177
|
+
private _lastLogin?;
|
|
178
|
+
private _relevance?;
|
|
179
|
+
private _roles;
|
|
180
|
+
private _company?;
|
|
181
|
+
private _modules;
|
|
182
|
+
get searchResult(): string;
|
|
183
|
+
get name(): string;
|
|
184
|
+
get email(): string;
|
|
185
|
+
get title(): string;
|
|
186
|
+
get bio(): string;
|
|
187
|
+
get avatar(): string | undefined;
|
|
188
|
+
get avatarUrl(): string | undefined;
|
|
189
|
+
get phone(): string | undefined;
|
|
190
|
+
get rate(): number | undefined;
|
|
191
|
+
get relevance(): number | undefined;
|
|
192
|
+
get isActivated(): boolean;
|
|
193
|
+
get isDeleted(): boolean;
|
|
194
|
+
get lastLogin(): Date | undefined;
|
|
195
|
+
get roles(): RoleInterface[];
|
|
196
|
+
get company(): CompanyInterface | undefined;
|
|
197
|
+
get modules(): ModuleInterface[];
|
|
198
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
199
|
+
createJsonApi(data: UserInput): any;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare enum UserFields {
|
|
203
|
+
userId = "userId",
|
|
204
|
+
name = "name",
|
|
205
|
+
email = "email",
|
|
206
|
+
relevance = "relevance",
|
|
207
|
+
createdAt = "createdAt",
|
|
208
|
+
updatedAt = "updatedAt"
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class UserService extends AbstractService {
|
|
212
|
+
static findFullUser(): Promise<UserInterface>;
|
|
213
|
+
static findById(params: {
|
|
214
|
+
userId: string;
|
|
215
|
+
}): Promise<UserInterface>;
|
|
216
|
+
static findByEmail(params: {
|
|
217
|
+
email: string;
|
|
218
|
+
}): Promise<UserInterface>;
|
|
219
|
+
static findMany(params: {
|
|
220
|
+
roleId?: string;
|
|
221
|
+
search?: string;
|
|
222
|
+
fetchAll?: boolean;
|
|
223
|
+
includeDeleted?: boolean;
|
|
224
|
+
next?: NextRef;
|
|
225
|
+
prev?: PreviousRef;
|
|
226
|
+
}): Promise<UserInterface[]>;
|
|
227
|
+
static findManyByContentIds(params: {
|
|
228
|
+
contentIds: string[];
|
|
229
|
+
search?: string;
|
|
230
|
+
next?: NextRef;
|
|
231
|
+
prev?: PreviousRef;
|
|
232
|
+
}): Promise<UserInterface[]>;
|
|
233
|
+
static findRelevant(params: {
|
|
234
|
+
id: string;
|
|
235
|
+
next?: NextRef;
|
|
236
|
+
prev?: PreviousRef;
|
|
237
|
+
}): Promise<UserInterface[]>;
|
|
238
|
+
static findManyForAmin(params: {
|
|
239
|
+
companyId?: string;
|
|
240
|
+
search?: string;
|
|
241
|
+
next?: NextRef;
|
|
242
|
+
prev?: PreviousRef;
|
|
243
|
+
}): Promise<UserInterface[]>;
|
|
244
|
+
static findAllUsers(params: {
|
|
245
|
+
companyId: string;
|
|
246
|
+
search?: string;
|
|
247
|
+
limitToRoles?: string[];
|
|
248
|
+
isDeleted?: boolean;
|
|
249
|
+
next?: NextRef;
|
|
250
|
+
prev?: PreviousRef;
|
|
251
|
+
}): Promise<UserInterface[]>;
|
|
252
|
+
static findAllUsersByRole(params: {
|
|
253
|
+
roleId: string;
|
|
254
|
+
search?: string;
|
|
255
|
+
next?: NextRef;
|
|
256
|
+
prev?: PreviousRef;
|
|
257
|
+
}): Promise<UserInterface[]>;
|
|
258
|
+
static findAllUsersNotInRole(params: {
|
|
259
|
+
roleId: string;
|
|
260
|
+
search?: string;
|
|
261
|
+
next?: NextRef;
|
|
262
|
+
prev?: PreviousRef;
|
|
263
|
+
}): Promise<UserInterface[]>;
|
|
264
|
+
static create(params: UserInput): Promise<UserInterface>;
|
|
265
|
+
static reactivate(params: {
|
|
266
|
+
userId: string;
|
|
267
|
+
}): Promise<UserInterface>;
|
|
268
|
+
static sendInvitation(params: {
|
|
269
|
+
userId: string;
|
|
270
|
+
companyId?: string;
|
|
271
|
+
}): Promise<void>;
|
|
272
|
+
static update(params: UserInput): Promise<UserInterface>;
|
|
273
|
+
static patchRate(params: UserInput): Promise<UserInterface>;
|
|
274
|
+
static delete(params: {
|
|
275
|
+
userId: string;
|
|
276
|
+
companyId: string;
|
|
277
|
+
}): Promise<void>;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
declare class Content extends AbstractApiData implements ContentInterface, SearchResultInterface {
|
|
281
|
+
private _contentType?;
|
|
282
|
+
private _name?;
|
|
283
|
+
private _abstract?;
|
|
284
|
+
private _tldr?;
|
|
285
|
+
private _aiStatus?;
|
|
286
|
+
private _relevance?;
|
|
287
|
+
private _author?;
|
|
288
|
+
private _editors?;
|
|
289
|
+
get searchResult(): string;
|
|
290
|
+
get contentType(): string | undefined;
|
|
291
|
+
get name(): string;
|
|
292
|
+
get abstract(): string | undefined;
|
|
293
|
+
get tldr(): string | undefined;
|
|
294
|
+
get aiStatus(): string;
|
|
295
|
+
get relevance(): number | undefined;
|
|
296
|
+
get author(): UserInterface;
|
|
297
|
+
get editors(): UserInterface[];
|
|
298
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
299
|
+
protected addContentInput(response: any, data: ContentInput): void;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare enum ContentFields {
|
|
303
|
+
contentId = "contentId",
|
|
304
|
+
name = "name",
|
|
305
|
+
relevance = "relevance",
|
|
306
|
+
authors = "authors",
|
|
307
|
+
topic = "topic",
|
|
308
|
+
expertise = "expertise",
|
|
309
|
+
createdAt = "createdAt",
|
|
310
|
+
updatedAt = "updatedAt"
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
declare class ContentService extends AbstractService {
|
|
314
|
+
static findMany(params: {
|
|
315
|
+
contentIds?: string[];
|
|
316
|
+
search?: string;
|
|
317
|
+
fetchAll?: boolean;
|
|
318
|
+
next?: NextRef;
|
|
319
|
+
prev?: PreviousRef;
|
|
320
|
+
}): Promise<ContentInterface[]>;
|
|
321
|
+
static findRelevant(params: {
|
|
322
|
+
id: string;
|
|
323
|
+
next?: NextRef;
|
|
324
|
+
prev?: PreviousRef;
|
|
325
|
+
}): Promise<ContentInterface[]>;
|
|
326
|
+
static findManyByAuthor(params: {
|
|
327
|
+
userId: string;
|
|
328
|
+
search?: string;
|
|
329
|
+
fetchAll?: boolean;
|
|
330
|
+
next?: NextRef;
|
|
331
|
+
prev?: PreviousRef;
|
|
332
|
+
}): Promise<ContentInterface[]>;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare const AuthModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
336
|
+
|
|
337
|
+
type AuthInput = {
|
|
338
|
+
id?: string;
|
|
339
|
+
email?: string | undefined | null;
|
|
340
|
+
password?: string | undefined;
|
|
341
|
+
name?: string;
|
|
342
|
+
companyName?: string;
|
|
343
|
+
partitaIva?: string;
|
|
344
|
+
codiceFiscale?: string;
|
|
345
|
+
};
|
|
346
|
+
type AuthQuery = {
|
|
347
|
+
userId?: string;
|
|
348
|
+
tokenCode?: string;
|
|
349
|
+
refreshToken?: string;
|
|
350
|
+
login?: boolean;
|
|
351
|
+
forgot?: boolean;
|
|
352
|
+
code?: string;
|
|
353
|
+
activationCode?: string;
|
|
354
|
+
checkUsername?: string;
|
|
355
|
+
};
|
|
356
|
+
interface AuthInterface extends ApiDataInterface {
|
|
357
|
+
get token(): string;
|
|
358
|
+
get refreshToken(): string;
|
|
359
|
+
get user(): UserInterface;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
declare class Auth extends AbstractApiData implements AuthInterface {
|
|
363
|
+
private _token?;
|
|
364
|
+
private _refreshToken?;
|
|
365
|
+
private _user?;
|
|
366
|
+
get token(): string;
|
|
367
|
+
get refreshToken(): string;
|
|
368
|
+
get user(): UserInterface;
|
|
369
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
370
|
+
createJsonApi(data: AuthInput): any;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
declare class AuthService extends AbstractService {
|
|
374
|
+
static login(params: {
|
|
375
|
+
email: string;
|
|
376
|
+
password: string;
|
|
377
|
+
language?: string;
|
|
378
|
+
}): Promise<UserInterface>;
|
|
379
|
+
static logout(params?: {
|
|
380
|
+
language?: string;
|
|
381
|
+
}): Promise<void>;
|
|
382
|
+
static initialiseForgotPassword(params: {
|
|
383
|
+
email: string;
|
|
384
|
+
language?: string;
|
|
385
|
+
}): Promise<void>;
|
|
386
|
+
static register(params: AuthInput): Promise<void>;
|
|
387
|
+
static activate(params: {
|
|
388
|
+
activationCode: string;
|
|
389
|
+
}): Promise<void>;
|
|
390
|
+
static validateCode(params: {
|
|
391
|
+
code: string;
|
|
392
|
+
language?: string;
|
|
393
|
+
}): Promise<void>;
|
|
394
|
+
static resetPassword(params: {
|
|
395
|
+
code: string;
|
|
396
|
+
password: string;
|
|
397
|
+
}): Promise<void>;
|
|
398
|
+
static acceptInvitation(params: {
|
|
399
|
+
code: string;
|
|
400
|
+
password: string;
|
|
401
|
+
}): Promise<void>;
|
|
402
|
+
static findToken(params: {
|
|
403
|
+
tokenCode: string;
|
|
404
|
+
}): Promise<AuthInterface>;
|
|
405
|
+
static saveToken(params: {
|
|
406
|
+
dehydratedAuth: JsonApiHydratedDataInterface;
|
|
407
|
+
}): Promise<void>;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Token parameters for authentication cookie management
|
|
412
|
+
*/
|
|
413
|
+
interface TokenParams {
|
|
414
|
+
token?: string;
|
|
415
|
+
refreshToken?: string;
|
|
416
|
+
userId?: string;
|
|
417
|
+
companyId?: string;
|
|
418
|
+
licenseExpirationDate?: Date;
|
|
419
|
+
roles?: string[];
|
|
420
|
+
features?: string[];
|
|
421
|
+
modules?: {
|
|
422
|
+
id: string;
|
|
423
|
+
permissions: {
|
|
424
|
+
create: boolean | string;
|
|
425
|
+
read: boolean | string;
|
|
426
|
+
update: boolean | string;
|
|
427
|
+
delete: boolean | string;
|
|
428
|
+
};
|
|
429
|
+
}[];
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Token handler interface for dependency injection
|
|
433
|
+
* Apps must provide implementations of these functions via configureAuth()
|
|
434
|
+
*/
|
|
435
|
+
interface TokenHandler {
|
|
436
|
+
updateToken: (params: TokenParams) => Promise<void>;
|
|
437
|
+
removeToken: () => Promise<void>;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Configure authentication token handling
|
|
441
|
+
* Call this at app startup to provide Server Actions for cookie management
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* ```typescript
|
|
445
|
+
* import { configureAuth } from "@carlonicora/nextjs-jsonapi/features";
|
|
446
|
+
* import { updateToken, removeToken } from "@/features/auth/utils/AuthCookies";
|
|
447
|
+
*
|
|
448
|
+
* configureAuth({ updateToken, removeToken });
|
|
449
|
+
* ```
|
|
450
|
+
*/
|
|
451
|
+
declare function configureAuth(handler: TokenHandler): void;
|
|
452
|
+
|
|
453
|
+
type NotificationInput = {
|
|
454
|
+
id: string;
|
|
455
|
+
isRead: boolean;
|
|
456
|
+
};
|
|
457
|
+
interface NotificationInterface extends ApiDataInterface {
|
|
458
|
+
get notificationType(): string;
|
|
459
|
+
get isRead(): boolean;
|
|
460
|
+
get actor(): UserInterface | undefined;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
declare class Notification extends AbstractApiData implements NotificationInterface {
|
|
464
|
+
private _notificationType?;
|
|
465
|
+
private _isRead?;
|
|
466
|
+
private _actor?;
|
|
467
|
+
get notificationType(): string;
|
|
468
|
+
get isRead(): boolean;
|
|
469
|
+
get actor(): UserInterface | undefined;
|
|
470
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
471
|
+
createJsonApi(data: NotificationInput): any;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare enum NotificationFields {
|
|
475
|
+
notificationId = "notificationId",
|
|
476
|
+
name = "name",
|
|
477
|
+
createdAt = "createdAt",
|
|
478
|
+
updatedAt = "updatedAt"
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
declare class NotificationService extends AbstractService {
|
|
482
|
+
static findMany(params: {
|
|
483
|
+
isArchived?: boolean;
|
|
484
|
+
next?: NextRef;
|
|
485
|
+
}): Promise<NotificationInterface[]>;
|
|
486
|
+
static markAsRead(params: {
|
|
487
|
+
data: any;
|
|
488
|
+
}): Promise<void>;
|
|
489
|
+
static archive(params: {
|
|
490
|
+
id: string;
|
|
491
|
+
}): Promise<void>;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
declare const NotificationModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
495
|
+
|
|
496
|
+
type PushInput = {
|
|
497
|
+
key: string;
|
|
498
|
+
contentType?: string;
|
|
499
|
+
};
|
|
500
|
+
interface PushInterface extends ApiDataInterface {
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare class Push extends AbstractApiData implements PushInterface {
|
|
504
|
+
createJsonApi(data: PushInput): any;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare class PushService extends AbstractService {
|
|
508
|
+
static register(params: {
|
|
509
|
+
data: any;
|
|
510
|
+
}): Promise<void>;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare const PushModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
514
|
+
|
|
515
|
+
type S3Input = {
|
|
516
|
+
key: string;
|
|
517
|
+
contentType?: string;
|
|
518
|
+
};
|
|
519
|
+
interface S3Interface extends ApiDataInterface {
|
|
520
|
+
get url(): string;
|
|
521
|
+
get headers(): Record<string, string>;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
declare class S3 extends AbstractApiData implements S3Interface {
|
|
525
|
+
private _url?;
|
|
526
|
+
private _storageType?;
|
|
527
|
+
private _contentType?;
|
|
528
|
+
private _blobType?;
|
|
529
|
+
private _acl?;
|
|
530
|
+
get url(): string;
|
|
531
|
+
get headers(): Record<string, string>;
|
|
532
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
533
|
+
createJsonApi(data: S3Input): any;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare class S3Service extends AbstractService {
|
|
537
|
+
static getPreSignedUrl(params: {
|
|
538
|
+
key: string;
|
|
539
|
+
contentType: string;
|
|
540
|
+
isPublic?: boolean;
|
|
541
|
+
}): Promise<S3Interface>;
|
|
542
|
+
static getSignedUrl(params: {
|
|
543
|
+
key: string;
|
|
544
|
+
isPublic?: boolean;
|
|
545
|
+
}): Promise<S3Interface>;
|
|
546
|
+
static deleteFile(params: {
|
|
547
|
+
key: string;
|
|
548
|
+
}): Promise<void>;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
declare const S3Module: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
552
|
+
|
|
553
|
+
export { Auth, type AuthInput, type AuthInterface, AuthModule, type AuthQuery, AuthService, AuthorModule, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, CompanyService, Content, ContentFields, ContentInput, ContentInterface, ContentModule, ContentService, Feature, FeatureInterface, FeatureModule, FeatureService, Module, ModuleInterface, ModuleModule, Notification, NotificationFields, type NotificationInput, type NotificationInterface, NotificationModule, NotificationService, Push, type PushInput, type PushInterface, PushModule, PushService, Role, RoleFields, RoleInput, RoleInterface, RoleModule, RoleService, S3, type S3Input, type S3Interface, S3Module, S3Service, type SearchResultInterface, type TokenHandler, type TokenParams, User, UserFields, UserInput, UserInterface, UserService, configureAuth };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
var _chunkV2JJPI7Njs = require('../chunk-V2JJPI7N.js');
|
|
38
|
+
require('../chunk-H6FMOA6B.js');
|
|
39
|
+
require('../chunk-TMVHSY3Y.js');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
var _chunkAWONBQQPjs = require('../chunk-AWONBQQP.js');
|
|
44
|
+
require('../chunk-A5DDIABK.js');
|
|
45
|
+
require('../chunk-JC3WJK65.js');
|
|
46
|
+
require('../chunk-FY4SXJGU.js');
|
|
47
|
+
require('../chunk-CXQOWQSY.js');
|
|
48
|
+
require('../chunk-6GKHCVF6.js');
|
|
49
|
+
require('../chunk-4HCRAOS5.js');
|
|
50
|
+
require('../chunk-I2REI7OA.js');
|
|
51
|
+
require('../chunk-TEGF6ZWG.js');
|
|
52
|
+
require('../chunk-J4Q36PMP.js');
|
|
53
|
+
require('../chunk-DO2HLAZO.js');
|
|
54
|
+
require('../chunk-7QVYU63E.js');
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
exports.Auth = _chunkV2JJPI7Njs.Auth; exports.AuthModule = _chunkV2JJPI7Njs.AuthModule; exports.AuthService = _chunkV2JJPI7Njs.AuthService; exports.AuthorModule = _chunkV2JJPI7Njs.AuthorModule; exports.Company = _chunkV2JJPI7Njs.Company; exports.CompanyFields = _chunkV2JJPI7Njs.CompanyFields; exports.CompanyModule = _chunkV2JJPI7Njs.CompanyModule; exports.CompanyService = _chunkV2JJPI7Njs.CompanyService; exports.Content = _chunkV2JJPI7Njs.Content; exports.ContentFields = _chunkV2JJPI7Njs.ContentFields; exports.ContentModule = _chunkV2JJPI7Njs.ContentModule; exports.ContentService = _chunkV2JJPI7Njs.ContentService; exports.ContributorsList = _chunkAWONBQQPjs.ContributorsList; exports.Feature = _chunkV2JJPI7Njs.Feature; exports.FeatureModule = _chunkV2JJPI7Njs.FeatureModule; exports.FeatureService = _chunkV2JJPI7Njs.FeatureService; exports.Module = _chunkV2JJPI7Njs.Module; exports.ModuleModule = _chunkV2JJPI7Njs.ModuleModule; exports.Notification = _chunkV2JJPI7Njs.Notification; exports.NotificationFields = _chunkV2JJPI7Njs.NotificationFields; exports.NotificationModule = _chunkV2JJPI7Njs.NotificationModule; exports.NotificationService = _chunkV2JJPI7Njs.NotificationService; exports.Push = _chunkV2JJPI7Njs.Push; exports.PushModule = _chunkV2JJPI7Njs.PushModule; exports.PushService = _chunkV2JJPI7Njs.PushService; exports.Role = _chunkV2JJPI7Njs.Role; exports.RoleFields = _chunkV2JJPI7Njs.RoleFields; exports.RoleModule = _chunkV2JJPI7Njs.RoleModule; exports.RoleService = _chunkV2JJPI7Njs.RoleService; exports.S3 = _chunkV2JJPI7Njs.S3; exports.S3Module = _chunkV2JJPI7Njs.S3Module; exports.S3Service = _chunkV2JJPI7Njs.S3Service; exports.User = _chunkV2JJPI7Njs.User; exports.UserAvatar = _chunkAWONBQQPjs.UserAvatar; exports.UserFields = _chunkV2JJPI7Njs.UserFields; exports.UserService = _chunkV2JJPI7Njs.UserService; exports.configureAuth = _chunkV2JJPI7Njs.configureAuth;
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/features/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u2DAAC","file":"/Users/carlo/Development/phlow2/packages/nextjs-jsonapi/dist/features/index.js"}
|