@meeovi/layer-shared 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/nuxt.config.ts +12 -2
  2. package/package.json +2 -1
  3. package/src/mappers/createMapper.ts +11 -0
  4. package/src/mappers/errors.ts +13 -0
  5. package/src/mappers/index.ts +7 -0
  6. package/src/mappers/registry.ts +28 -0
  7. package/src/mappers/testHarness.ts +142 -0
  8. package/src/mappers/types.ts +6 -0
  9. package/src/mappers/zodMapper.ts +37 -0
  10. package/src/runtime/plugin.ts +5 -0
  11. package/src/runtime/server/tsconfig.json +3 -0
  12. package/src/schema/commerce/attributes.ts +10 -0
  13. package/src/schema/commerce/blocks.ts +7 -0
  14. package/src/schema/commerce/bundleProduts.ts +12 -0
  15. package/src/schema/commerce/cart.ts +35 -0
  16. package/src/schema/commerce/category.ts +15 -0
  17. package/src/schema/commerce/checkout.ts +11 -0
  18. package/src/schema/commerce/company.ts +8 -0
  19. package/src/schema/commerce/configurableProducts.ts +11 -0
  20. package/src/schema/commerce/coupons.ts +10 -0
  21. package/src/schema/commerce/credit-memos.ts +50 -0
  22. package/src/schema/commerce/digitalProducts.ts +13 -0
  23. package/src/schema/commerce/directory.ts +8 -0
  24. package/src/schema/commerce/events.ts +30 -0
  25. package/src/schema/commerce/gift-registry.ts +9 -0
  26. package/src/schema/commerce/guest-cart.ts +6 -0
  27. package/src/schema/commerce/inventory.ts +9 -0
  28. package/src/schema/commerce/invoices.ts +49 -0
  29. package/src/schema/commerce/orders.ts +39 -0
  30. package/src/schema/commerce/payments.ts +11 -0
  31. package/src/schema/commerce/price.ts +12 -0
  32. package/src/schema/commerce/product-types.ts +9 -0
  33. package/src/schema/commerce/product.ts +23 -0
  34. package/src/schema/commerce/quotes.ts +10 -0
  35. package/src/schema/commerce/requisition-lists.ts +7 -0
  36. package/src/schema/commerce/returns.ts +11 -0
  37. package/src/schema/commerce/reward.ts +8 -0
  38. package/src/schema/commerce/rules.ts +8 -0
  39. package/src/schema/commerce/shipment.ts +21 -0
  40. package/src/schema/commerce/shops.ts +10 -0
  41. package/src/schema/commerce/stockItems.ts +8 -0
  42. package/src/schema/commerce/store.ts +8 -0
  43. package/src/schema/commerce/subscriptons.ts +11 -0
  44. package/src/schema/commerce/taxRates.ts +9 -0
  45. package/src/schema/commerce/taxRules.ts +8 -0
  46. package/src/schema/commerce/teams.ts +7 -0
  47. package/src/schema/commerce/transactions.ts +13 -0
  48. package/src/schema/identity/customerGroup.ts +8 -0
  49. package/src/schema/identity/user.ts +47 -0
  50. package/src/schema/media/asset.ts +31 -0
  51. package/src/schema/social/post.ts +28 -0
  52. package/src/schema/social/profile.ts +25 -0
  53. package/src/schema/social/space.ts +19 -0
  54. package/src/utils/assert.ts +8 -0
  55. package/src/utils/deepMerge.ts +21 -0
  56. package/src/utils/index.ts +4 -0
  57. package/src/utils/isObject.ts +7 -0
  58. package/src/utils/module.ts +19 -0
  59. package/src/utils/safeGet.ts +8 -0
  60. package/app/types/api/global-search.ts +0 -8
  61. package/app/types/blocks/block-button-group.ts +0 -7
  62. package/app/types/blocks/block-button.ts +0 -14
  63. package/app/types/blocks/block-column.ts +0 -20
  64. package/app/types/blocks/block-cta.ts +0 -10
  65. package/app/types/blocks/block-divider.ts +0 -4
  66. package/app/types/blocks/block-faq.ts +0 -12
  67. package/app/types/blocks/block-form.ts +0 -8
  68. package/app/types/blocks/block-gallery.ts +0 -14
  69. package/app/types/blocks/block-hero.ts +0 -12
  70. package/app/types/blocks/block-html.ts +0 -4
  71. package/app/types/blocks/block-logocloud.ts +0 -14
  72. package/app/types/blocks/block-quote.ts +0 -11
  73. package/app/types/blocks/block-richtext.ts +0 -7
  74. package/app/types/blocks/block-steps.ts +0 -22
  75. package/app/types/blocks/block-team.ts +0 -6
  76. package/app/types/blocks/block-testimonial.ts +0 -14
  77. package/app/types/blocks/block-video.ts +0 -10
  78. package/app/types/blocks/block.ts +0 -49
  79. package/app/types/blocks/index.ts +0 -18
  80. package/app/types/componentMap.ts +0 -15
  81. package/app/types/content/category.ts +0 -11
  82. package/app/types/content/form.ts +0 -20
  83. package/app/types/content/index.ts +0 -6
  84. package/app/types/content/page.ts +0 -76
  85. package/app/types/content/post.ts +0 -39
  86. package/app/types/content/team.ts +0 -16
  87. package/app/types/content/testimonial.ts +0 -19
  88. package/app/types/directus.d.ts +0 -47
  89. package/app/types/env.d.ts +0 -8
  90. package/app/types/help/index.ts +0 -53
  91. package/app/types/index.d.ts +0 -9
  92. package/app/types/index.ts +0 -7
  93. package/app/types/meta/analytics.ts +0 -18
  94. package/app/types/meta/config.ts +0 -21
  95. package/app/types/meta/globals.ts +0 -30
  96. package/app/types/meta/index.ts +0 -6
  97. package/app/types/meta/navigation.ts +0 -32
  98. package/app/types/meta/redirect.ts +0 -13
  99. package/app/types/meta/seo.ts +0 -19
  100. package/app/types/os/contact.ts +0 -23
  101. package/app/types/os/conversation.ts +0 -25
  102. package/app/types/os/index.ts +0 -16
  103. package/app/types/os/organization.ts +0 -54
  104. package/app/types/os/os-activity.ts +0 -28
  105. package/app/types/os/os-deal.ts +0 -45
  106. package/app/types/os/os-expense.ts +0 -22
  107. package/app/types/os/os-invoice.ts +0 -48
  108. package/app/types/os/os-item.ts +0 -18
  109. package/app/types/os/os-payment.ts +0 -29
  110. package/app/types/os/os-project.ts +0 -47
  111. package/app/types/os/os-proposal.ts +0 -84
  112. package/app/types/os/os-settings.ts +0 -19
  113. package/app/types/os/os-subscription.ts +0 -12
  114. package/app/types/os/os-task.ts +0 -34
  115. package/app/types/os/os-tax-rate.ts +0 -13
  116. package/app/types/pageComponentMap.ts +0 -8
  117. package/app/types/schema.d.ts +0 -39
  118. package/app/types/schema.ts +0 -151
  119. package/app/types/system/file.ts +0 -46
  120. package/app/types/system/folder.ts +0 -8
  121. package/app/types/system/index.ts +0 -4
  122. package/app/types/system/role.ts +0 -21
  123. package/app/types/system/user.ts +0 -56
@@ -1,10 +0,0 @@
1
- import type { File } from '../system';
2
-
3
- export interface BlockVideo {
4
- headline?: string | null;
5
- id?: string;
6
- title?: string | null;
7
- type?: string | null;
8
- video_file?: (string | File) | null;
9
- video_url?: string | null;
10
- }
@@ -1,49 +0,0 @@
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
-
17
- export type BlockType =
18
- | 'block_columns'
19
- | 'block_cta'
20
- | 'block_faqs'
21
- | 'block_form'
22
- | 'block_gallery'
23
- | 'block_hero'
24
- | 'block_html'
25
- | 'block_logocloud'
26
- | 'block_quote'
27
- | 'block_richtext'
28
- | 'block_steps'
29
- | 'block_team'
30
- | 'block_testimonials'
31
- | 'block_video'
32
- | 'block_divider';
33
-
34
- export type Block =
35
- | BlockColumn
36
- | BlockCta
37
- | BlockFaq
38
- | BlockForm
39
- | BlockGallery
40
- | BlockHero
41
- | BlockHtml
42
- | BlockLogocloud
43
- | BlockQuote
44
- | BlockRichtext
45
- | BlockStep
46
- | BlockTeam
47
- | BlockTestimonial
48
- | BlockVideo
49
- | BlockDivider;
@@ -1,18 +0,0 @@
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';
@@ -1,15 +0,0 @@
1
- // types/componentMap.ts
2
- // Typed central place for space content component loaders
3
- import type { DefineComponent } from 'vue'
4
-
5
- export type AsyncComponentLoader = () => Promise<DefineComponent | { default: DefineComponent } | any>
6
-
7
- export const componentMap: AsyncComponentLoader[] = [
8
- () => import('../../../social/app/components/features/spaceSections/defaultSpaces.vue'),
9
- () => import('../../../social/app/components/features/spaceSections/audioSpaces.vue'),
10
- () => import('../../../social/app/components/features/spaceSections/videoSpaces.vue'),
11
- () => import('../../../social/app/components/features/spaceSections/imageSpaces.vue'),
12
- () => import('../../../social/app/components/features/spaceSections/textSpaces.vue'),
13
- ]
14
-
15
- export default componentMap
@@ -1,11 +0,0 @@
1
- import type { SEO } from '../meta';
2
-
3
- export interface Category {
4
- color?: string | null;
5
- content?: string | null;
6
- id?: string;
7
- seo?: (string | SEO) | null;
8
- slug?: string | null;
9
- sort?: number | null;
10
- title?: string | null;
11
- }
@@ -1,20 +0,0 @@
1
- import type { User } from '../system';
2
-
3
- export interface Form {
4
- date_created?: string | null;
5
- date_updated?: string | null;
6
- id?: string;
7
- key?: string | null;
8
- on_success?: string | null;
9
- redirect_url?: string | null;
10
- /** The fields for the form. */
11
- schema?: { [key: string]: any }[] | null;
12
- sort?: number | null;
13
- status?: string;
14
- /** The text for the submit button label. */
15
- submit_label?: string | null;
16
- success_message?: string | null;
17
- title?: string | null;
18
- user_created?: string | User | null;
19
- user_updated?: string | User | null;
20
- }
@@ -1,6 +0,0 @@
1
- export type * from './page';
2
- export type * from './team';
3
- export type * from './testimonial';
4
- export type * from './category';
5
- export type * from './post';
6
- export type * from './form';
@@ -1,76 +0,0 @@
1
- import type { SEO } from '../meta';
2
- import type { User } from '../system';
3
- import type { Post } from '.';
4
- import type {
5
- BlockColumn,
6
- BlockCta,
7
- BlockFaq,
8
- BlockForm,
9
- BlockGallery,
10
- BlockHero,
11
- BlockHtml,
12
- BlockLogocloud,
13
- BlockQuote,
14
- BlockRichtext,
15
- BlockStep,
16
- BlockTeam,
17
- BlockTestimonial,
18
- BlockVideo,
19
- BlockType,
20
- } from '../blocks';
21
-
22
- export interface Page {
23
- id?: string;
24
- permalink: string;
25
- date_created?: string | null;
26
- date_updated?: string | null;
27
- seo?: (string | SEO) | null;
28
- sort?: number | null;
29
- status?: string;
30
- title?: string | null;
31
- user_created?: (string | User) | null;
32
- user_updated?: (string | User) | null;
33
- blocks?: (string | PageBlock)[];
34
- }
35
-
36
- export interface PageBlock {
37
- collection?: BlockType | null;
38
- id?: string;
39
- item?:
40
- | (
41
- | string
42
- | BlockColumn
43
- | BlockCta
44
- | BlockFaq
45
- | BlockForm
46
- | BlockGallery
47
- | BlockHero
48
- | BlockHtml
49
- | BlockLogocloud
50
- | BlockQuote
51
- | BlockRichtext
52
- | BlockStep
53
- | BlockTeam
54
- | BlockTestimonial
55
- | BlockVideo
56
- )[]
57
- | null;
58
- pages_id?: (string | Page) | null;
59
- sort?: number | null;
60
- hide_block?: boolean | null;
61
- }
62
-
63
- export interface PagesProjects {
64
- id?: string;
65
- title?: string | null;
66
- headline?: string | null | undefined;
67
- seo: (string | SEO) | null;
68
- }
69
-
70
- export interface PagesBlog {
71
- id?: string;
72
- title?: string | null;
73
- headline?: string | null;
74
- featured_post?: (string | Post) | null;
75
- seo: (string | SEO) | null;
76
- }
@@ -1,39 +0,0 @@
1
- import type { User, File } from '../system';
2
- import type { SEO } from '../meta';
3
- import type { Category, Team } from '.';
4
-
5
- export interface Post {
6
- author?: (string | Team) | null;
7
- category?: (string | Category) | null;
8
- content?: string | null;
9
- date_created?: string | null;
10
- date_published?: string | null;
11
- date_updated?: string | null;
12
- id?: string;
13
- image?: (string | File) | null;
14
- seo?: (string | SEO) | null;
15
- slug?: string | null;
16
- sort?: number | null;
17
- status?: 'draft' | 'published' | 'scheduled' | 'in_review' | 'archived';
18
- summary?: string | null;
19
- title?: string | null;
20
- user_created?: string | null;
21
- user_updated?: string | null;
22
- links?: string;
23
- type?: PostType;
24
- details?: string;
25
- gallery?: (number | ProjectFile)[];
26
- built_with?: { [key: string]: any } | null;
27
- client?: string | null;
28
- cost?: string | null;
29
- video_url?: string | null;
30
- }
31
-
32
- export type PostType = 'blog' | 'video' | 'project';
33
-
34
- export interface ProjectFile {
35
- directus_files_id?: (string | File) | null;
36
- id?: number;
37
- project?: (string | File) | null;
38
- sort?: number | null;
39
- }
@@ -1,16 +0,0 @@
1
- import type { User, File } from '../system';
2
-
3
- export interface Team {
4
- bio?: string | null;
5
- date_created?: string | null;
6
- date_updated?: string | null;
7
- id?: string;
8
- image?: (string | File) | null;
9
- job_title?: string | null;
10
- name?: string | null;
11
- social_media?: { [key: string]: any } | null;
12
- sort?: number | null;
13
- status?: string;
14
- user_created?: string | User | null;
15
- user_updated?: string | User | null;
16
- }
@@ -1,19 +0,0 @@
1
- import type { User } from '../system';
2
-
3
- export interface Testimonial {
4
- company?: string | null;
5
- company_logo?: (string | File) | null;
6
- content?: string | null;
7
- date_created?: string | null;
8
- date_updated?: string | null;
9
- id?: string;
10
- image?: (string | File) | null;
11
- link?: string | null;
12
- sort?: number | null;
13
- status?: string;
14
- subtitle?: string | null;
15
- title?: string | null;
16
- user_created?: string | User | null;
17
- user_updated?: string | User | null;
18
- company_info?: string;
19
- }
@@ -1,47 +0,0 @@
1
- import type { DirectusClient } from '@meeovi/directus-client'
2
-
3
- // Extend Directus client typing used in the app with the runtime `request` helper
4
- /** Minimal request/response typing for Directus SDK helper usage */
5
- export type DirectusRequestConfig = {
6
- method?: string
7
- url?: string
8
- headers?: Record<string, string>
9
- body?: any
10
- }
11
-
12
- export type DirectusUploadResponse = {
13
- id: string
14
- filename_download?: string
15
- title?: string
16
- [k: string]: any
17
- }
18
-
19
- type DirectusClientWithRequest<T = any> = DirectusClient<T> & {
20
- /**
21
- * Execute a request config produced by SDK helpers (e.g. `uploadFiles(formData)`).
22
- * Returns either a single upload response or an array of responses.
23
- */
24
- request?: (config: DirectusRequestConfig) => Promise<DirectusUploadResponse | DirectusUploadResponse[]>
25
- }
26
-
27
- declare module '#imports' {
28
- interface NuxtApp {
29
- $directus: DirectusClientWithRequest<any>
30
- $readItems: any
31
- $readItem: any
32
- $createItem: any
33
- $updateItem: any
34
- $uploadFiles: any
35
- }
36
- }
37
-
38
- declare module 'vue' {
39
- interface ComponentCustomProperties {
40
- $directus: DirectusClientWithRequest<any>
41
- $readItems: any
42
- $readItem: any
43
- $createItem: any
44
- $updateItem: any
45
- $uploadFiles: any
46
- }
47
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="vite/client" />
2
- interface ImportMetaEnv {
3
- readonly API_URL: string;
4
- }
5
-
6
- interface ImportMeta {
7
- readonly env: ImportMetaEnv;
8
- }
@@ -1,53 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Form } from '../content';
3
-
4
- export interface HelpArticle {
5
- content?: string | null;
6
- date_created?: string | null;
7
- date_updated?: string | null;
8
- help_collection?: (string | HelpCollection) | null;
9
- id?: string;
10
- owner?: string | User | null;
11
- slug?: string | null;
12
- sort?: number | null;
13
- status?: string;
14
- summary?: string | null;
15
- title?: string | null;
16
- user_created?: string | User | null;
17
- user_updated?: string | User | null;
18
- }
19
-
20
- export interface HelpCollection {
21
- description?: string | null;
22
- icon?: string | null;
23
- id?: string;
24
- slug?: string | null;
25
- sort?: number | null;
26
- title?: string | null;
27
- articles?: (string | HelpArticle)[];
28
- }
29
-
30
- export interface HelpFeedback {
31
- comments?: string | null;
32
- date_created?: string | null;
33
- date_updated?: string | null;
34
- id?: string;
35
- rating?: number | null;
36
- title?: string | null;
37
- url?: string | null;
38
- user_created?: string | User | null;
39
- user_updated?: string | User | null;
40
- visitor_id?: string | null;
41
- }
42
-
43
- export interface Inbox {
44
- data?: { [key: string]: any } | null;
45
- date_created?: string | null;
46
- date_updated?: string | null;
47
- form?: (string | Form) | null;
48
- id?: string;
49
- sort?: number | null;
50
- status?: string;
51
- user_created?: string | User | null;
52
- user_updated?: string | User | null;
53
- }
@@ -1,9 +0,0 @@
1
- import type { BlobObject } from '@nuxthub/core'
2
- import type { Ref } from 'vue'
3
-
4
- export interface FilePlugin {
5
- getImages: () => Promise<void>
6
- images: Ref<BlobObject[]>
7
- uploadImage: (image: File, filter?: boolean) => Promise<void>
8
- deleteImage: (pathname: string) => Promise<void>
9
- }
@@ -1,7 +0,0 @@
1
- export type * from './blocks';
2
- export type * from './content';
3
- export type * from './meta';
4
- export type * from './system';
5
- export type * from './help';
6
- export type * from './os';
7
- export type * from './schema';
@@ -1,18 +0,0 @@
1
- export interface Event {
2
- id?: string;
3
- key?: string | null;
4
- metadata?: { [key: string]: any } | null;
5
- service?: string | null;
6
- session?: string | null;
7
- timestamp?: string | null;
8
- user?: string | null;
9
- }
10
-
11
- export interface Metric {
12
- id?: string;
13
- key?: string | null;
14
- metadata?: { [key: string]: any } | null;
15
- service?: string | null;
16
- timestamp?: string | null;
17
- value?: number | null;
18
- }
@@ -1,21 +0,0 @@
1
- import type { SEO } from '.';
2
-
3
- export interface ChatConfig {
4
- /** Would you like to enable the chat / messenger widget on the site? */
5
- enabled?: boolean | null;
6
- hours?: { [key: string]: any } | null;
7
- id?: string;
8
- modules?: { [key: string]: any } | null;
9
- require_email?: string | null;
10
- }
11
-
12
- export interface PageSettings {
13
- [key: string]: any;
14
- }
15
-
16
- export interface ProjectsSettings {
17
- headline?: string | null;
18
- id?: string;
19
- seo?: (string | SEO) | null;
20
- title?: string | null;
21
- }
@@ -1,30 +0,0 @@
1
- import type { File } from '../system/index.js';
2
-
3
- export interface Globals {
4
- address_country?: string | null;
5
- address_locality?: string | null;
6
- address_region?: string | null;
7
- /** URL for the build / deploy hook that starts a new build */
8
- build_hook_url?: string | null;
9
- description?: string | null;
10
- email?: string | null;
11
- id?: string;
12
- og_image?: (string | File) | null;
13
- phone?: string | null;
14
- postal_code?: string | null;
15
- routes?: { [key: string]: any } | null;
16
- social_links: { [key: string]: any } | null;
17
- street_address?: string | null;
18
- /** What's the website title? */
19
- tagline?: string | null;
20
- /** What's the website title? */
21
- title?: string | null;
22
- /** What's is the base url for the site? */
23
- url?: string | null;
24
- contact?: string;
25
- deployment?: string;
26
- /** This will be the default metadata used for SEO */
27
- seo?: string;
28
- social?: string;
29
- notice_deployment?: string;
30
- }
@@ -1,6 +0,0 @@
1
- export type * from './globals';
2
- export type * from './navigation';
3
- export type * from './redirect';
4
- export type * from './seo';
5
- export type * from './analytics';
6
- export type * from './config';
@@ -1,32 +0,0 @@
1
- import type { User } from '../system/index.js';
2
- import type { Page } from '../content/index.js';
3
-
4
- export interface Navigation {
5
- date_created?: string | null;
6
- date_updated?: string | null;
7
- id?: string;
8
- status?: string;
9
- title?: string | null;
10
- user_created?: string | User | null;
11
- user_updated?: string | User | null;
12
- items?: (string | NavigationItem)[];
13
- }
14
- export interface NavigationItem {
15
- has_children?: boolean | null;
16
- /** Icon that displays in dropdown menus on website. */
17
- icon?: string | null;
18
- id?: string;
19
- /** Label to help User. Displays below the link in dropdown nav menus. */
20
- label?: string | null;
21
- navigation?: (string | Navigation) | null;
22
- open_in_new_tab?: boolean | null;
23
- page?: (string | Page) | null;
24
- parent?: (string | NavigationItem) | null;
25
- sort?: number | null;
26
- title?: string | null;
27
- type?: string | null;
28
- url?: string | null;
29
- children?: (string | NavigationItem)[];
30
- /** Control the icon and label displayed on the website. */
31
- display_details?: string;
32
- }
@@ -1,13 +0,0 @@
1
- import type { User } from '../system';
2
-
3
- export interface Redirect {
4
- date_created?: string | null;
5
- date_updated?: string | null;
6
- id?: string;
7
- response_code?: number | null | string;
8
- url_new: string;
9
- url_old: string;
10
- user_created?: string | User | null;
11
- user_updated?: string | User | null;
12
- notice_redirects?: string;
13
- }
@@ -1,19 +0,0 @@
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
- }
@@ -1,23 +0,0 @@
1
- import type { User } from '../system';
2
- import type { OrganizationContact, OsDealContact, OsActivityContact } from '.';
3
-
4
- export interface Contact {
5
- id?: string;
6
- /** Is this an active contact? */
7
- status?: string | null;
8
- user_created?: (string | User) | null;
9
- date_created?: string | null;
10
- user_updated?: (string | User) | null;
11
- date_updated?: string | null;
12
- first_name?: string | null;
13
- last_name?: string | null;
14
- user?: (string | User) | null;
15
- email?: string | null;
16
- phone?: string | null;
17
- job_title?: string | null;
18
- contact_notes?: string | null;
19
- organizations?: (string | OrganizationContact)[];
20
- os_deals?: (string | OsDealContact)[];
21
- activity?: string;
22
- activities?: (string | OsActivityContact)[];
23
- }
@@ -1,25 +0,0 @@
1
- import type { User } from '../system';
2
-
3
- export interface Conversation {
4
- date_created?: string | null;
5
- date_updated?: string | null;
6
- id?: string;
7
- status?: string;
8
- title?: string | null;
9
- visitor_id?: string | null;
10
- item?: string | null;
11
- collection?: string | null;
12
- messages?: (string | Message)[];
13
- }
14
-
15
- export interface Message {
16
- conversation?: (string | Conversation) | null;
17
- date_created?: string | null;
18
- date_updated?: string | null;
19
- id?: string;
20
- text?: string | null;
21
- user_created?: (string | User) | null;
22
- user_updated?: (string | User) | null;
23
- visitor_id?: string | null;
24
- contact_id?: string | null;
25
- }
@@ -1,16 +0,0 @@
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';