@meeovi/layer-shared 1.0.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/README.md +0 -0
- package/app/components/Gallery/Gallery.vue +187 -0
- package/app/components/Gallery/__tests__/Gallery.spec.ts +14 -0
- package/app/components/Heading/Heading.vue +14 -0
- package/app/components/Heading/__tests__/Heading.spec.ts +14 -0
- package/app/components/Heading/types.ts +5 -0
- package/app/components/media/audioGallery.vue +70 -0
- package/app/components/media/dragDropUpload.vue +67 -0
- package/app/components/media/fullscreenMediaModal.vue +66 -0
- package/app/components/media/imageCard.vue +65 -0
- package/app/components/media/imageGallery.vue +40 -0
- package/app/components/media/mediaCard.vue +89 -0
- package/app/components/media/mediaCarousel.vue +65 -0
- package/app/components/media/mediaFolderSidebar.vue +72 -0
- package/app/components/media/mediaPlayer.vue +40 -0
- package/app/components/media/mediaSearchBar.vue +16 -0
- package/app/components/media/videoGallery.vue +77 -0
- package/app/components/ui/AccordionItem/AccordionItem.vue +24 -0
- package/app/components/ui/AccordionItem/__tests__/AccordionItem.spec.ts +14 -0
- package/app/components/ui/AccordionItem/types.ts +5 -0
- package/app/components/ui/Alert/Alert.vue +34 -0
- package/app/components/ui/Alert/types.ts +5 -0
- package/app/components/ui/Breadcrumbs/Breadcrumbs.vue +76 -0
- package/app/components/ui/Breadcrumbs/__tests__/Breadcrumbs.spec.ts +14 -0
- package/app/components/ui/Breadcrumbs/types.ts +8 -0
- package/app/components/ui/CartProductCard/CartProductCard.vue +66 -0
- package/app/components/ui/CartProductCard/types.ts +18 -0
- package/app/components/ui/CategoryCard/CategoryCard.vue +41 -0
- package/app/components/ui/CategoryCard/types.ts +9 -0
- package/app/components/ui/Display/Display.vue +55 -0
- package/app/components/ui/Display/types.ts +12 -0
- package/app/components/ui/Divider/Divider.vue +3 -0
- package/app/components/ui/Divider/__tests__/Divider.spec.tsx +10 -0
- package/app/components/ui/Footer.vue +92 -0
- package/app/components/ui/Form/FormHelperText.vue +5 -0
- package/app/components/ui/Form/FormLabel.vue +5 -0
- package/app/components/ui/Form/FormPasswordInput.vue +15 -0
- package/app/components/ui/Form/__tests__/FormHelperText.spec.ts +10 -0
- package/app/components/ui/Form/__tests__/FormLabel.spec.ts +10 -0
- package/app/components/ui/Hero/Hero.vue +44 -0
- package/app/components/ui/Hero/types.ts +10 -0
- package/app/components/ui/Modal/Modal.vue +19 -0
- package/app/components/ui/Modal/types.ts +8 -0
- package/app/components/ui/Motionable.vue +45 -0
- package/app/components/ui/NavbarBottom.vue +63 -0
- package/app/components/ui/NavbarTop.vue +25 -0
- package/app/components/ui/Overlay/Overlay.vue +14 -0
- package/app/components/ui/Overlay/__tests__/Overlay.spec.ts +14 -0
- package/app/components/ui/Overlay/types.ts +3 -0
- package/app/components/ui/PageBuilder.vue +39 -0
- package/app/components/ui/PageContainer.vue +5 -0
- package/app/components/ui/Pagination/Pagination.vue +151 -0
- package/app/components/ui/Pagination/__tests__/Pagination.spec.ts +17 -0
- package/app/components/ui/Pagination/types.ts +6 -0
- package/app/components/ui/ProductCard/ProductCard.vue +55 -0
- package/app/components/ui/ProductCard/__tests__/ProductCard.spec.ts +16 -0
- package/app/components/ui/ProductCard/types.ts +12 -0
- package/app/components/ui/ProductCardHorizontal/ProductCardHorizontal.vue +34 -0
- package/app/components/ui/ProductCardHorizontal/__tests__/ProductCardHorizontal.spec.ts +36 -0
- package/app/components/ui/ProductCardHorizontal/types.ts +8 -0
- package/app/components/ui/PurchaseCard/PurchaseCard.vue +109 -0
- package/app/components/ui/PurchaseCard/__tests__/PurchaseCard.spec.ts +15 -0
- package/app/components/ui/PurchaseCard/types.ts +5 -0
- package/app/components/ui/QuantitySelector/QuantitySelector.vue +69 -0
- package/app/components/ui/QuantitySelector/__tests__/QuantitySelector.spec.ts +15 -0
- package/app/components/ui/QuantitySelector/types.ts +5 -0
- package/app/components/ui/RadialProgress.vue +44 -0
- package/app/components/ui/Review/Review.vue +57 -0
- package/app/components/ui/Review/__tests__/Review.spec.ts +15 -0
- package/app/components/ui/Review/types.ts +5 -0
- package/app/components/ui/ScrollTop.vue +82 -0
- package/app/components/ui/Search.vue +54 -0
- package/app/components/ui/Tag/Tag.vue +38 -0
- package/app/components/ui/Tag/__tests__/Tag.spec.ts +10 -0
- package/app/components/ui/Tag/types.ts +16 -0
- package/app/components/ui/VsfLogo.vue +7 -0
- package/app/components/ui/forms/BooleanInput.vue +34 -0
- package/app/components/ui/forms/DateTime.vue +44 -0
- package/app/components/ui/forms/DirectusFormElement.vue +60 -0
- package/app/components/ui/forms/DynamicTableElement.vue +57 -0
- package/app/components/ui/forms/FileInput.vue +85 -0
- package/app/components/ui/forms/FormField.vue +34 -0
- package/app/components/ui/forms/RelationSelect.vue +63 -0
- package/app/components/ui/forms/RepeaterInput.vue +121 -0
- package/app/components/ui/forms/SelectInput.vue +65 -0
- package/app/components/ui/forms/TextArea.vue +59 -0
- package/app/components/ui/forms/TextInput.vue +42 -0
- package/app/components/ui/forms/TiptapEditor.vue +136 -0
- package/app/components/ui/forms/[collection].vue +22 -0
- package/app/components/ui/studio/builder.vue +57 -0
- package/app/components/ui/studio/document.vue +69 -0
- package/app/components/ui/studio/email.vue +57 -0
- package/app/composables/globals/uploadFiles.js +41 -0
- package/app/composables/globals/useAdminTable.ts +12 -0
- package/app/composables/globals/useCustomFetch.ts +13 -0
- package/app/composables/globals/useDirectusField.ts +144 -0
- package/app/composables/globals/useDirectusForm.ts +70 -0
- package/app/composables/globals/useDirectusSchema.js +9 -0
- package/app/composables/globals/useFileManager.ts +76 -0
- package/app/composables/globals/useLivePreview.ts +17 -0
- package/app/composables/globals/useLoading.ts +23 -0
- package/app/composables/globals/useNavigation.js +19 -0
- package/app/composables/globals/useNotifications.ts +153 -0
- package/app/composables/globals/usePages.js +36 -0
- package/app/composables/globals/useRichText.ts +33 -0
- package/app/composables/globals/useServerRootMixin.ts +19 -0
- package/app/composables/globals/useVisualEditing.ts +38 -0
- package/app/composables/media/useFile.ts +6 -0
- package/app/composables/media/useMediaCenter.ts +353 -0
- package/app/composables/media/useVideojs.ts +45 -0
- package/app/composables/registry.ts +13 -0
- package/app/composables/types.ts +12 -0
- package/app/composables/useContent.ts +13 -0
- package/app/composables/useDirectusRequest.ts +32 -0
- package/app/stores/index.ts +0 -0
- package/app/types/api/global-search.ts +8 -0
- package/app/types/blocks/block-button-group.ts +7 -0
- package/app/types/blocks/block-button.ts +14 -0
- package/app/types/blocks/block-column.ts +20 -0
- package/app/types/blocks/block-cta.ts +10 -0
- package/app/types/blocks/block-divider.ts +4 -0
- package/app/types/blocks/block-faq.ts +12 -0
- package/app/types/blocks/block-form.ts +8 -0
- package/app/types/blocks/block-gallery.ts +14 -0
- package/app/types/blocks/block-hero.ts +12 -0
- package/app/types/blocks/block-html.ts +4 -0
- package/app/types/blocks/block-logocloud.ts +14 -0
- package/app/types/blocks/block-quote.ts +11 -0
- package/app/types/blocks/block-richtext.ts +7 -0
- package/app/types/blocks/block-steps.ts +22 -0
- package/app/types/blocks/block-team.ts +6 -0
- package/app/types/blocks/block-testimonial.ts +14 -0
- package/app/types/blocks/block-video.ts +10 -0
- package/app/types/blocks/block.ts +49 -0
- package/app/types/blocks/index.ts +18 -0
- package/app/types/componentMap.ts +15 -0
- package/app/types/content/category.ts +11 -0
- package/app/types/content/form.ts +20 -0
- package/app/types/content/index.ts +6 -0
- package/app/types/content/page.ts +76 -0
- package/app/types/content/post.ts +39 -0
- package/app/types/content/team.ts +16 -0
- package/app/types/content/testimonial.ts +19 -0
- package/app/types/directus.d.ts +47 -0
- package/app/types/env.d.ts +8 -0
- package/app/types/help/index.ts +53 -0
- package/app/types/index.d.ts +9 -0
- package/app/types/index.ts +7 -0
- package/app/types/meta/analytics.ts +18 -0
- package/app/types/meta/config.ts +21 -0
- package/app/types/meta/globals.ts +30 -0
- package/app/types/meta/index.ts +6 -0
- package/app/types/meta/navigation.ts +32 -0
- package/app/types/meta/redirect.ts +13 -0
- package/app/types/meta/seo.ts +19 -0
- package/app/types/os/contact.ts +23 -0
- package/app/types/os/conversation.ts +25 -0
- package/app/types/os/index.ts +16 -0
- package/app/types/os/organization.ts +54 -0
- package/app/types/os/os-activity.ts +28 -0
- package/app/types/os/os-deal.ts +45 -0
- package/app/types/os/os-expense.ts +22 -0
- package/app/types/os/os-invoice.ts +48 -0
- package/app/types/os/os-item.ts +18 -0
- package/app/types/os/os-payment.ts +29 -0
- package/app/types/os/os-project.ts +47 -0
- package/app/types/os/os-proposal.ts +84 -0
- package/app/types/os/os-settings.ts +19 -0
- package/app/types/os/os-subscription.ts +12 -0
- package/app/types/os/os-task.ts +34 -0
- package/app/types/os/os-tax-rate.ts +13 -0
- package/app/types/pageComponentMap.ts +8 -0
- package/app/types/schema.d.ts +39 -0
- package/app/types/schema.ts +151 -0
- package/app/types/system/file.ts +46 -0
- package/app/types/system/folder.ts +8 -0
- package/app/types/system/index.ts +4 -0
- package/app/types/system/role.ts +21 -0
- package/app/types/system/user.ts +56 -0
- package/app/utils/Timer.js +44 -0
- package/app/utils/billing-address.ts +24 -0
- package/app/utils/color.ts +14 -0
- package/app/utils/currency.ts +29 -0
- package/app/utils/embed.ts +57 -0
- package/app/utils/errors.ts +9 -0
- package/app/utils/fieldRegistry.js +89 -0
- package/app/utils/fonts.ts +24 -0
- package/app/utils/formkit.ts +75 -0
- package/app/utils/icons.ts +62 -0
- package/app/utils/index.js +0 -0
- package/app/utils/links.ts +28 -0
- package/app/utils/lodash.ts +33 -0
- package/app/utils/markdown.ts +9 -0
- package/app/utils/math.ts +25 -0
- package/app/utils/navigation.ts +11 -0
- package/app/utils/objects.ts +11 -0
- package/app/utils/paths.ts +21 -0
- package/app/utils/relations.ts +33 -0
- package/app/utils/strings.ts +113 -0
- package/app/utils/time.ts +148 -0
- package/app/utils/url.ts +22 -0
- package/app/utils/user-name.ts +21 -0
- package/app/utils/video/README.md +51 -0
- package/app/utils/video/playlist.js +0 -0
- package/dist/api/global-search.d.ts +8 -0
- package/dist/api/global-search.js +1 -0
- package/dist/blocks/block-button-group.d.ts +6 -0
- package/dist/blocks/block-button-group.js +1 -0
- package/dist/blocks/block-button.d.ts +13 -0
- package/dist/blocks/block-button.js +1 -0
- package/dist/blocks/block-column.d.ts +18 -0
- package/dist/blocks/block-column.js +1 -0
- package/dist/blocks/block-cta.d.ts +11 -0
- package/dist/blocks/block-cta.js +1 -0
- package/dist/blocks/block-divider.d.ts +4 -0
- package/dist/blocks/block-divider.js +1 -0
- package/dist/blocks/block-faq.d.ts +11 -0
- package/dist/blocks/block-faq.js +1 -0
- package/dist/blocks/block-form.d.ts +7 -0
- package/dist/blocks/block-form.js +1 -0
- package/dist/blocks/block-gallery.d.ts +13 -0
- package/dist/blocks/block-gallery.js +1 -0
- package/dist/blocks/block-hero.d.ts +11 -0
- package/dist/blocks/block-hero.js +1 -0
- package/dist/blocks/block-html.d.ts +4 -0
- package/dist/blocks/block-html.js +1 -0
- package/dist/blocks/block-logocloud.d.ts +13 -0
- package/dist/blocks/block-logocloud.js +1 -0
- package/dist/blocks/block-quote.d.ts +10 -0
- package/dist/blocks/block-quote.js +1 -0
- package/dist/blocks/block-richtext.d.ts +7 -0
- package/dist/blocks/block-richtext.js +1 -0
- package/dist/blocks/block-steps.d.ts +21 -0
- package/dist/blocks/block-steps.js +1 -0
- package/dist/blocks/block-team.d.ts +6 -0
- package/dist/blocks/block-team.js +1 -0
- package/dist/blocks/block-testimonial.d.ts +13 -0
- package/dist/blocks/block-testimonial.js +1 -0
- package/dist/blocks/block-video.d.ts +9 -0
- package/dist/blocks/block-video.js +1 -0
- package/dist/blocks/block.d.ts +17 -0
- package/dist/blocks/block.js +1 -0
- package/dist/blocks/index.d.ts +18 -0
- package/dist/blocks/index.js +1 -0
- package/dist/componentMap.d.ts +6 -0
- package/dist/componentMap.js +8 -0
- package/dist/content/category.d.ts +10 -0
- package/dist/content/category.js +1 -0
- package/dist/content/form.d.ts +21 -0
- package/dist/content/form.js +1 -0
- package/dist/content/index.d.ts +6 -0
- package/dist/content/index.js +1 -0
- package/dist/content/page.d.ts +38 -0
- package/dist/content/page.js +1 -0
- package/dist/content/post.d.ts +38 -0
- package/dist/content/post.js +1 -0
- package/dist/content/team.d.ts +17 -0
- package/dist/content/team.js +1 -0
- package/dist/content/testimonial.d.ts +18 -0
- package/dist/content/testimonial.js +1 -0
- package/dist/help/index.d.ts +51 -0
- package/dist/help/index.js +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -0
- package/dist/meta/analytics.d.ts +21 -0
- package/dist/meta/analytics.js +1 -0
- package/dist/meta/config.d.ts +22 -0
- package/dist/meta/config.js +1 -0
- package/dist/meta/globals.d.ts +33 -0
- package/dist/meta/globals.js +1 -0
- package/dist/meta/index.d.ts +6 -0
- package/dist/meta/index.js +1 -0
- package/dist/meta/navigation.d.ts +31 -0
- package/dist/meta/navigation.js +1 -0
- package/dist/meta/redirect.d.ts +12 -0
- package/dist/meta/redirect.js +1 -0
- package/dist/meta/seo.d.ts +19 -0
- package/dist/meta/seo.js +1 -0
- package/dist/os/contact.d.ts +22 -0
- package/dist/os/contact.js +1 -0
- package/dist/os/conversation.d.ts +23 -0
- package/dist/os/conversation.js +1 -0
- package/dist/os/index.d.ts +16 -0
- package/dist/os/index.js +1 -0
- package/dist/os/organization.d.ts +51 -0
- package/dist/os/organization.js +1 -0
- package/dist/os/os-activity.d.ts +26 -0
- package/dist/os/os-activity.js +1 -0
- package/dist/os/os-deal.d.ts +42 -0
- package/dist/os/os-deal.js +1 -0
- package/dist/os/os-expense.d.ts +21 -0
- package/dist/os/os-expense.js +1 -0
- package/dist/os/os-invoice.d.ts +46 -0
- package/dist/os/os-invoice.js +1 -0
- package/dist/os/os-item.d.ts +17 -0
- package/dist/os/os-item.js +1 -0
- package/dist/os/os-payment.d.ts +27 -0
- package/dist/os/os-payment.js +1 -0
- package/dist/os/os-project.d.ts +45 -0
- package/dist/os/os-project.js +1 -0
- package/dist/os/os-proposal.d.ts +61 -0
- package/dist/os/os-proposal.js +1 -0
- package/dist/os/os-settings.d.ts +17 -0
- package/dist/os/os-settings.js +1 -0
- package/dist/os/os-subscription.d.ts +12 -0
- package/dist/os/os-subscription.js +1 -0
- package/dist/os/os-task.d.ts +32 -0
- package/dist/os/os-task.js +1 -0
- package/dist/os/os-tax-rate.d.ts +12 -0
- package/dist/os/os-tax-rate.js +1 -0
- package/dist/pageComponentMap.d.ts +2 -0
- package/dist/pageComponentMap.js +7 -0
- package/dist/schema.d.ts +78 -0
- package/dist/schema.js +1 -0
- package/dist/system/file.d.ts +47 -0
- package/dist/system/file.js +1 -0
- package/dist/system/folder.d.ts +8 -0
- package/dist/system/folder.js +1 -0
- package/dist/system/index.d.ts +4 -0
- package/dist/system/index.js +1 -0
- package/dist/system/role.d.ts +20 -0
- package/dist/system/role.js +1 -0
- package/dist/system/user.d.ts +57 -0
- package/dist/system/user.js +1 -0
- package/nuxt.config.ts +5 -0
- package/package.json +42 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Testimonial } from '../content';
|
|
2
|
+
export interface BlockTestimonial {
|
|
3
|
+
headline?: string | null;
|
|
4
|
+
id?: string;
|
|
5
|
+
title?: string | null;
|
|
6
|
+
testimonials?: (string | BlockTestimonialItem)[];
|
|
7
|
+
}
|
|
8
|
+
export interface BlockTestimonialItem {
|
|
9
|
+
block_testimonials_slider_id?: (string | BlockTestimonial) | null;
|
|
10
|
+
id?: string;
|
|
11
|
+
sort?: number | null;
|
|
12
|
+
testimonials_id?: (string | Testimonial) | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BlockColumn } from './block-column';
|
|
2
|
+
import type { BlockCta } from './block-cta';
|
|
3
|
+
import type { BlockFaq } from './block-faq';
|
|
4
|
+
import type { BlockForm } from './block-form';
|
|
5
|
+
import type { BlockGallery } from './block-gallery';
|
|
6
|
+
import type { BlockHero } from './block-hero';
|
|
7
|
+
import type { BlockHtml } from './block-html';
|
|
8
|
+
import type { BlockLogocloud } from './block-logocloud';
|
|
9
|
+
import type { BlockQuote } from './block-quote';
|
|
10
|
+
import type { BlockRichtext } from './block-richtext';
|
|
11
|
+
import type { BlockStep } from './block-steps';
|
|
12
|
+
import type { BlockTeam } from './block-team';
|
|
13
|
+
import type { BlockTestimonial } from './block-testimonial';
|
|
14
|
+
import type { BlockVideo } from './block-video';
|
|
15
|
+
import type { BlockDivider } from './block-divider';
|
|
16
|
+
export type BlockType = 'block_columns' | 'block_cta' | 'block_faqs' | 'block_form' | 'block_gallery' | 'block_hero' | 'block_html' | 'block_logocloud' | 'block_quote' | 'block_richtext' | 'block_steps' | 'block_team' | 'block_testimonials' | 'block_video' | 'block_divider';
|
|
17
|
+
export type Block = BlockColumn | BlockCta | BlockFaq | BlockForm | BlockGallery | BlockHero | BlockHtml | BlockLogocloud | BlockQuote | BlockRichtext | BlockStep | BlockTeam | BlockTestimonial | BlockVideo | BlockDivider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type * from './block-column';
|
|
2
|
+
export type * from './block-cta';
|
|
3
|
+
export type * from './block-faq';
|
|
4
|
+
export type * from './block-form';
|
|
5
|
+
export type * from './block-gallery';
|
|
6
|
+
export type * from './block-hero';
|
|
7
|
+
export type * from './block-html';
|
|
8
|
+
export type * from './block-logocloud';
|
|
9
|
+
export type * from './block-quote';
|
|
10
|
+
export type * from './block-richtext';
|
|
11
|
+
export type * from './block-steps';
|
|
12
|
+
export type * from './block-team';
|
|
13
|
+
export type * from './block-testimonial';
|
|
14
|
+
export type * from './block-video';
|
|
15
|
+
export type * from './block-button-group';
|
|
16
|
+
export type * from './block-button';
|
|
17
|
+
export type * from './block-divider';
|
|
18
|
+
export type * from './block';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const componentMap = [
|
|
2
|
+
() => import('../../../social/app/components/features/spaceSections/defaultSpaces.vue'),
|
|
3
|
+
() => import('../../../social/app/components/features/spaceSections/audioSpaces.vue'),
|
|
4
|
+
() => import('../../../social/app/components/features/spaceSections/videoSpaces.vue'),
|
|
5
|
+
() => import('../../../social/app/components/features/spaceSections/imageSpaces.vue'),
|
|
6
|
+
() => import('../../../social/app/components/features/spaceSections/textSpaces.vue'),
|
|
7
|
+
];
|
|
8
|
+
export default componentMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
export interface Form {
|
|
3
|
+
date_created?: string | null;
|
|
4
|
+
date_updated?: string | null;
|
|
5
|
+
id?: string;
|
|
6
|
+
key?: string | null;
|
|
7
|
+
on_success?: string | null;
|
|
8
|
+
redirect_url?: string | null;
|
|
9
|
+
/** The fields for the form. */
|
|
10
|
+
schema?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}[] | null;
|
|
13
|
+
sort?: number | null;
|
|
14
|
+
status?: string;
|
|
15
|
+
/** The text for the submit button label. */
|
|
16
|
+
submit_label?: string | null;
|
|
17
|
+
success_message?: string | null;
|
|
18
|
+
title?: string | null;
|
|
19
|
+
user_created?: string | User | null;
|
|
20
|
+
user_updated?: string | User | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { SEO } from '../meta';
|
|
2
|
+
import type { User } from '../system';
|
|
3
|
+
import type { Post } from '.';
|
|
4
|
+
import type { BlockColumn, BlockCta, BlockFaq, BlockForm, BlockGallery, BlockHero, BlockHtml, BlockLogocloud, BlockQuote, BlockRichtext, BlockStep, BlockTeam, BlockTestimonial, BlockVideo, BlockType } from '../blocks';
|
|
5
|
+
export interface Page {
|
|
6
|
+
id?: string;
|
|
7
|
+
permalink: string;
|
|
8
|
+
date_created?: string | null;
|
|
9
|
+
date_updated?: string | null;
|
|
10
|
+
seo?: (string | SEO) | null;
|
|
11
|
+
sort?: number | null;
|
|
12
|
+
status?: string;
|
|
13
|
+
title?: string | null;
|
|
14
|
+
user_created?: (string | User) | null;
|
|
15
|
+
user_updated?: (string | User) | null;
|
|
16
|
+
blocks?: (string | PageBlock)[];
|
|
17
|
+
}
|
|
18
|
+
export interface PageBlock {
|
|
19
|
+
collection?: BlockType | null;
|
|
20
|
+
id?: string;
|
|
21
|
+
item?: (string | BlockColumn | BlockCta | BlockFaq | BlockForm | BlockGallery | BlockHero | BlockHtml | BlockLogocloud | BlockQuote | BlockRichtext | BlockStep | BlockTeam | BlockTestimonial | BlockVideo)[] | null;
|
|
22
|
+
pages_id?: (string | Page) | null;
|
|
23
|
+
sort?: number | null;
|
|
24
|
+
hide_block?: boolean | null;
|
|
25
|
+
}
|
|
26
|
+
export interface PagesProjects {
|
|
27
|
+
id?: string;
|
|
28
|
+
title?: string | null;
|
|
29
|
+
headline?: string | null | undefined;
|
|
30
|
+
seo: (string | SEO) | null;
|
|
31
|
+
}
|
|
32
|
+
export interface PagesBlog {
|
|
33
|
+
id?: string;
|
|
34
|
+
title?: string | null;
|
|
35
|
+
headline?: string | null;
|
|
36
|
+
featured_post?: (string | Post) | null;
|
|
37
|
+
seo: (string | SEO) | null;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { File } from '../system';
|
|
2
|
+
import type { SEO } from '../meta';
|
|
3
|
+
import type { Category, Team } from '.';
|
|
4
|
+
export interface Post {
|
|
5
|
+
author?: (string | Team) | null;
|
|
6
|
+
category?: (string | Category) | null;
|
|
7
|
+
content?: string | null;
|
|
8
|
+
date_created?: string | null;
|
|
9
|
+
date_published?: string | null;
|
|
10
|
+
date_updated?: string | null;
|
|
11
|
+
id?: string;
|
|
12
|
+
image?: (string | File) | null;
|
|
13
|
+
seo?: (string | SEO) | null;
|
|
14
|
+
slug?: string | null;
|
|
15
|
+
sort?: number | null;
|
|
16
|
+
status?: 'draft' | 'published' | 'scheduled' | 'in_review' | 'archived';
|
|
17
|
+
summary?: string | null;
|
|
18
|
+
title?: string | null;
|
|
19
|
+
user_created?: string | null;
|
|
20
|
+
user_updated?: string | null;
|
|
21
|
+
links?: string;
|
|
22
|
+
type?: PostType;
|
|
23
|
+
details?: string;
|
|
24
|
+
gallery?: (number | ProjectFile)[];
|
|
25
|
+
built_with?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
} | null;
|
|
28
|
+
client?: string | null;
|
|
29
|
+
cost?: string | null;
|
|
30
|
+
video_url?: string | null;
|
|
31
|
+
}
|
|
32
|
+
export type PostType = 'blog' | 'video' | 'project';
|
|
33
|
+
export interface ProjectFile {
|
|
34
|
+
directus_files_id?: (string | File) | null;
|
|
35
|
+
id?: number;
|
|
36
|
+
project?: (string | File) | null;
|
|
37
|
+
sort?: number | null;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { User, File } from '../system';
|
|
2
|
+
export interface Team {
|
|
3
|
+
bio?: string | null;
|
|
4
|
+
date_created?: string | null;
|
|
5
|
+
date_updated?: string | null;
|
|
6
|
+
id?: string;
|
|
7
|
+
image?: (string | File) | null;
|
|
8
|
+
job_title?: string | null;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
social_media?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
} | null;
|
|
13
|
+
sort?: number | null;
|
|
14
|
+
status?: string;
|
|
15
|
+
user_created?: string | User | null;
|
|
16
|
+
user_updated?: string | User | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
export interface Testimonial {
|
|
3
|
+
company?: string | null;
|
|
4
|
+
company_logo?: (string | File) | null;
|
|
5
|
+
content?: string | null;
|
|
6
|
+
date_created?: string | null;
|
|
7
|
+
date_updated?: string | null;
|
|
8
|
+
id?: string;
|
|
9
|
+
image?: (string | File) | null;
|
|
10
|
+
link?: string | null;
|
|
11
|
+
sort?: number | null;
|
|
12
|
+
status?: string;
|
|
13
|
+
subtitle?: string | null;
|
|
14
|
+
title?: string | null;
|
|
15
|
+
user_created?: string | User | null;
|
|
16
|
+
user_updated?: string | User | null;
|
|
17
|
+
company_info?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
import type { Form } from '../content';
|
|
3
|
+
export interface HelpArticle {
|
|
4
|
+
content?: string | null;
|
|
5
|
+
date_created?: string | null;
|
|
6
|
+
date_updated?: string | null;
|
|
7
|
+
help_collection?: (string | HelpCollection) | null;
|
|
8
|
+
id?: string;
|
|
9
|
+
owner?: string | User | null;
|
|
10
|
+
slug?: string | null;
|
|
11
|
+
sort?: number | null;
|
|
12
|
+
status?: string;
|
|
13
|
+
summary?: string | null;
|
|
14
|
+
title?: string | null;
|
|
15
|
+
user_created?: string | User | null;
|
|
16
|
+
user_updated?: string | User | null;
|
|
17
|
+
}
|
|
18
|
+
export interface HelpCollection {
|
|
19
|
+
description?: string | null;
|
|
20
|
+
icon?: string | null;
|
|
21
|
+
id?: string;
|
|
22
|
+
slug?: string | null;
|
|
23
|
+
sort?: number | null;
|
|
24
|
+
title?: string | null;
|
|
25
|
+
articles?: (string | HelpArticle)[];
|
|
26
|
+
}
|
|
27
|
+
export interface HelpFeedback {
|
|
28
|
+
comments?: string | null;
|
|
29
|
+
date_created?: string | null;
|
|
30
|
+
date_updated?: string | null;
|
|
31
|
+
id?: string;
|
|
32
|
+
rating?: number | null;
|
|
33
|
+
title?: string | null;
|
|
34
|
+
url?: string | null;
|
|
35
|
+
user_created?: string | User | null;
|
|
36
|
+
user_updated?: string | User | null;
|
|
37
|
+
visitor_id?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export interface Inbox {
|
|
40
|
+
data?: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
} | null;
|
|
43
|
+
date_created?: string | null;
|
|
44
|
+
date_updated?: string | null;
|
|
45
|
+
form?: (string | Form) | null;
|
|
46
|
+
id?: string;
|
|
47
|
+
sort?: number | null;
|
|
48
|
+
status?: string;
|
|
49
|
+
user_created?: string | User | null;
|
|
50
|
+
user_updated?: string | User | null;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Event {
|
|
2
|
+
id?: string;
|
|
3
|
+
key?: string | null;
|
|
4
|
+
metadata?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
} | null;
|
|
7
|
+
service?: string | null;
|
|
8
|
+
session?: string | null;
|
|
9
|
+
timestamp?: string | null;
|
|
10
|
+
user?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export interface Metric {
|
|
13
|
+
id?: string;
|
|
14
|
+
key?: string | null;
|
|
15
|
+
metadata?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
} | null;
|
|
18
|
+
service?: string | null;
|
|
19
|
+
timestamp?: string | null;
|
|
20
|
+
value?: number | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SEO } from '.';
|
|
2
|
+
export interface ChatConfig {
|
|
3
|
+
/** Would you like to enable the chat / messenger widget on the site? */
|
|
4
|
+
enabled?: boolean | null;
|
|
5
|
+
hours?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
} | null;
|
|
8
|
+
id?: string;
|
|
9
|
+
modules?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
} | null;
|
|
12
|
+
require_email?: string | null;
|
|
13
|
+
}
|
|
14
|
+
export interface PageSettings {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}
|
|
17
|
+
export interface ProjectsSettings {
|
|
18
|
+
headline?: string | null;
|
|
19
|
+
id?: string;
|
|
20
|
+
seo?: (string | SEO) | null;
|
|
21
|
+
title?: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { File } from '../system/index.js';
|
|
2
|
+
export interface Globals {
|
|
3
|
+
address_country?: string | null;
|
|
4
|
+
address_locality?: string | null;
|
|
5
|
+
address_region?: string | null;
|
|
6
|
+
/** URL for the build / deploy hook that starts a new build */
|
|
7
|
+
build_hook_url?: string | null;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
email?: string | null;
|
|
10
|
+
id?: string;
|
|
11
|
+
og_image?: (string | File) | null;
|
|
12
|
+
phone?: string | null;
|
|
13
|
+
postal_code?: string | null;
|
|
14
|
+
routes?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
} | null;
|
|
17
|
+
social_links: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
} | null;
|
|
20
|
+
street_address?: string | null;
|
|
21
|
+
/** What's the website title? */
|
|
22
|
+
tagline?: string | null;
|
|
23
|
+
/** What's the website title? */
|
|
24
|
+
title?: string | null;
|
|
25
|
+
/** What's is the base url for the site? */
|
|
26
|
+
url?: string | null;
|
|
27
|
+
contact?: string;
|
|
28
|
+
deployment?: string;
|
|
29
|
+
/** This will be the default metadata used for SEO */
|
|
30
|
+
seo?: string;
|
|
31
|
+
social?: string;
|
|
32
|
+
notice_deployment?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { User } from '../system/index.js';
|
|
2
|
+
import type { Page } from '../content/index.js';
|
|
3
|
+
export interface Navigation {
|
|
4
|
+
date_created?: string | null;
|
|
5
|
+
date_updated?: string | null;
|
|
6
|
+
id?: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
title?: string | null;
|
|
9
|
+
user_created?: string | User | null;
|
|
10
|
+
user_updated?: string | User | null;
|
|
11
|
+
items?: (string | NavigationItem)[];
|
|
12
|
+
}
|
|
13
|
+
export interface NavigationItem {
|
|
14
|
+
has_children?: boolean | null;
|
|
15
|
+
/** Icon that displays in dropdown menus on website. */
|
|
16
|
+
icon?: string | null;
|
|
17
|
+
id?: string;
|
|
18
|
+
/** Label to help User. Displays below the link in dropdown nav menus. */
|
|
19
|
+
label?: string | null;
|
|
20
|
+
navigation?: (string | Navigation) | null;
|
|
21
|
+
open_in_new_tab?: boolean | null;
|
|
22
|
+
page?: (string | Page) | null;
|
|
23
|
+
parent?: (string | NavigationItem) | null;
|
|
24
|
+
sort?: number | null;
|
|
25
|
+
title?: string | null;
|
|
26
|
+
type?: string | null;
|
|
27
|
+
url?: string | null;
|
|
28
|
+
children?: (string | NavigationItem)[];
|
|
29
|
+
/** Control the icon and label displayed on the website. */
|
|
30
|
+
display_details?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
export interface Redirect {
|
|
3
|
+
date_created?: string | null;
|
|
4
|
+
date_updated?: string | null;
|
|
5
|
+
id?: string;
|
|
6
|
+
response_code?: number | null | string;
|
|
7
|
+
url_new: string;
|
|
8
|
+
url_old: string;
|
|
9
|
+
user_created?: string | User | null;
|
|
10
|
+
user_updated?: string | User | null;
|
|
11
|
+
notice_redirects?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SEO {
|
|
2
|
+
/** Where should the canonical URL for this entry point to. */
|
|
3
|
+
canonical_url?: string | null;
|
|
4
|
+
id?: string;
|
|
5
|
+
/** This entries meta description. Max 160 characters. */
|
|
6
|
+
meta_description?: string | null;
|
|
7
|
+
/** Instruct crawlers not to follow links on this page. */
|
|
8
|
+
no_follow?: boolean | null;
|
|
9
|
+
/** Instruct crawlers not to index this entry. */
|
|
10
|
+
no_index?: boolean | null;
|
|
11
|
+
/** This item's OG image. Defaults to global site OG image. The recommended size is 1200px x 630px. The image will be focal cropped to this dimension. */
|
|
12
|
+
og_image?: (string | File) | null;
|
|
13
|
+
/** How often to instruct search engines to crawl. */
|
|
14
|
+
sitemap_change_frequency?: string | null;
|
|
15
|
+
/** Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites, it only lets the search engines know which pages you deem most important for the crawlers. */
|
|
16
|
+
sitemap_priority?: number | null;
|
|
17
|
+
/** This entries title, defaults to title. Max 70 characters including the site name. */
|
|
18
|
+
title?: string | null;
|
|
19
|
+
}
|
package/dist/meta/seo.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
import type { OrganizationContact, OsDealContact, OsActivityContact } from '.';
|
|
3
|
+
export interface Contact {
|
|
4
|
+
id?: string;
|
|
5
|
+
/** Is this an active contact? */
|
|
6
|
+
status?: string | null;
|
|
7
|
+
user_created?: (string | User) | null;
|
|
8
|
+
date_created?: string | null;
|
|
9
|
+
user_updated?: (string | User) | null;
|
|
10
|
+
date_updated?: string | null;
|
|
11
|
+
first_name?: string | null;
|
|
12
|
+
last_name?: string | null;
|
|
13
|
+
user?: (string | User) | null;
|
|
14
|
+
email?: string | null;
|
|
15
|
+
phone?: string | null;
|
|
16
|
+
job_title?: string | null;
|
|
17
|
+
contact_notes?: string | null;
|
|
18
|
+
organizations?: (string | OrganizationContact)[];
|
|
19
|
+
os_deals?: (string | OsDealContact)[];
|
|
20
|
+
activity?: string;
|
|
21
|
+
activities?: (string | OsActivityContact)[];
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { User } from '../system';
|
|
2
|
+
export interface Conversation {
|
|
3
|
+
date_created?: string | null;
|
|
4
|
+
date_updated?: string | null;
|
|
5
|
+
id?: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
title?: string | null;
|
|
8
|
+
visitor_id?: string | null;
|
|
9
|
+
item?: string | null;
|
|
10
|
+
collection?: string | null;
|
|
11
|
+
messages?: (string | Message)[];
|
|
12
|
+
}
|
|
13
|
+
export interface Message {
|
|
14
|
+
conversation?: (string | Conversation) | null;
|
|
15
|
+
date_created?: string | null;
|
|
16
|
+
date_updated?: string | null;
|
|
17
|
+
id?: string;
|
|
18
|
+
text?: string | null;
|
|
19
|
+
user_created?: (string | User) | null;
|
|
20
|
+
user_updated?: (string | User) | null;
|
|
21
|
+
visitor_id?: string | null;
|
|
22
|
+
contact_id?: string | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type * from './contact';
|
|
2
|
+
export type * from './conversation';
|
|
3
|
+
export type * from './index';
|
|
4
|
+
export type * from './organization';
|
|
5
|
+
export type * from './os-activity';
|
|
6
|
+
export type * from './os-deal';
|
|
7
|
+
export type * from './os-expense';
|
|
8
|
+
export type * from './os-invoice';
|
|
9
|
+
export type * from './os-item';
|
|
10
|
+
export type * from './os-payment';
|
|
11
|
+
export type * from './os-project';
|
|
12
|
+
export type * from './os-proposal';
|
|
13
|
+
export type * from './os-settings';
|
|
14
|
+
export type * from './os-subscription';
|
|
15
|
+
export type * from './os-task';
|
|
16
|
+
export type * from './os-tax-rate';
|
package/dist/os/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|