@carlonicora/nextjs-jsonapi 5.3.0 → 5.4.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/dist/{BlockNoteEditor-UJ6363LC.js → BlockNoteEditor-4YCAIEPT.js} +23 -22
- package/dist/BlockNoteEditor-4YCAIEPT.js.map +1 -0
- package/dist/{BlockNoteEditor-WTSQANKI.mjs → BlockNoteEditor-YQL2SGFR.mjs} +8 -7
- package/dist/BlockNoteEditor-YQL2SGFR.mjs.map +1 -0
- package/dist/{BlockNoteViewer-JVKWJZ6J.mjs → BlockNoteViewer-AEJKJ27Q.mjs} +2 -2
- package/dist/{BlockNoteViewer-EL4JFB6P.js → BlockNoteViewer-YL3J7J2Y.js} +3 -3
- package/dist/{BlockNoteViewer-EL4JFB6P.js.map → BlockNoteViewer-YL3J7J2Y.js.map} +1 -1
- package/dist/BlogCategoryFields-DO48vOTE.d.mts +14 -0
- package/dist/BlogCategoryFields-DO48vOTE.d.ts +14 -0
- package/dist/BlogPostInterface-BB_4wcDR.d.mts +124 -0
- package/dist/BlogPostInterface-bWAT1rfR.d.ts +124 -0
- package/dist/billing/index.js +441 -441
- package/dist/billing/index.mjs +3 -3
- package/dist/blog-public.types-BbrzsC1c.d.mts +30 -0
- package/dist/blog-public.types-BbrzsC1c.d.ts +30 -0
- package/dist/{chunk-3BAM23VA.js → chunk-3NLAXVIN.js} +860 -849
- package/dist/chunk-3NLAXVIN.js.map +1 -0
- package/dist/{chunk-QKZUE5OF.mjs → chunk-3YW35YHQ.mjs} +1 -101
- package/dist/chunk-3YW35YHQ.mjs.map +1 -0
- package/dist/{chunk-QQQE3N2X.js → chunk-5PPG6PL7.js} +3 -3
- package/dist/{chunk-QQQE3N2X.js.map → chunk-5PPG6PL7.js.map} +1 -1
- package/dist/{chunk-FNTQQFLH.mjs → chunk-6DC2WVVB.mjs} +2 -2
- package/dist/{chunk-MIZTWBPX.mjs → chunk-EUKTBOI2.mjs} +19 -8
- package/dist/chunk-EUKTBOI2.mjs.map +1 -0
- package/dist/{chunk-XGTQWBDJ.js → chunk-KSYQEKJX.js} +11 -111
- package/dist/chunk-KSYQEKJX.js.map +1 -0
- package/dist/{chunk-CRI4T47Y.js → chunk-NFBOSPNJ.js} +756 -41
- package/dist/chunk-NFBOSPNJ.js.map +1 -0
- package/dist/{chunk-6WU74VFU.mjs → chunk-QMYQRPQC.mjs} +2 -2
- package/dist/{chunk-JQWI62NV.mjs → chunk-WC63PJSC.mjs} +716 -1
- package/dist/chunk-WC63PJSC.mjs.map +1 -0
- package/dist/chunk-XCHSX3VC.mjs +107 -0
- package/dist/chunk-XCHSX3VC.mjs.map +1 -0
- package/dist/{chunk-EO75CV76.js → chunk-YNCQSWQW.js} +8 -8
- package/dist/{chunk-EO75CV76.js.map → chunk-YNCQSWQW.js.map} +1 -1
- package/dist/chunk-YW4ZCEWB.js +107 -0
- package/dist/chunk-YW4ZCEWB.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +13 -2
- package/dist/components/index.d.ts +13 -2
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +214 -3
- package/dist/core/index.d.ts +214 -3
- package/dist/core/index.js +36 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +35 -1
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.js +122 -122
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +6 -5
- package/dist/features/analytics/server.js.map +1 -1
- package/dist/features/analytics/server.mjs +4 -3
- package/dist/features/analytics/server.mjs.map +1 -1
- package/dist/features/blog/index.css +30 -0
- package/dist/features/blog/index.css.map +1 -0
- package/dist/features/blog/index.d.mts +266 -0
- package/dist/features/blog/index.d.ts +266 -0
- package/dist/features/blog/index.js +1799 -0
- package/dist/features/blog/index.js.map +1 -0
- package/dist/features/blog/index.mjs +1799 -0
- package/dist/features/blog/index.mjs.map +1 -0
- package/dist/features/blog/server.d.mts +33 -0
- package/dist/features/blog/server.d.ts +33 -0
- package/dist/features/blog/server.js +139 -0
- package/dist/features/blog/server.js.map +1 -0
- package/dist/features/blog/server.mjs +139 -0
- package/dist/features/blog/server.mjs.map +1 -0
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +37 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -2
- package/dist/{s3.service-CY-jgOAM.d.ts → s3.service-Bz_K-tjz.d.ts} +11 -0
- package/dist/{s3.service-Sri0QP7Z.d.mts → s3.service-D5zNCEW3.d.mts} +11 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +8 -6
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +12 -10
- package/messages/en.json +93 -0
- package/messages/it.json +93 -0
- package/package.json +11 -1
- package/src/components/editors/BlockNoteEditor.tsx +13 -3
- package/src/components/forms/FormBlockNote.tsx +4 -0
- package/src/components/navigations/ContentTitle.tsx +14 -3
- package/src/core/index.ts +4 -0
- package/src/core/registry/ModuleRegistry.ts +6 -0
- package/src/features/blog/BlogModules.ts +49 -0
- package/src/features/blog/components/admin/BlogAdminContainer.tsx +32 -0
- package/src/features/blog/components/admin/BlogCategoriesList.tsx +56 -0
- package/src/features/blog/components/admin/BlogCategoryEditor.tsx +230 -0
- package/src/features/blog/components/admin/BlogCoverImageField.tsx +123 -0
- package/src/features/blog/components/admin/BlogLayoutSetting.tsx +86 -0
- package/src/features/blog/components/admin/BlogPostComparison.tsx +54 -0
- package/src/features/blog/components/admin/BlogPostContainer.tsx +102 -0
- package/src/features/blog/components/admin/BlogPostDeleter.tsx +35 -0
- package/src/features/blog/components/admin/BlogPostEditor.tsx +207 -0
- package/src/features/blog/components/admin/BlogPostPublishButton.tsx +50 -0
- package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +110 -0
- package/src/features/blog/components/admin/BlogPostTranslationPanel.tsx +136 -0
- package/src/features/blog/components/admin/BlogPostsList.tsx +58 -0
- package/src/features/blog/components/admin/BlogTranslationStatus.tsx +104 -0
- package/src/features/blog/components/admin/__tests__/BlogPostTranslationPanel.spec.tsx +100 -0
- package/src/features/blog/components/admin/__tests__/BlogPostsList.spec.tsx +30 -0
- package/src/features/blog/components/admin/index.ts +14 -0
- package/src/features/blog/components/public/BlogCategoryChips.tsx +59 -0
- package/src/features/blog/components/public/BlogList.tsx +21 -0
- package/src/features/blog/components/public/BlogListColumn.tsx +53 -0
- package/src/features/blog/components/public/BlogListFeatured.tsx +57 -0
- package/src/features/blog/components/public/BlogListParts.tsx +74 -0
- package/src/features/blog/components/public/BlogListRail.tsx +62 -0
- package/src/features/blog/components/public/BlogPostCard.tsx +132 -0
- package/src/features/blog/components/public/BlogPostMeta.tsx +49 -0
- package/src/features/blog/components/public/BlogPostView.tsx +74 -0
- package/src/features/blog/components/public/BlogSearchBox.tsx +52 -0
- package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +173 -0
- package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +128 -0
- package/src/features/blog/components/public/blogPublicHelpers.ts +30 -0
- package/src/features/blog/components/public/index.ts +3 -0
- package/src/features/blog/contexts/BlogPostContext.tsx +66 -0
- package/src/features/blog/contexts/index.ts +1 -0
- package/src/features/blog/data/BlogCategory.ts +93 -0
- package/src/features/blog/data/BlogCategoryFields.ts +4 -0
- package/src/features/blog/data/BlogCategoryInterface.ts +24 -0
- package/src/features/blog/data/BlogCategoryService.ts +54 -0
- package/src/features/blog/data/BlogCategoryTranslation.ts +90 -0
- package/src/features/blog/data/BlogCategoryTranslationInterface.ts +22 -0
- package/src/features/blog/data/BlogCategoryTranslationService.ts +30 -0
- package/src/features/blog/data/BlogPost.spec.ts +123 -0
- package/src/features/blog/data/BlogPost.ts +159 -0
- package/src/features/blog/data/BlogPostFields.ts +7 -0
- package/src/features/blog/data/BlogPostInterface.ts +39 -0
- package/src/features/blog/data/BlogPostService.ts +82 -0
- package/src/features/blog/data/BlogPostTranslation.spec.ts +73 -0
- package/src/features/blog/data/BlogPostTranslation.ts +110 -0
- package/src/features/blog/data/BlogPostTranslationInterface.ts +27 -0
- package/src/features/blog/data/BlogPostTranslationService.ts +30 -0
- package/src/features/blog/data/BlogSettings.ts +37 -0
- package/src/features/blog/data/BlogSettingsInterface.ts +11 -0
- package/src/features/blog/data/BlogSettingsService.ts +24 -0
- package/src/features/blog/data/index.ts +17 -0
- package/src/features/blog/hooks/index.ts +3 -0
- package/src/features/blog/hooks/useBlogCategoryNames.ts +34 -0
- package/src/features/blog/hooks/useBlogCategoryTableStructure.tsx +84 -0
- package/src/features/blog/hooks/useBlogPostTableStructure.tsx +126 -0
- package/src/features/blog/index.ts +15 -0
- package/src/features/blog/server/fetchers.ts +120 -0
- package/src/features/blog/server/toPublic.spec.ts +91 -0
- package/src/features/blog/server/toPublic.ts +36 -0
- package/src/features/blog/server-entry.ts +17 -0
- package/src/features/blog/types/blog-public.types.ts +34 -0
- package/src/features/blog/types/blog.constants.ts +40 -0
- package/src/features/s3/data/s3.service.ts +17 -0
- package/dist/BlockNoteEditor-UJ6363LC.js.map +0 -1
- package/dist/BlockNoteEditor-WTSQANKI.mjs.map +0 -1
- package/dist/chunk-3BAM23VA.js.map +0 -1
- package/dist/chunk-CRI4T47Y.js.map +0 -1
- package/dist/chunk-JQWI62NV.mjs.map +0 -1
- package/dist/chunk-MIZTWBPX.mjs.map +0 -1
- package/dist/chunk-QKZUE5OF.mjs.map +0 -1
- package/dist/chunk-XGTQWBDJ.js.map +0 -1
- /package/dist/{BlockNoteViewer-JVKWJZ6J.mjs.map → BlockNoteViewer-AEJKJ27Q.mjs.map} +0 -0
- /package/dist/{chunk-FNTQQFLH.mjs.map → chunk-6DC2WVVB.mjs.map} +0 -0
- /package/dist/{chunk-6WU74VFU.mjs.map → chunk-QMYQRPQC.mjs.map} +0 -0
|
@@ -6711,6 +6711,679 @@ var EmailAutomationEnrollmentFields = /* @__PURE__ */ ((EmailAutomationEnrollmen
|
|
|
6711
6711
|
return EmailAutomationEnrollmentFields2;
|
|
6712
6712
|
})(EmailAutomationEnrollmentFields || {});
|
|
6713
6713
|
|
|
6714
|
+
// src/features/blog/BlogModules.ts
|
|
6715
|
+
|
|
6716
|
+
|
|
6717
|
+
// src/features/blog/data/BlogCategory.ts
|
|
6718
|
+
var BlogCategory = class extends AbstractApiData {
|
|
6719
|
+
static {
|
|
6720
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategory");
|
|
6721
|
+
}
|
|
6722
|
+
|
|
6723
|
+
|
|
6724
|
+
|
|
6725
|
+
|
|
6726
|
+
|
|
6727
|
+
|
|
6728
|
+
|
|
6729
|
+
get originalLanguage() {
|
|
6730
|
+
return _nullishCoalesce(this._originalLanguage, () => ( ""));
|
|
6731
|
+
}
|
|
6732
|
+
get image() {
|
|
6733
|
+
return this._image;
|
|
6734
|
+
}
|
|
6735
|
+
get translations() {
|
|
6736
|
+
return _nullishCoalesce(this._translations, () => ( []));
|
|
6737
|
+
}
|
|
6738
|
+
get original() {
|
|
6739
|
+
return this.translations.find((translation) => translation.isOriginal);
|
|
6740
|
+
}
|
|
6741
|
+
get language() {
|
|
6742
|
+
return this._language;
|
|
6743
|
+
}
|
|
6744
|
+
get name() {
|
|
6745
|
+
return this._name;
|
|
6746
|
+
}
|
|
6747
|
+
get slug() {
|
|
6748
|
+
return this._slug;
|
|
6749
|
+
}
|
|
6750
|
+
get description() {
|
|
6751
|
+
return this._description;
|
|
6752
|
+
}
|
|
6753
|
+
rehydrate(data) {
|
|
6754
|
+
super.rehydrate(data);
|
|
6755
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6756
|
+
const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
|
|
6757
|
+
const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
|
|
6758
|
+
this._originalLanguage = attributes.originalLanguage;
|
|
6759
|
+
this._image = _nullishCoalesce(attributes.image, () => ( void 0));
|
|
6760
|
+
this._language = resolved("language");
|
|
6761
|
+
this._name = resolved("name");
|
|
6762
|
+
this._slug = resolved("slug");
|
|
6763
|
+
this._description = resolved("description");
|
|
6764
|
+
this._translations = this._readIncluded(
|
|
6765
|
+
data,
|
|
6766
|
+
"translations",
|
|
6767
|
+
Modules.BlogCategoryTranslation
|
|
6768
|
+
);
|
|
6769
|
+
return this;
|
|
6770
|
+
}
|
|
6771
|
+
createJsonApi(data) {
|
|
6772
|
+
const response = {
|
|
6773
|
+
data: {
|
|
6774
|
+
type: Modules.BlogCategory.name,
|
|
6775
|
+
id: data.id,
|
|
6776
|
+
attributes: {},
|
|
6777
|
+
meta: {},
|
|
6778
|
+
relationships: {}
|
|
6779
|
+
},
|
|
6780
|
+
included: []
|
|
6781
|
+
};
|
|
6782
|
+
if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
|
|
6783
|
+
if (data.name !== void 0) response.data.attributes.name = data.name;
|
|
6784
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6785
|
+
if (data.description !== void 0) response.data.attributes.description = data.description;
|
|
6786
|
+
if (data.image !== void 0) response.data.attributes.image = data.image;
|
|
6787
|
+
return response;
|
|
6788
|
+
}
|
|
6789
|
+
};
|
|
6790
|
+
|
|
6791
|
+
// src/features/blog/data/BlogCategoryTranslation.ts
|
|
6792
|
+
var BlogCategoryTranslation = class extends AbstractApiData {
|
|
6793
|
+
static {
|
|
6794
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslation");
|
|
6795
|
+
}
|
|
6796
|
+
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
|
|
6800
|
+
|
|
6801
|
+
|
|
6802
|
+
|
|
6803
|
+
|
|
6804
|
+
|
|
6805
|
+
get language() {
|
|
6806
|
+
return _nullishCoalesce(this._language, () => ( ""));
|
|
6807
|
+
}
|
|
6808
|
+
get isOriginal() {
|
|
6809
|
+
return _nullishCoalesce(this._isOriginal, () => ( false));
|
|
6810
|
+
}
|
|
6811
|
+
get source() {
|
|
6812
|
+
return _nullishCoalesce(this._source, () => ( "ai"));
|
|
6813
|
+
}
|
|
6814
|
+
get aiStatus() {
|
|
6815
|
+
return _nullishCoalesce(this._aiStatus, () => ( "pending"));
|
|
6816
|
+
}
|
|
6817
|
+
get name() {
|
|
6818
|
+
return _nullishCoalesce(this._name, () => ( ""));
|
|
6819
|
+
}
|
|
6820
|
+
get slug() {
|
|
6821
|
+
return _nullishCoalesce(this._slug, () => ( ""));
|
|
6822
|
+
}
|
|
6823
|
+
get description() {
|
|
6824
|
+
return this._description;
|
|
6825
|
+
}
|
|
6826
|
+
get translatedAt() {
|
|
6827
|
+
return this._translatedAt;
|
|
6828
|
+
}
|
|
6829
|
+
get category() {
|
|
6830
|
+
return this._category;
|
|
6831
|
+
}
|
|
6832
|
+
rehydrate(data) {
|
|
6833
|
+
super.rehydrate(data);
|
|
6834
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6835
|
+
this._language = attributes.language;
|
|
6836
|
+
this._isOriginal = attributes.isOriginal === true;
|
|
6837
|
+
this._source = attributes.source;
|
|
6838
|
+
this._aiStatus = attributes.aiStatus;
|
|
6839
|
+
this._name = _nullishCoalesce(attributes.name, () => ( void 0));
|
|
6840
|
+
this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
|
|
6841
|
+
this._description = _nullishCoalesce(attributes.description, () => ( void 0));
|
|
6842
|
+
this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
|
|
6843
|
+
this._category = this._readIncluded(data, "category", Modules.BlogCategory);
|
|
6844
|
+
return this;
|
|
6845
|
+
}
|
|
6846
|
+
createJsonApi(data) {
|
|
6847
|
+
const response = {
|
|
6848
|
+
data: {
|
|
6849
|
+
type: Modules.BlogCategoryTranslation.name,
|
|
6850
|
+
id: data.id,
|
|
6851
|
+
attributes: {},
|
|
6852
|
+
meta: {},
|
|
6853
|
+
relationships: {}
|
|
6854
|
+
},
|
|
6855
|
+
included: []
|
|
6856
|
+
};
|
|
6857
|
+
if (data.name !== void 0) response.data.attributes.name = data.name;
|
|
6858
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6859
|
+
if (data.description !== void 0) response.data.attributes.description = data.description;
|
|
6860
|
+
return response;
|
|
6861
|
+
}
|
|
6862
|
+
};
|
|
6863
|
+
|
|
6864
|
+
// src/features/blog/data/BlogPost.ts
|
|
6865
|
+
var BlogPost = class extends AbstractApiData {
|
|
6866
|
+
static {
|
|
6867
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPost");
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
|
|
6871
|
+
|
|
6872
|
+
|
|
6873
|
+
|
|
6874
|
+
|
|
6875
|
+
|
|
6876
|
+
|
|
6877
|
+
|
|
6878
|
+
|
|
6879
|
+
|
|
6880
|
+
|
|
6881
|
+
|
|
6882
|
+
|
|
6883
|
+
|
|
6884
|
+
|
|
6885
|
+
get status() {
|
|
6886
|
+
return _nullishCoalesce(this._status, () => ( "draft"));
|
|
6887
|
+
}
|
|
6888
|
+
get originalLanguage() {
|
|
6889
|
+
return _nullishCoalesce(this._originalLanguage, () => ( ""));
|
|
6890
|
+
}
|
|
6891
|
+
get coverImage() {
|
|
6892
|
+
return this._coverImage;
|
|
6893
|
+
}
|
|
6894
|
+
get publishedAt() {
|
|
6895
|
+
return this._publishedAt;
|
|
6896
|
+
}
|
|
6897
|
+
get author() {
|
|
6898
|
+
return this._author;
|
|
6899
|
+
}
|
|
6900
|
+
get categories() {
|
|
6901
|
+
return _nullishCoalesce(this._categories, () => ( []));
|
|
6902
|
+
}
|
|
6903
|
+
get translations() {
|
|
6904
|
+
return _nullishCoalesce(this._translations, () => ( []));
|
|
6905
|
+
}
|
|
6906
|
+
get original() {
|
|
6907
|
+
return this.translations.find((translation) => translation.isOriginal);
|
|
6908
|
+
}
|
|
6909
|
+
get language() {
|
|
6910
|
+
return this._language;
|
|
6911
|
+
}
|
|
6912
|
+
get title() {
|
|
6913
|
+
return this._title;
|
|
6914
|
+
}
|
|
6915
|
+
get slug() {
|
|
6916
|
+
return this._slug;
|
|
6917
|
+
}
|
|
6918
|
+
get summary() {
|
|
6919
|
+
return this._summary;
|
|
6920
|
+
}
|
|
6921
|
+
get body() {
|
|
6922
|
+
return _nullishCoalesce(this._body, () => ( []));
|
|
6923
|
+
}
|
|
6924
|
+
get coverImageAlt() {
|
|
6925
|
+
return this._coverImageAlt;
|
|
6926
|
+
}
|
|
6927
|
+
get readingMinutes() {
|
|
6928
|
+
return this._readingMinutes;
|
|
6929
|
+
}
|
|
6930
|
+
get authorName() {
|
|
6931
|
+
return this._authorName;
|
|
6932
|
+
}
|
|
6933
|
+
get categoryIds() {
|
|
6934
|
+
return _nullishCoalesce(this._categoryIds, () => ( []));
|
|
6935
|
+
}
|
|
6936
|
+
rehydrate(data) {
|
|
6937
|
+
super.rehydrate(data);
|
|
6938
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6939
|
+
const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
|
|
6940
|
+
const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
|
|
6941
|
+
this._status = attributes.status;
|
|
6942
|
+
this._originalLanguage = attributes.originalLanguage;
|
|
6943
|
+
this._coverImage = _nullishCoalesce(attributes.coverImage, () => ( void 0));
|
|
6944
|
+
this._publishedAt = attributes.publishedAt ? new Date(attributes.publishedAt) : void 0;
|
|
6945
|
+
this._language = resolved("language");
|
|
6946
|
+
this._title = resolved("title");
|
|
6947
|
+
this._slug = resolved("slug");
|
|
6948
|
+
this._summary = resolved("summary");
|
|
6949
|
+
const body = resolved("body");
|
|
6950
|
+
this._body = body ? JSON.parse(body) : void 0;
|
|
6951
|
+
this._coverImageAlt = resolved("coverImageAlt");
|
|
6952
|
+
this._readingMinutes = resolved("readingMinutes");
|
|
6953
|
+
this._authorName = resolved("authorName");
|
|
6954
|
+
this._categoryIds = _nullishCoalesce(resolved("categoryIds"), () => ( []));
|
|
6955
|
+
this._author = this._readIncluded(data, "author", Modules.User);
|
|
6956
|
+
this._categories = this._readIncluded(data, "categories", Modules.BlogCategory);
|
|
6957
|
+
this._translations = this._readIncluded(
|
|
6958
|
+
data,
|
|
6959
|
+
"translations",
|
|
6960
|
+
Modules.BlogPostTranslation
|
|
6961
|
+
);
|
|
6962
|
+
return this;
|
|
6963
|
+
}
|
|
6964
|
+
createJsonApi(data) {
|
|
6965
|
+
const response = {
|
|
6966
|
+
data: {
|
|
6967
|
+
type: Modules.BlogPost.name,
|
|
6968
|
+
id: data.id,
|
|
6969
|
+
attributes: {},
|
|
6970
|
+
meta: {},
|
|
6971
|
+
relationships: {}
|
|
6972
|
+
},
|
|
6973
|
+
included: []
|
|
6974
|
+
};
|
|
6975
|
+
if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
|
|
6976
|
+
if (data.title !== void 0) response.data.attributes.title = data.title;
|
|
6977
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6978
|
+
if (data.summary !== void 0) response.data.attributes.summary = data.summary;
|
|
6979
|
+
if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
|
|
6980
|
+
if (data.coverImage !== void 0) response.data.attributes.coverImage = data.coverImage;
|
|
6981
|
+
if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
|
|
6982
|
+
if (data.categoryIds !== void 0) {
|
|
6983
|
+
response.data.relationships.categories = {
|
|
6984
|
+
data: data.categoryIds.map((id) => ({ type: Modules.BlogCategory.name, id }))
|
|
6985
|
+
};
|
|
6986
|
+
}
|
|
6987
|
+
return response;
|
|
6988
|
+
}
|
|
6989
|
+
};
|
|
6990
|
+
|
|
6991
|
+
// src/features/blog/data/BlogPostTranslation.ts
|
|
6992
|
+
var BlogPostTranslation = class extends AbstractApiData {
|
|
6993
|
+
static {
|
|
6994
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslation");
|
|
6995
|
+
}
|
|
6996
|
+
|
|
6997
|
+
|
|
6998
|
+
|
|
6999
|
+
|
|
7000
|
+
|
|
7001
|
+
|
|
7002
|
+
|
|
7003
|
+
|
|
7004
|
+
|
|
7005
|
+
|
|
7006
|
+
|
|
7007
|
+
|
|
7008
|
+
get language() {
|
|
7009
|
+
return _nullishCoalesce(this._language, () => ( ""));
|
|
7010
|
+
}
|
|
7011
|
+
get isOriginal() {
|
|
7012
|
+
return _nullishCoalesce(this._isOriginal, () => ( false));
|
|
7013
|
+
}
|
|
7014
|
+
get source() {
|
|
7015
|
+
return _nullishCoalesce(this._source, () => ( "ai"));
|
|
7016
|
+
}
|
|
7017
|
+
get aiStatus() {
|
|
7018
|
+
return _nullishCoalesce(this._aiStatus, () => ( "pending"));
|
|
7019
|
+
}
|
|
7020
|
+
get title() {
|
|
7021
|
+
return _nullishCoalesce(this._title, () => ( ""));
|
|
7022
|
+
}
|
|
7023
|
+
get slug() {
|
|
7024
|
+
return _nullishCoalesce(this._slug, () => ( ""));
|
|
7025
|
+
}
|
|
7026
|
+
get summary() {
|
|
7027
|
+
return this._summary;
|
|
7028
|
+
}
|
|
7029
|
+
get body() {
|
|
7030
|
+
return _nullishCoalesce(this._body, () => ( []));
|
|
7031
|
+
}
|
|
7032
|
+
get coverImageAlt() {
|
|
7033
|
+
return this._coverImageAlt;
|
|
7034
|
+
}
|
|
7035
|
+
get readingMinutes() {
|
|
7036
|
+
return _nullishCoalesce(this._readingMinutes, () => ( 1));
|
|
7037
|
+
}
|
|
7038
|
+
get translatedAt() {
|
|
7039
|
+
return this._translatedAt;
|
|
7040
|
+
}
|
|
7041
|
+
get post() {
|
|
7042
|
+
return this._post;
|
|
7043
|
+
}
|
|
7044
|
+
rehydrate(data) {
|
|
7045
|
+
super.rehydrate(data);
|
|
7046
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
7047
|
+
this._language = attributes.language;
|
|
7048
|
+
this._isOriginal = attributes.isOriginal === true;
|
|
7049
|
+
this._source = attributes.source;
|
|
7050
|
+
this._aiStatus = attributes.aiStatus;
|
|
7051
|
+
this._title = _nullishCoalesce(attributes.title, () => ( void 0));
|
|
7052
|
+
this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
|
|
7053
|
+
this._summary = _nullishCoalesce(attributes.summary, () => ( void 0));
|
|
7054
|
+
this._body = attributes.body ? JSON.parse(attributes.body) : void 0;
|
|
7055
|
+
this._coverImageAlt = _nullishCoalesce(attributes.coverImageAlt, () => ( void 0));
|
|
7056
|
+
this._readingMinutes = _nullishCoalesce(attributes.readingMinutes, () => ( void 0));
|
|
7057
|
+
this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
|
|
7058
|
+
this._post = this._readIncluded(data, "post", Modules.BlogPost);
|
|
7059
|
+
return this;
|
|
7060
|
+
}
|
|
7061
|
+
createJsonApi(data) {
|
|
7062
|
+
const response = {
|
|
7063
|
+
data: {
|
|
7064
|
+
type: Modules.BlogPostTranslation.name,
|
|
7065
|
+
id: data.id,
|
|
7066
|
+
attributes: {},
|
|
7067
|
+
meta: {},
|
|
7068
|
+
relationships: {}
|
|
7069
|
+
},
|
|
7070
|
+
included: []
|
|
7071
|
+
};
|
|
7072
|
+
if (data.title !== void 0) response.data.attributes.title = data.title;
|
|
7073
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
7074
|
+
if (data.summary !== void 0) response.data.attributes.summary = data.summary;
|
|
7075
|
+
if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
|
|
7076
|
+
if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
|
|
7077
|
+
return response;
|
|
7078
|
+
}
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
// src/features/blog/types/blog.constants.ts
|
|
7082
|
+
var BLOG_LIST_LAYOUTS = ["featured", "column", "rail"];
|
|
7083
|
+
var BLOG_POST_STATUSES = ["draft", "published", "unpublished"];
|
|
7084
|
+
var BLOG_TRANSLATION_SOURCES = ["original", "ai", "manual"];
|
|
7085
|
+
var BLOG_SETTINGS_ID = "5f3c2a9e-8d41-4b7a-9c2e-1a6b0d4e7f13";
|
|
7086
|
+
var BLOG_MODULE_ID = "c1d0e6a2-4b8f-4f3e-9a7d-2e5b8c6f1a90";
|
|
7087
|
+
var BLOG_UPLOAD_ROOT = "blog";
|
|
7088
|
+
var BLOG_POST_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-posts`;
|
|
7089
|
+
var BLOG_CATEGORY_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-categories`;
|
|
7090
|
+
var BLOG_PUBLIC_PREFIX = "public";
|
|
7091
|
+
var BLOG_ACTION = {
|
|
7092
|
+
publish: "publish",
|
|
7093
|
+
unpublish: "unpublish",
|
|
7094
|
+
retranslate: "retranslate",
|
|
7095
|
+
related: "related"
|
|
7096
|
+
};
|
|
7097
|
+
|
|
7098
|
+
// src/features/blog/data/BlogSettings.ts
|
|
7099
|
+
var BlogSettings = class extends AbstractApiData {
|
|
7100
|
+
static {
|
|
7101
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettings");
|
|
7102
|
+
}
|
|
7103
|
+
|
|
7104
|
+
get listLayout() {
|
|
7105
|
+
return _nullishCoalesce(this._listLayout, () => ( "featured"));
|
|
7106
|
+
}
|
|
7107
|
+
rehydrate(data) {
|
|
7108
|
+
super.rehydrate(data);
|
|
7109
|
+
const listLayout = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.attributes, 'optionalAccess', _160 => _160.listLayout]);
|
|
7110
|
+
this._listLayout = BLOG_LIST_LAYOUTS.includes(listLayout) ? listLayout : void 0;
|
|
7111
|
+
return this;
|
|
7112
|
+
}
|
|
7113
|
+
createJsonApi(data) {
|
|
7114
|
+
const response = {
|
|
7115
|
+
data: {
|
|
7116
|
+
type: Modules.BlogSettings.name,
|
|
7117
|
+
id: data.id,
|
|
7118
|
+
attributes: {},
|
|
7119
|
+
meta: {},
|
|
7120
|
+
relationships: {}
|
|
7121
|
+
},
|
|
7122
|
+
included: []
|
|
7123
|
+
};
|
|
7124
|
+
response.data.attributes.listLayout = data.listLayout;
|
|
7125
|
+
return response;
|
|
7126
|
+
}
|
|
7127
|
+
};
|
|
7128
|
+
|
|
7129
|
+
// src/features/blog/BlogModules.ts
|
|
7130
|
+
var BlogPostModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7131
|
+
moduleId: BLOG_MODULE_ID,
|
|
7132
|
+
pageUrl: "/administration/blog",
|
|
7133
|
+
name: "blog-posts",
|
|
7134
|
+
model: BlogPost,
|
|
7135
|
+
icon: _lucidereact.NewspaperIcon
|
|
7136
|
+
}), "BlogPostModule");
|
|
7137
|
+
var BlogPostTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7138
|
+
moduleId: BLOG_MODULE_ID,
|
|
7139
|
+
name: "blog-post-translations",
|
|
7140
|
+
model: BlogPostTranslation,
|
|
7141
|
+
icon: _lucidereact.NewspaperIcon
|
|
7142
|
+
}), "BlogPostTranslationModule");
|
|
7143
|
+
var BlogCategoryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7144
|
+
moduleId: BLOG_MODULE_ID,
|
|
7145
|
+
name: "blog-categories",
|
|
7146
|
+
model: BlogCategory,
|
|
7147
|
+
icon: _lucidereact.NewspaperIcon
|
|
7148
|
+
}), "BlogCategoryModule");
|
|
7149
|
+
var BlogCategoryTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7150
|
+
moduleId: BLOG_MODULE_ID,
|
|
7151
|
+
name: "blog-category-translations",
|
|
7152
|
+
model: BlogCategoryTranslation,
|
|
7153
|
+
icon: _lucidereact.NewspaperIcon
|
|
7154
|
+
}), "BlogCategoryTranslationModule");
|
|
7155
|
+
var BlogSettingsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7156
|
+
moduleId: BLOG_MODULE_ID,
|
|
7157
|
+
name: "blog-settings",
|
|
7158
|
+
model: BlogSettings,
|
|
7159
|
+
icon: _lucidereact.NewspaperIcon
|
|
7160
|
+
}), "BlogSettingsModule");
|
|
7161
|
+
|
|
7162
|
+
// src/features/blog/data/BlogPostService.ts
|
|
7163
|
+
var BlogPostService = class extends AbstractService {
|
|
7164
|
+
static {
|
|
7165
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostService");
|
|
7166
|
+
}
|
|
7167
|
+
static async findMany(params = {}) {
|
|
7168
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.BlogPost });
|
|
7169
|
+
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7170
|
+
return this.callApi({
|
|
7171
|
+
type: Modules.BlogPost,
|
|
7172
|
+
method: "GET" /* GET */,
|
|
7173
|
+
endpoint: endpoint.generate(),
|
|
7174
|
+
next: params.next
|
|
7175
|
+
});
|
|
7176
|
+
}
|
|
7177
|
+
static async findOne(params) {
|
|
7178
|
+
return this.callApi({
|
|
7179
|
+
type: Modules.BlogPost,
|
|
7180
|
+
method: "GET" /* GET */,
|
|
7181
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
|
|
7182
|
+
});
|
|
7183
|
+
}
|
|
7184
|
+
static async create(params) {
|
|
7185
|
+
return this.callApi({
|
|
7186
|
+
type: Modules.BlogPost,
|
|
7187
|
+
method: "POST" /* POST */,
|
|
7188
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost }).generate(),
|
|
7189
|
+
input: params
|
|
7190
|
+
});
|
|
7191
|
+
}
|
|
7192
|
+
static async update(params) {
|
|
7193
|
+
return this.callApi({
|
|
7194
|
+
type: Modules.BlogPost,
|
|
7195
|
+
method: "PUT" /* PUT */,
|
|
7196
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate(),
|
|
7197
|
+
input: params
|
|
7198
|
+
});
|
|
7199
|
+
}
|
|
7200
|
+
static async delete(params) {
|
|
7201
|
+
await this.callApi({
|
|
7202
|
+
type: Modules.BlogPost,
|
|
7203
|
+
method: "DELETE" /* DELETE */,
|
|
7204
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
|
|
7205
|
+
});
|
|
7206
|
+
}
|
|
7207
|
+
/**
|
|
7208
|
+
* POST blog-posts/:id/publish. Sends no body; replies with the post.
|
|
7209
|
+
*/
|
|
7210
|
+
static async publish(params) {
|
|
7211
|
+
return this.callApi({
|
|
7212
|
+
type: Modules.BlogPost,
|
|
7213
|
+
method: "POST" /* POST */,
|
|
7214
|
+
endpoint: new EndpointCreator({
|
|
7215
|
+
endpoint: Modules.BlogPost,
|
|
7216
|
+
id: params.id,
|
|
7217
|
+
childEndpoint: BLOG_ACTION.publish
|
|
7218
|
+
}).generate()
|
|
7219
|
+
});
|
|
7220
|
+
}
|
|
7221
|
+
/**
|
|
7222
|
+
* POST blog-posts/:id/unpublish. Sends no body; replies with the post.
|
|
7223
|
+
*/
|
|
7224
|
+
static async unpublish(params) {
|
|
7225
|
+
return this.callApi({
|
|
7226
|
+
type: Modules.BlogPost,
|
|
7227
|
+
method: "POST" /* POST */,
|
|
7228
|
+
endpoint: new EndpointCreator({
|
|
7229
|
+
endpoint: Modules.BlogPost,
|
|
7230
|
+
id: params.id,
|
|
7231
|
+
childEndpoint: BLOG_ACTION.unpublish
|
|
7232
|
+
}).generate()
|
|
7233
|
+
});
|
|
7234
|
+
}
|
|
7235
|
+
};
|
|
7236
|
+
|
|
7237
|
+
// src/features/blog/data/BlogPostTranslationService.ts
|
|
7238
|
+
var BlogPostTranslationService = class extends AbstractService {
|
|
7239
|
+
static {
|
|
7240
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslationService");
|
|
7241
|
+
}
|
|
7242
|
+
static async update(params) {
|
|
7243
|
+
return this.callApi({
|
|
7244
|
+
type: Modules.BlogPostTranslation,
|
|
7245
|
+
method: "PUT" /* PUT */,
|
|
7246
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPostTranslation, id: params.id }).generate(),
|
|
7247
|
+
input: params
|
|
7248
|
+
});
|
|
7249
|
+
}
|
|
7250
|
+
/**
|
|
7251
|
+
* POST blog-post-translations/:id/retranslate. Re-queues this one language
|
|
7252
|
+
* from the current original. Replies 204.
|
|
7253
|
+
*/
|
|
7254
|
+
static async retranslate(params) {
|
|
7255
|
+
await this.callApi({
|
|
7256
|
+
type: Modules.BlogPostTranslation,
|
|
7257
|
+
method: "POST" /* POST */,
|
|
7258
|
+
endpoint: new EndpointCreator({
|
|
7259
|
+
endpoint: Modules.BlogPostTranslation,
|
|
7260
|
+
id: params.id,
|
|
7261
|
+
childEndpoint: BLOG_ACTION.retranslate
|
|
7262
|
+
}).generate()
|
|
7263
|
+
});
|
|
7264
|
+
}
|
|
7265
|
+
};
|
|
7266
|
+
|
|
7267
|
+
// src/features/blog/data/BlogCategoryService.ts
|
|
7268
|
+
var BlogCategoryService = class extends AbstractService {
|
|
7269
|
+
static {
|
|
7270
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryService");
|
|
7271
|
+
}
|
|
7272
|
+
static async findMany(params = {}) {
|
|
7273
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.BlogCategory });
|
|
7274
|
+
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
7275
|
+
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7276
|
+
return this.callApi({
|
|
7277
|
+
type: Modules.BlogCategory,
|
|
7278
|
+
method: "GET" /* GET */,
|
|
7279
|
+
endpoint: endpoint.generate(),
|
|
7280
|
+
next: params.next
|
|
7281
|
+
});
|
|
7282
|
+
}
|
|
7283
|
+
static async findOne(params) {
|
|
7284
|
+
return this.callApi({
|
|
7285
|
+
type: Modules.BlogCategory,
|
|
7286
|
+
method: "GET" /* GET */,
|
|
7287
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
|
|
7288
|
+
});
|
|
7289
|
+
}
|
|
7290
|
+
static async create(params) {
|
|
7291
|
+
return this.callApi({
|
|
7292
|
+
type: Modules.BlogCategory,
|
|
7293
|
+
method: "POST" /* POST */,
|
|
7294
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory }).generate(),
|
|
7295
|
+
input: params
|
|
7296
|
+
});
|
|
7297
|
+
}
|
|
7298
|
+
static async update(params) {
|
|
7299
|
+
return this.callApi({
|
|
7300
|
+
type: Modules.BlogCategory,
|
|
7301
|
+
method: "PUT" /* PUT */,
|
|
7302
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate(),
|
|
7303
|
+
input: params
|
|
7304
|
+
});
|
|
7305
|
+
}
|
|
7306
|
+
static async delete(params) {
|
|
7307
|
+
await this.callApi({
|
|
7308
|
+
type: Modules.BlogCategory,
|
|
7309
|
+
method: "DELETE" /* DELETE */,
|
|
7310
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
|
|
7311
|
+
});
|
|
7312
|
+
}
|
|
7313
|
+
};
|
|
7314
|
+
|
|
7315
|
+
// src/features/blog/data/BlogCategoryTranslationService.ts
|
|
7316
|
+
var BlogCategoryTranslationService = class extends AbstractService {
|
|
7317
|
+
static {
|
|
7318
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslationService");
|
|
7319
|
+
}
|
|
7320
|
+
static async update(params) {
|
|
7321
|
+
return this.callApi({
|
|
7322
|
+
type: Modules.BlogCategoryTranslation,
|
|
7323
|
+
method: "PUT" /* PUT */,
|
|
7324
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategoryTranslation, id: params.id }).generate(),
|
|
7325
|
+
input: params
|
|
7326
|
+
});
|
|
7327
|
+
}
|
|
7328
|
+
/**
|
|
7329
|
+
* POST blog-category-translations/:id/retranslate. Re-queues this one
|
|
7330
|
+
* language from the current original. Replies 204.
|
|
7331
|
+
*/
|
|
7332
|
+
static async retranslate(params) {
|
|
7333
|
+
await this.callApi({
|
|
7334
|
+
type: Modules.BlogCategoryTranslation,
|
|
7335
|
+
method: "POST" /* POST */,
|
|
7336
|
+
endpoint: new EndpointCreator({
|
|
7337
|
+
endpoint: Modules.BlogCategoryTranslation,
|
|
7338
|
+
id: params.id,
|
|
7339
|
+
childEndpoint: BLOG_ACTION.retranslate
|
|
7340
|
+
}).generate()
|
|
7341
|
+
});
|
|
7342
|
+
}
|
|
7343
|
+
};
|
|
7344
|
+
|
|
7345
|
+
// src/features/blog/data/BlogSettingsService.ts
|
|
7346
|
+
var BlogSettingsService = class extends AbstractService {
|
|
7347
|
+
static {
|
|
7348
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettingsService");
|
|
7349
|
+
}
|
|
7350
|
+
/**
|
|
7351
|
+
* GET blog-settings: the stored singleton, or the API's default.
|
|
7352
|
+
*/
|
|
7353
|
+
static async get() {
|
|
7354
|
+
return this.callApi({
|
|
7355
|
+
type: Modules.BlogSettings,
|
|
7356
|
+
method: "GET" /* GET */,
|
|
7357
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings }).generate()
|
|
7358
|
+
});
|
|
7359
|
+
}
|
|
7360
|
+
static async save(params) {
|
|
7361
|
+
return this.callApi({
|
|
7362
|
+
type: Modules.BlogSettings,
|
|
7363
|
+
method: "PUT" /* PUT */,
|
|
7364
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings, id: params.id }).generate(),
|
|
7365
|
+
input: params
|
|
7366
|
+
});
|
|
7367
|
+
}
|
|
7368
|
+
};
|
|
7369
|
+
|
|
7370
|
+
// src/features/blog/data/BlogPostFields.ts
|
|
7371
|
+
var BlogPostFields = /* @__PURE__ */ ((BlogPostFields2) => {
|
|
7372
|
+
BlogPostFields2["title"] = "title";
|
|
7373
|
+
BlogPostFields2["status"] = "status";
|
|
7374
|
+
BlogPostFields2["categories"] = "categories";
|
|
7375
|
+
BlogPostFields2["publishedAt"] = "publishedAt";
|
|
7376
|
+
BlogPostFields2["languages"] = "languages";
|
|
7377
|
+
return BlogPostFields2;
|
|
7378
|
+
})(BlogPostFields || {});
|
|
7379
|
+
|
|
7380
|
+
// src/features/blog/data/BlogCategoryFields.ts
|
|
7381
|
+
var BlogCategoryFields = /* @__PURE__ */ ((BlogCategoryFields2) => {
|
|
7382
|
+
BlogCategoryFields2["name"] = "name";
|
|
7383
|
+
BlogCategoryFields2["languages"] = "languages";
|
|
7384
|
+
return BlogCategoryFields2;
|
|
7385
|
+
})(BlogCategoryFields || {});
|
|
7386
|
+
|
|
6714
7387
|
// src/features/handbook/HandbookPageModule.ts
|
|
6715
7388
|
|
|
6716
7389
|
|
|
@@ -7090,7 +7763,7 @@ var HandbookThread = class extends AbstractApiData {
|
|
|
7090
7763
|
super.rehydrate(data);
|
|
7091
7764
|
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
7092
7765
|
this._title = attributes.title;
|
|
7093
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
7766
|
+
const fromMeta = _optionalChain([data, 'access', _161 => _161.jsonApi, 'access', _162 => _162.meta, 'optionalAccess', _163 => _163.messageCount]);
|
|
7094
7767
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
|
|
7095
7768
|
const messages = this._readIncluded(
|
|
7096
7769
|
data,
|
|
@@ -7213,9 +7886,9 @@ var HandbookPageService = class extends AbstractService {
|
|
|
7213
7886
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
|
|
7214
7887
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
7215
7888
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7216
|
-
if (_optionalChain([Modules, 'access',
|
|
7889
|
+
if (_optionalChain([Modules, 'access', _164 => _164.HandbookPage, 'access', _165 => _165.inclusions, 'optionalAccess', _166 => _166.lists, 'optionalAccess', _167 => _167.fields]))
|
|
7217
7890
|
endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
|
|
7218
|
-
if (_optionalChain([Modules, 'access',
|
|
7891
|
+
if (_optionalChain([Modules, 'access', _168 => _168.HandbookPage, 'access', _169 => _169.inclusions, 'optionalAccess', _170 => _170.lists, 'optionalAccess', _171 => _171.types]))
|
|
7219
7892
|
endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
|
|
7220
7893
|
return this.callApi({
|
|
7221
7894
|
type: Modules.HandbookPage,
|
|
@@ -7264,7 +7937,7 @@ var HandbookSectionService = class extends AbstractService {
|
|
|
7264
7937
|
static async findMany() {
|
|
7265
7938
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
|
|
7266
7939
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
7267
|
-
if (_optionalChain([Modules, 'access',
|
|
7940
|
+
if (_optionalChain([Modules, 'access', _172 => _172.HandbookSection, 'access', _173 => _173.inclusions, 'optionalAccess', _174 => _174.lists, 'optionalAccess', _175 => _175.fields]))
|
|
7268
7941
|
endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
|
|
7269
7942
|
return this.callApi({
|
|
7270
7943
|
type: Modules.HandbookSection,
|
|
@@ -7321,9 +7994,9 @@ var HandbookThreadService = class extends AbstractService {
|
|
|
7321
7994
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
|
|
7322
7995
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
7323
7996
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7324
|
-
if (_optionalChain([Modules, 'access',
|
|
7997
|
+
if (_optionalChain([Modules, 'access', _176 => _176.HandbookThread, 'access', _177 => _177.inclusions, 'optionalAccess', _178 => _178.lists, 'optionalAccess', _179 => _179.fields]))
|
|
7325
7998
|
endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
|
|
7326
|
-
if (_optionalChain([Modules, 'access',
|
|
7999
|
+
if (_optionalChain([Modules, 'access', _180 => _180.HandbookThread, 'access', _181 => _181.inclusions, 'optionalAccess', _182 => _182.lists, 'optionalAccess', _183 => _183.types]))
|
|
7327
8000
|
endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
|
|
7328
8001
|
return this.callApi({
|
|
7329
8002
|
type: Modules.HandbookThread,
|
|
@@ -7410,15 +8083,15 @@ var Assistant = class extends AbstractApiData {
|
|
|
7410
8083
|
}
|
|
7411
8084
|
rehydrate(data) {
|
|
7412
8085
|
super.rehydrate(data);
|
|
7413
|
-
this._title = _optionalChain([data, 'access',
|
|
7414
|
-
this._engine = _optionalChain([data, 'access',
|
|
7415
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
7416
|
-
const fromAttrs = _optionalChain([data, 'access',
|
|
8086
|
+
this._title = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.title]);
|
|
8087
|
+
this._engine = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.attributes, 'optionalAccess', _189 => _189.engine]);
|
|
8088
|
+
const fromMeta = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.meta, 'optionalAccess', _192 => _192.messageCount]);
|
|
8089
|
+
const fromAttrs = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.attributes, 'optionalAccess', _195 => _195.messageCount]);
|
|
7417
8090
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
|
|
7418
|
-
const contentLinkage = _optionalChain([data, 'access',
|
|
8091
|
+
const contentLinkage = _optionalChain([data, 'access', _196 => _196.jsonApi, 'access', _197 => _197.relationships, 'optionalAccess', _198 => _198.content, 'optionalAccess', _199 => _199.data]);
|
|
7419
8092
|
const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
|
|
7420
|
-
this._boundContentType = _optionalChain([boundContent, 'optionalAccess',
|
|
7421
|
-
this._boundContentId = _optionalChain([boundContent, 'optionalAccess',
|
|
8093
|
+
this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _200 => _200.type]);
|
|
8094
|
+
this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _201 => _201.id]);
|
|
7422
8095
|
return this;
|
|
7423
8096
|
}
|
|
7424
8097
|
createJsonApi(data) {
|
|
@@ -7534,11 +8207,11 @@ var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiDa
|
|
|
7534
8207
|
this._inputTokens = attrs.inputTokens;
|
|
7535
8208
|
this._outputTokens = attrs.outputTokens;
|
|
7536
8209
|
this._messageType = attrs.messageType;
|
|
7537
|
-
const actionRelationship = _optionalChain([data, 'access',
|
|
7538
|
-
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access',
|
|
8210
|
+
const actionRelationship = _optionalChain([data, 'access', _202 => _202.jsonApi, 'access', _203 => _203.relationships, 'optionalAccess', _204 => _204.action, 'optionalAccess', _205 => _205.data]);
|
|
8211
|
+
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _206 => _206[0], 'optionalAccess', _207 => _207.id]) : _optionalChain([actionRelationship, 'optionalAccess', _208 => _208.id]);
|
|
7539
8212
|
const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
|
|
7540
8213
|
this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
|
|
7541
|
-
if (_optionalChain([data, 'access',
|
|
8214
|
+
if (_optionalChain([data, 'access', _209 => _209.jsonApi, 'access', _210 => _210.relationships, 'optionalAccess', _211 => _211.citations, 'optionalAccess', _212 => _212.data])) {
|
|
7542
8215
|
const citations = this._readIncludedWithMeta(
|
|
7543
8216
|
data,
|
|
7544
8217
|
"citations",
|
|
@@ -7794,9 +8467,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7794
8467
|
id: params.assistantId,
|
|
7795
8468
|
childEndpoint: Modules.AssistantMessage
|
|
7796
8469
|
});
|
|
7797
|
-
if (_optionalChain([Modules, 'access',
|
|
8470
|
+
if (_optionalChain([Modules, 'access', _213 => _213.AssistantMessage, 'access', _214 => _214.inclusions, 'optionalAccess', _215 => _215.lists, 'optionalAccess', _216 => _216.fields]))
|
|
7798
8471
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7799
|
-
if (_optionalChain([Modules, 'access',
|
|
8472
|
+
if (_optionalChain([Modules, 'access', _217 => _217.AssistantMessage, 'access', _218 => _218.inclusions, 'optionalAccess', _219 => _219.lists, 'optionalAccess', _220 => _220.types]))
|
|
7800
8473
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7801
8474
|
return this.callApi({
|
|
7802
8475
|
type: Modules.AssistantMessage,
|
|
@@ -7810,9 +8483,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7810
8483
|
endpoint: Modules.AssistantMessage,
|
|
7811
8484
|
id: params.id
|
|
7812
8485
|
});
|
|
7813
|
-
if (_optionalChain([Modules, 'access',
|
|
8486
|
+
if (_optionalChain([Modules, 'access', _221 => _221.AssistantMessage, 'access', _222 => _222.inclusions, 'optionalAccess', _223 => _223.lists, 'optionalAccess', _224 => _224.fields]))
|
|
7814
8487
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7815
|
-
if (_optionalChain([Modules, 'access',
|
|
8488
|
+
if (_optionalChain([Modules, 'access', _225 => _225.AssistantMessage, 'access', _226 => _226.inclusions, 'optionalAccess', _227 => _227.lists, 'optionalAccess', _228 => _228.types]))
|
|
7816
8489
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7817
8490
|
return this.callApi({
|
|
7818
8491
|
type: Modules.AssistantMessage,
|
|
@@ -8137,10 +8810,10 @@ var Notification = class extends AbstractApiData {
|
|
|
8137
8810
|
this._message = data.jsonApi.attributes.message;
|
|
8138
8811
|
this._actionUrl = data.jsonApi.attributes.actionUrl;
|
|
8139
8812
|
const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
|
|
8140
|
-
const actorType = _optionalChain([rels, 'access',
|
|
8813
|
+
const actorType = _optionalChain([rels, 'access', _229 => _229.actor, 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]);
|
|
8141
8814
|
this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
|
|
8142
|
-
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access',
|
|
8143
|
-
const subjectType = subjectName ? _optionalChain([rels, 'access',
|
|
8815
|
+
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _232 => _232[name], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]));
|
|
8816
|
+
const subjectType = subjectName ? _optionalChain([rels, 'access', _235 => _235[subjectName], 'optionalAccess', _236 => _236.data, 'optionalAccess', _237 => _237.type]) : void 0;
|
|
8144
8817
|
this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
|
|
8145
8818
|
return this;
|
|
8146
8819
|
}
|
|
@@ -8492,6 +9165,20 @@ var S3Service = class extends AbstractService {
|
|
|
8492
9165
|
if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
|
|
8493
9166
|
return this.callApi({ type: Modules.S3, method: "GET" /* GET */, endpoint: endpoint.generate() });
|
|
8494
9167
|
}
|
|
9168
|
+
/**
|
|
9169
|
+
* Presigns `key` and PUTs `file` to the presigned S3 URL. The PUT goes straight
|
|
9170
|
+
* to object storage (not the JSON:API backend), so it cannot use callApi.
|
|
9171
|
+
* Throws when the upload is rejected.
|
|
9172
|
+
*/
|
|
9173
|
+
static async upload(params) {
|
|
9174
|
+
const s3 = await this.getPreSignedUrl({
|
|
9175
|
+
key: params.key,
|
|
9176
|
+
contentType: params.contentType,
|
|
9177
|
+
isPublic: params.isPublic
|
|
9178
|
+
});
|
|
9179
|
+
const response = await fetch(s3.url, { method: "PUT", headers: s3.headers, body: params.file });
|
|
9180
|
+
if (!response.ok) throw new Error(`S3 upload failed: ${response.status}`);
|
|
9181
|
+
}
|
|
8495
9182
|
static async getSignedUrl(params) {
|
|
8496
9183
|
const endpoint = new EndpointCreator({ endpoint: Modules.S3, id: "sign" }).addAdditionalParam("key", params.key);
|
|
8497
9184
|
if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
|
|
@@ -8713,8 +9400,8 @@ var UserService = class extends AbstractService {
|
|
|
8713
9400
|
id: params.id,
|
|
8714
9401
|
childEndpoint: "user-relevance"
|
|
8715
9402
|
});
|
|
8716
|
-
if (_optionalChain([Modules, 'access',
|
|
8717
|
-
if (_optionalChain([Modules, 'access',
|
|
9403
|
+
if (_optionalChain([Modules, 'access', _238 => _238.User, 'access', _239 => _239.inclusions, 'optionalAccess', _240 => _240.lists, 'optionalAccess', _241 => _241.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
|
|
9404
|
+
if (_optionalChain([Modules, 'access', _242 => _242.User, 'access', _243 => _243.inclusions, 'optionalAccess', _244 => _244.lists, 'optionalAccess', _245 => _245.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
|
|
8718
9405
|
return this.callApi({
|
|
8719
9406
|
type: Modules.User,
|
|
8720
9407
|
method: "GET" /* GET */,
|
|
@@ -9011,7 +9698,7 @@ var OAuthService = class extends AbstractService {
|
|
|
9011
9698
|
type: Modules.OAuth,
|
|
9012
9699
|
method: "GET" /* GET */,
|
|
9013
9700
|
endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
|
|
9014
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
9701
|
+
next: _optionalChain([params, 'optionalAccess', _246 => _246.next])
|
|
9015
9702
|
});
|
|
9016
9703
|
}
|
|
9017
9704
|
/**
|
|
@@ -9037,7 +9724,7 @@ var OAuthService = class extends AbstractService {
|
|
|
9037
9724
|
});
|
|
9038
9725
|
return {
|
|
9039
9726
|
client: result.data,
|
|
9040
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9727
|
+
clientSecret: _optionalChain([result, 'access', _247 => _247.meta, 'optionalAccess', _248 => _248.clientSecret])
|
|
9041
9728
|
};
|
|
9042
9729
|
}
|
|
9043
9730
|
/**
|
|
@@ -9076,7 +9763,7 @@ var OAuthService = class extends AbstractService {
|
|
|
9076
9763
|
}).generate()
|
|
9077
9764
|
});
|
|
9078
9765
|
return {
|
|
9079
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9766
|
+
clientSecret: _optionalChain([result, 'access', _249 => _249.meta, 'optionalAccess', _250 => _250.clientSecret])
|
|
9080
9767
|
};
|
|
9081
9768
|
}
|
|
9082
9769
|
// ==========================================
|
|
@@ -9113,7 +9800,7 @@ var OAuthService = class extends AbstractService {
|
|
|
9113
9800
|
overridesJsonApiCreation: true
|
|
9114
9801
|
});
|
|
9115
9802
|
return {
|
|
9116
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9803
|
+
redirectUrl: _optionalChain([result, 'access', _251 => _251.meta, 'optionalAccess', _252 => _252.redirectUrl])
|
|
9117
9804
|
};
|
|
9118
9805
|
}
|
|
9119
9806
|
/**
|
|
@@ -9129,7 +9816,7 @@ var OAuthService = class extends AbstractService {
|
|
|
9129
9816
|
overridesJsonApiCreation: true
|
|
9130
9817
|
});
|
|
9131
9818
|
return {
|
|
9132
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9819
|
+
redirectUrl: _optionalChain([result, 'access', _253 => _253.meta, 'optionalAccess', _254 => _254.redirectUrl])
|
|
9133
9820
|
};
|
|
9134
9821
|
}
|
|
9135
9822
|
};
|
|
@@ -9335,15 +10022,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
9335
10022
|
*/
|
|
9336
10023
|
static async findMany(params) {
|
|
9337
10024
|
const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
|
|
9338
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
9339
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
9340
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
10025
|
+
if (_optionalChain([params, 'optionalAccess', _255 => _255.status])) endpoint.addAdditionalParam("status", params.status);
|
|
10026
|
+
if (_optionalChain([params, 'optionalAccess', _256 => _256.search])) endpoint.addAdditionalParam("search", params.search);
|
|
10027
|
+
if (_optionalChain([params, 'optionalAccess', _257 => _257.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
|
|
9341
10028
|
return this.callApi({
|
|
9342
10029
|
type: Modules.Waitlist,
|
|
9343
10030
|
method: "GET" /* GET */,
|
|
9344
10031
|
endpoint: endpoint.generate(),
|
|
9345
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
9346
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
10032
|
+
next: _optionalChain([params, 'optionalAccess', _258 => _258.next]),
|
|
10033
|
+
previous: _optionalChain([params, 'optionalAccess', _259 => _259.previous])
|
|
9347
10034
|
});
|
|
9348
10035
|
}
|
|
9349
10036
|
/**
|
|
@@ -9412,10 +10099,10 @@ var WaitlistService = class extends AbstractService {
|
|
|
9412
10099
|
method: "GET" /* GET */,
|
|
9413
10100
|
endpoint: endpoint.generate()
|
|
9414
10101
|
});
|
|
9415
|
-
const attributes = _optionalChain([response, 'access',
|
|
10102
|
+
const attributes = _optionalChain([response, 'access', _260 => _260.data, 'optionalAccess', _261 => _261._jsonApi, 'optionalAccess', _262 => _262.attributes]);
|
|
9416
10103
|
return {
|
|
9417
|
-
email: _optionalChain([attributes, 'optionalAccess',
|
|
9418
|
-
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess',
|
|
10104
|
+
email: _optionalChain([attributes, 'optionalAccess', _263 => _263.email]),
|
|
10105
|
+
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _264 => _264.valid]), () => ( false))
|
|
9419
10106
|
};
|
|
9420
10107
|
} catch (_error) {
|
|
9421
10108
|
return null;
|
|
@@ -9513,7 +10200,7 @@ var PermissionMapping = class extends AbstractApiData {
|
|
|
9513
10200
|
super.rehydrate(data);
|
|
9514
10201
|
this._roleId = data.jsonApi.attributes.roleId;
|
|
9515
10202
|
this._moduleId = data.jsonApi.attributes.moduleId;
|
|
9516
|
-
this._permissions = _optionalChain([data, 'access',
|
|
10203
|
+
this._permissions = _optionalChain([data, 'access', _265 => _265.jsonApi, 'access', _266 => _266.meta, 'optionalAccess', _267 => _267.permissions]);
|
|
9517
10204
|
return this;
|
|
9518
10205
|
}
|
|
9519
10206
|
};
|
|
@@ -10911,5 +11598,33 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10911
11598
|
|
|
10912
11599
|
|
|
10913
11600
|
|
|
10914
|
-
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10915
|
-
|
|
11601
|
+
|
|
11602
|
+
|
|
11603
|
+
|
|
11604
|
+
|
|
11605
|
+
|
|
11606
|
+
|
|
11607
|
+
|
|
11608
|
+
|
|
11609
|
+
|
|
11610
|
+
|
|
11611
|
+
|
|
11612
|
+
|
|
11613
|
+
|
|
11614
|
+
|
|
11615
|
+
|
|
11616
|
+
|
|
11617
|
+
|
|
11618
|
+
|
|
11619
|
+
|
|
11620
|
+
|
|
11621
|
+
|
|
11622
|
+
|
|
11623
|
+
|
|
11624
|
+
|
|
11625
|
+
|
|
11626
|
+
|
|
11627
|
+
|
|
11628
|
+
|
|
11629
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.getI18nSupportedLocales = getI18nSupportedLocales; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
11630
|
+
//# sourceMappingURL=chunk-NFBOSPNJ.js.map
|