@dani-builder/strapi-plugin-builder 0.9.0 → 0.10.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/AGENTS.md +4 -3
- package/README.md +10 -2
- package/dist/server/src/content-types/index.d.ts +72 -0
- package/dist/server/src/content-types/index.d.ts.map +1 -1
- package/dist/server/src/content-types/index.js +2 -0
- package/dist/server/src/content-types/index.js.map +1 -1
- package/dist/server/src/content-types/legal-document/index.d.ts +74 -0
- package/dist/server/src/content-types/legal-document/index.d.ts.map +1 -0
- package/dist/server/src/content-types/legal-document/index.js +8 -0
- package/dist/server/src/content-types/legal-document/index.js.map +1 -0
- package/dist/server/src/content-types/legal-document/schema.json +70 -0
- package/dist/server/src/controllers/index.d.ts.map +1 -1
- package/dist/server/src/controllers/index.js +1 -0
- package/dist/server/src/controllers/index.js.map +1 -1
- package/dist/server/src/routes/content-api.d.ts.map +1 -1
- package/dist/server/src/routes/content-api.js +1 -0
- package/dist/server/src/routes/content-api.js.map +1 -1
- package/dist/server/src/services/index.d.ts.map +1 -1
- package/dist/server/src/services/index.js +1 -0
- package/dist/server/src/services/index.js.map +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @dani-builder/strapi-plugin-builder
|
|
2
2
|
|
|
3
|
-
Strapi v5 plugin providing
|
|
3
|
+
Strapi v5 plugin providing 12 content types, 31 components, and smart API endpoints for a page builder CMS. Installed as a Strapi plugin — not used standalone.
|
|
4
4
|
|
|
5
5
|
## Installation & Setup
|
|
6
6
|
|
|
@@ -20,13 +20,14 @@ export default () => ({
|
|
|
20
20
|
types and their core REST routes; copied schemas duplicate collection names and
|
|
21
21
|
prevent Strapi from booting.
|
|
22
22
|
|
|
23
|
-
## Content Types (
|
|
23
|
+
## Content Types (12)
|
|
24
24
|
|
|
25
|
-
### Collection Types (
|
|
25
|
+
### Collection Types (9)
|
|
26
26
|
|
|
27
27
|
| singularName | pluralName | REST endpoint | draftAndPublish | i18n |
|
|
28
28
|
|---|---|---|---|---|
|
|
29
29
|
| page | pages | `api/builder/pages` | true | yes |
|
|
30
|
+
| legal-document | legal-documents | `api/builder/legal-documents` | true | yes |
|
|
30
31
|
| article | articles | `api/builder/articles` | true | yes |
|
|
31
32
|
| faq | faqs | `api/builder/faqs` | true | yes |
|
|
32
33
|
| category | categories | `api/builder/categories` | false | yes |
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @dani-builder/strapi-plugin-builder
|
|
2
2
|
|
|
3
|
-
Reusable CMS building blocks for **Strapi v5** —
|
|
3
|
+
Reusable CMS building blocks for **Strapi v5** — 12 content types, 31 block/element
|
|
4
4
|
components, and a "smart API" that returns fully deep-populated pages and globals
|
|
5
5
|
in a single request. Powers the [Daniworks Builder](https://github.com/HJ-company/daniworks-builder-v2)
|
|
6
6
|
block-based site builder.
|
|
@@ -72,11 +72,19 @@ or replace it.
|
|
|
72
72
|
|
|
73
73
|
## Plugin-owned content types
|
|
74
74
|
|
|
75
|
-
The plugin directly registers all
|
|
75
|
+
The plugin directly registers all 12 content types as `plugin::builder.*`.
|
|
76
76
|
Do not copy schemas into a consumer's `src/api` directory: that would create
|
|
77
77
|
conflicting `collectionName` registrations. Core REST endpoints are available
|
|
78
78
|
under `/api/builder/*`.
|
|
79
79
|
|
|
80
|
+
Legal Document (`plugin::builder.legal-document`) stores standalone localized content with
|
|
81
|
+
required `title`, `slug`, and Blocks-editor `body`, plus optional `summary` and
|
|
82
|
+
`effectiveDate`. Use `GET /api/builder/legal-documents?filters[slug][$eq]=privacy-policy&locale=en`
|
|
83
|
+
to find a published document; an unknown slug returns an empty `data` array.
|
|
84
|
+
Configure Content API token or role permissions explicitly; the plugin does not
|
|
85
|
+
automatically grant public access. Setup samples are in the
|
|
86
|
+
[CMS content guide](https://github.com/HJ-company/daniworks-builder-v2/blob/main/docs/guides/cms-content.md#standalone-legal-document-setup-samples).
|
|
87
|
+
|
|
80
88
|
The `inquiry` endpoint is write-only (`POST /api/builder/inquiries`) and IP
|
|
81
89
|
rate-limited so submitter PII cannot be listed over the public API.
|
|
82
90
|
|
|
@@ -266,6 +266,78 @@ declare const _default: {
|
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
+
'legal-document': {
|
|
270
|
+
schema: {
|
|
271
|
+
kind: string;
|
|
272
|
+
collectionName: string;
|
|
273
|
+
info: {
|
|
274
|
+
singularName: string;
|
|
275
|
+
pluralName: string;
|
|
276
|
+
displayName: string;
|
|
277
|
+
description: string;
|
|
278
|
+
};
|
|
279
|
+
options: {
|
|
280
|
+
draftAndPublish: boolean;
|
|
281
|
+
};
|
|
282
|
+
pluginOptions: {
|
|
283
|
+
i18n: {
|
|
284
|
+
localized: boolean;
|
|
285
|
+
};
|
|
286
|
+
"content-manager": {
|
|
287
|
+
visible: boolean;
|
|
288
|
+
};
|
|
289
|
+
"content-type-builder": {
|
|
290
|
+
visible: boolean;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
attributes: {
|
|
294
|
+
title: {
|
|
295
|
+
type: string;
|
|
296
|
+
required: boolean;
|
|
297
|
+
pluginOptions: {
|
|
298
|
+
i18n: {
|
|
299
|
+
localized: boolean;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
slug: {
|
|
304
|
+
type: string;
|
|
305
|
+
targetField: string;
|
|
306
|
+
required: boolean;
|
|
307
|
+
pluginOptions: {
|
|
308
|
+
i18n: {
|
|
309
|
+
localized: boolean;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
summary: {
|
|
314
|
+
type: string;
|
|
315
|
+
pluginOptions: {
|
|
316
|
+
i18n: {
|
|
317
|
+
localized: boolean;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
body: {
|
|
322
|
+
type: string;
|
|
323
|
+
required: boolean;
|
|
324
|
+
pluginOptions: {
|
|
325
|
+
i18n: {
|
|
326
|
+
localized: boolean;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
effectiveDate: {
|
|
331
|
+
type: string;
|
|
332
|
+
pluginOptions: {
|
|
333
|
+
i18n: {
|
|
334
|
+
localized: boolean;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
269
341
|
faq: {
|
|
270
342
|
schema: {
|
|
271
343
|
kind: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAaE"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const article_1 = __importDefault(require("./article"));
|
|
7
7
|
const author_1 = __importDefault(require("./author"));
|
|
8
8
|
const category_1 = __importDefault(require("./category"));
|
|
9
|
+
const legal_document_1 = __importDefault(require("./legal-document"));
|
|
9
10
|
const faq_1 = __importDefault(require("./faq"));
|
|
10
11
|
const global_1 = __importDefault(require("./global"));
|
|
11
12
|
const inquiry_1 = __importDefault(require("./inquiry"));
|
|
@@ -18,6 +19,7 @@ exports.default = {
|
|
|
18
19
|
article: article_1.default,
|
|
19
20
|
author: author_1.default,
|
|
20
21
|
category: category_1.default,
|
|
22
|
+
'legal-document': legal_document_1.default,
|
|
21
23
|
faq: faq_1.default,
|
|
22
24
|
global: global_1.default,
|
|
23
25
|
inquiry: inquiry_1.default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAChC,sDAA8B;AAC9B,0DAAkC;AAClC,gDAAwB;AACxB,sDAA8B;AAC9B,wDAAgC;AAChC,8DAAsC;AACtC,kDAA0B;AAC1B,sDAA8B;AAC9B,kEAAyC;AACzC,gDAAwB;AAExB,kBAAe;IACb,OAAO,EAAP,iBAAO;IACP,MAAM,EAAN,gBAAM;IACN,QAAQ,EAAR,kBAAQ;IACR,GAAG,EAAH,aAAG;IACH,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,UAAU,EAAV,oBAAU;IACV,IAAI,EAAJ,cAAI;IACJ,MAAM,EAAN,gBAAM;IACN,cAAc,EAAE,sBAAW;IAC3B,GAAG,EAAH,aAAG;CACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAChC,sDAA8B;AAC9B,0DAAkC;AAClC,sEAA6C;AAC7C,gDAAwB;AACxB,sDAA8B;AAC9B,wDAAgC;AAChC,8DAAsC;AACtC,kDAA0B;AAC1B,sDAA8B;AAC9B,kEAAyC;AACzC,gDAAwB;AAExB,kBAAe;IACb,OAAO,EAAP,iBAAO;IACP,MAAM,EAAN,gBAAM;IACN,QAAQ,EAAR,kBAAQ;IACR,gBAAgB,EAAE,wBAAa;IAC/B,GAAG,EAAH,aAAG;IACH,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,UAAU,EAAV,oBAAU;IACV,IAAI,EAAJ,cAAI;IACJ,MAAM,EAAN,gBAAM;IACN,cAAc,EAAE,sBAAW;IAC3B,GAAG,EAAH,aAAG;CACJ,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
schema: {
|
|
3
|
+
kind: string;
|
|
4
|
+
collectionName: string;
|
|
5
|
+
info: {
|
|
6
|
+
singularName: string;
|
|
7
|
+
pluralName: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
options: {
|
|
12
|
+
draftAndPublish: boolean;
|
|
13
|
+
};
|
|
14
|
+
pluginOptions: {
|
|
15
|
+
i18n: {
|
|
16
|
+
localized: boolean;
|
|
17
|
+
};
|
|
18
|
+
"content-manager": {
|
|
19
|
+
visible: boolean;
|
|
20
|
+
};
|
|
21
|
+
"content-type-builder": {
|
|
22
|
+
visible: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
attributes: {
|
|
26
|
+
title: {
|
|
27
|
+
type: string;
|
|
28
|
+
required: boolean;
|
|
29
|
+
pluginOptions: {
|
|
30
|
+
i18n: {
|
|
31
|
+
localized: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
slug: {
|
|
36
|
+
type: string;
|
|
37
|
+
targetField: string;
|
|
38
|
+
required: boolean;
|
|
39
|
+
pluginOptions: {
|
|
40
|
+
i18n: {
|
|
41
|
+
localized: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
summary: {
|
|
46
|
+
type: string;
|
|
47
|
+
pluginOptions: {
|
|
48
|
+
i18n: {
|
|
49
|
+
localized: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
body: {
|
|
54
|
+
type: string;
|
|
55
|
+
required: boolean;
|
|
56
|
+
pluginOptions: {
|
|
57
|
+
i18n: {
|
|
58
|
+
localized: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
effectiveDate: {
|
|
63
|
+
type: string;
|
|
64
|
+
pluginOptions: {
|
|
65
|
+
i18n: {
|
|
66
|
+
localized: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export default _default;
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/legal-document/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAA0B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const schema_json_1 = __importDefault(require("./schema.json"));
|
|
7
|
+
exports.default = { schema: schema_json_1.default };
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../server/src/content-types/legal-document/index.ts"],"names":[],"mappings":";;;;;AAAA,gEAAmC;AAEnC,kBAAe,EAAE,MAAM,EAAN,qBAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "collectionType",
|
|
3
|
+
"collectionName": "builder_legal_documents",
|
|
4
|
+
"info": {
|
|
5
|
+
"singularName": "legal-document",
|
|
6
|
+
"pluralName": "legal-documents",
|
|
7
|
+
"displayName": "Legal Document",
|
|
8
|
+
"description": "Standalone document with a localized rich text body"
|
|
9
|
+
},
|
|
10
|
+
"options": {
|
|
11
|
+
"draftAndPublish": true
|
|
12
|
+
},
|
|
13
|
+
"pluginOptions": {
|
|
14
|
+
"i18n": {
|
|
15
|
+
"localized": true
|
|
16
|
+
},
|
|
17
|
+
"content-manager": {
|
|
18
|
+
"visible": true
|
|
19
|
+
},
|
|
20
|
+
"content-type-builder": {
|
|
21
|
+
"visible": true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"attributes": {
|
|
25
|
+
"title": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"required": true,
|
|
28
|
+
"pluginOptions": {
|
|
29
|
+
"i18n": {
|
|
30
|
+
"localized": true
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"slug": {
|
|
35
|
+
"type": "uid",
|
|
36
|
+
"targetField": "title",
|
|
37
|
+
"required": true,
|
|
38
|
+
"pluginOptions": {
|
|
39
|
+
"i18n": {
|
|
40
|
+
"localized": true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"summary": {
|
|
45
|
+
"type": "text",
|
|
46
|
+
"pluginOptions": {
|
|
47
|
+
"i18n": {
|
|
48
|
+
"localized": true
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"body": {
|
|
53
|
+
"type": "blocks",
|
|
54
|
+
"required": true,
|
|
55
|
+
"pluginOptions": {
|
|
56
|
+
"i18n": {
|
|
57
|
+
"localized": true
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"effectiveDate": {
|
|
62
|
+
"type": "date",
|
|
63
|
+
"pluginOptions": {
|
|
64
|
+
"i18n": {
|
|
65
|
+
"localized": true
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAkBxC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -11,6 +11,7 @@ const controllers = {
|
|
|
11
11
|
article: strapi_1.factories.createCoreController('plugin::builder.article'),
|
|
12
12
|
author: strapi_1.factories.createCoreController('plugin::builder.author'),
|
|
13
13
|
category: strapi_1.factories.createCoreController('plugin::builder.category'),
|
|
14
|
+
'legal-document': strapi_1.factories.createCoreController('plugin::builder.legal-document'),
|
|
14
15
|
faq: strapi_1.factories.createCoreController('plugin::builder.faq'),
|
|
15
16
|
page: page_1.default,
|
|
16
17
|
global: global_1.default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAA2C;AAC3C,kDAA0B;AAC1B,sDAA8B;AAC9B,wDAAgC;AAEhC,MAAM,WAAW,GAA4B;IAC3C,OAAO,EAAE,kBAAS,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;IAClE,MAAM,EAAE,kBAAS,CAAC,oBAAoB,CAAC,wBAAwB,CAAC;IAChE,QAAQ,EAAE,kBAAS,CAAC,oBAAoB,CAAC,0BAA0B,CAAC;IACpE,GAAG,EAAE,kBAAS,CAAC,oBAAoB,CAAC,qBAAqB,CAAC;IAC1D,IAAI,EAAJ,cAAI;IACJ,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,kBAAS,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;IAClE,UAAU,EAAE,kBAAS,CAAC,oBAAoB,CAAC,4BAA4B,CAAC;IACxE,MAAM,EAAE,kBAAS,CAAC,oBAAoB,CAAC,wBAAwB,CAAC;IAChE,cAAc,EAAE,kBAAS,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAA2C;AAC3C,kDAA0B;AAC1B,sDAA8B;AAC9B,wDAAgC;AAEhC,MAAM,WAAW,GAA4B;IAC3C,OAAO,EAAE,kBAAS,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;IAClE,MAAM,EAAE,kBAAS,CAAC,oBAAoB,CAAC,wBAAwB,CAAC;IAChE,QAAQ,EAAE,kBAAS,CAAC,oBAAoB,CAAC,0BAA0B,CAAC;IACpE,gBAAgB,EAAE,kBAAS,CAAC,oBAAoB,CAC9C,gCAAgC,CACjC;IACD,GAAG,EAAE,kBAAS,CAAC,oBAAoB,CAAC,qBAAqB,CAAC;IAC1D,IAAI,EAAJ,cAAI;IACJ,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,kBAAS,CAAC,oBAAoB,CAAC,yBAAyB,CAAC;IAClE,UAAU,EAAE,kBAAS,CAAC,oBAAoB,CAAC,4BAA4B,CAAC;IACxE,MAAM,EAAE,kBAAS,CAAC,oBAAoB,CAAC,wBAAwB,CAAC;IAChE,cAAc,EAAE,kBAAS,CAAC,oBAAoB,CAC5C,8BAA8B,CAC/B;IACD,GAAG,EAAE,kBAAS,CAAC,oBAAoB,CAAC,qBAAqB,CAAC;CAC3D,CAAC;AAEF,kBAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-api.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/content-api.ts"],"names":[],"mappings":"AAEA,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"content-api.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/content-api.ts"],"names":[],"mappings":"AAEA,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B;AA8BD,QAAA,MAAM,UAAU,EAAE,gBAkBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-api.js","sourceRoot":"","sources":["../../../../server/src/routes/content-api.ts"],"names":[],"mappings":";;AAAA,2CAA2C;AAY3C,MAAM,YAAY,GAAG;IACnB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0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","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAgBrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -9,6 +9,7 @@ const services = {
|
|
|
9
9
|
article: strapi_1.factories.createCoreService('plugin::builder.article'),
|
|
10
10
|
author: strapi_1.factories.createCoreService('plugin::builder.author'),
|
|
11
11
|
category: strapi_1.factories.createCoreService('plugin::builder.category'),
|
|
12
|
+
'legal-document': strapi_1.factories.createCoreService('plugin::builder.legal-document'),
|
|
12
13
|
faq: strapi_1.factories.createCoreService('plugin::builder.faq'),
|
|
13
14
|
global: strapi_1.factories.createCoreService('plugin::builder.global'),
|
|
14
15
|
inquiry: strapi_1.factories.createCoreService('plugin::builder.inquiry'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAA2C;AAC3C,0DAAkC;AAElC,MAAM,QAAQ,GAA4B;IACxC,OAAO,EAAE,kBAAS,CAAC,iBAAiB,CAAC,yBAAyB,CAAC;IAC/D,MAAM,EAAE,kBAAS,CAAC,iBAAiB,CAAC,wBAAwB,CAAC;IAC7D,QAAQ,EAAE,kBAAS,CAAC,iBAAiB,CAAC,0BAA0B,CAAC;IACjE,GAAG,EAAE,kBAAS,CAAC,iBAAiB,CAAC,qBAAqB,CAAC;IACvD,MAAM,EAAE,kBAAS,CAAC,iBAAiB,CAAC,wBAAwB,CAAC;IAC7D,OAAO,EAAE,kBAAS,CAAC,iBAAiB,CAAC,yBAAyB,CAAC;IAC/D,UAAU,EAAE,kBAAS,CAAC,iBAAiB,CAAC,4BAA4B,CAAC;IACrE,IAAI,EAAE,kBAAS,CAAC,iBAAiB,CAAC,sBAAsB,CAAC;IACzD,QAAQ,EAAR,kBAAQ;IACR,MAAM,EAAE,kBAAS,CAAC,iBA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