@mframework/ui 0.0.1 → 0.0.4

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 (291) hide show
  1. package/dist/runtime/design/tokens.d.ts +22 -0
  2. package/dist/runtime/design/tokens.js +22 -0
  3. package/dist/runtime/plugins/icon-switcher.d.ts +2 -0
  4. package/dist/runtime/plugins/icon-switcher.js +18 -0
  5. package/dist/runtime/plugins/icons.d.ts +4 -0
  6. package/dist/runtime/plugins/icons.js +13 -0
  7. package/dist/runtime/plugins/theme.d.ts +2 -0
  8. package/dist/runtime/plugins/theme.js +28 -0
  9. package/dist/runtime/plugins/vuetify.d.ts +88 -0
  10. package/dist/runtime/plugins/vuetify.js +60 -0
  11. package/dist/runtime/search/client.d.ts +2 -0
  12. package/dist/runtime/search/client.js +21 -0
  13. package/dist/runtime/search/plugin.d.ts +2 -0
  14. package/dist/runtime/search/plugin.js +8 -0
  15. package/dist/types/ui/api/global-search.d.ts +8 -0
  16. package/dist/types/ui/blocks/block-button-group.d.ts +6 -0
  17. package/dist/types/ui/blocks/block-button.d.ts +13 -0
  18. package/dist/types/ui/blocks/block-column.d.ts +18 -0
  19. package/dist/types/ui/blocks/block-cta.d.ts +11 -0
  20. package/dist/types/ui/blocks/block-divider.d.ts +4 -0
  21. package/dist/types/ui/blocks/block-faq.d.ts +11 -0
  22. package/dist/types/ui/blocks/block-form.d.ts +7 -0
  23. package/dist/types/ui/blocks/block-gallery.d.ts +13 -0
  24. package/dist/types/ui/blocks/block-hero.d.ts +11 -0
  25. package/dist/types/ui/blocks/block-html.d.ts +4 -0
  26. package/dist/types/ui/blocks/block-logocloud.d.ts +13 -0
  27. package/dist/types/ui/blocks/block-quote.d.ts +10 -0
  28. package/dist/types/ui/blocks/block-richtext.d.ts +7 -0
  29. package/dist/types/ui/blocks/block-steps.d.ts +21 -0
  30. package/dist/types/ui/blocks/block-team.d.ts +6 -0
  31. package/dist/types/ui/blocks/block-testimonial.d.ts +13 -0
  32. package/dist/types/ui/blocks/block-video.d.ts +9 -0
  33. package/dist/types/ui/blocks/block.d.ts +17 -0
  34. package/dist/types/ui/component.d.ts +6 -0
  35. package/dist/types/ui/content/category.d.ts +10 -0
  36. package/dist/types/ui/content/form.d.ts +21 -0
  37. package/dist/types/ui/content/page.d.ts +38 -0
  38. package/dist/types/ui/content/post.d.ts +38 -0
  39. package/dist/types/ui/content/team.d.ts +17 -0
  40. package/dist/types/ui/content/testimonial.d.ts +18 -0
  41. package/dist/types/ui/form.d.ts +12 -0
  42. package/dist/types/ui/help/index.d.ts +51 -0
  43. package/dist/types/ui/meta/analytics.d.ts +21 -0
  44. package/dist/types/ui/meta/config.d.ts +22 -0
  45. package/dist/types/ui/meta/globals.d.ts +33 -0
  46. package/dist/types/ui/meta/navigation.d.ts +31 -0
  47. package/dist/types/ui/meta/redirect.d.ts +12 -0
  48. package/dist/types/ui/meta/seo.d.ts +19 -0
  49. package/dist/types/ui/os/contact.d.ts +22 -0
  50. package/dist/types/ui/os/conversation.d.ts +23 -0
  51. package/dist/types/ui/os/organization.d.ts +51 -0
  52. package/dist/types/ui/os/os-activity.d.ts +26 -0
  53. package/dist/types/ui/os/os-deal.d.ts +42 -0
  54. package/dist/types/ui/os/os-expense.d.ts +21 -0
  55. package/dist/types/ui/os/os-invoice.d.ts +46 -0
  56. package/dist/types/ui/os/os-item.d.ts +17 -0
  57. package/dist/types/ui/os/os-payment.d.ts +27 -0
  58. package/dist/types/ui/os/os-project.d.ts +45 -0
  59. package/dist/types/ui/os/os-proposal.d.ts +61 -0
  60. package/dist/types/ui/os/os-settings.d.ts +17 -0
  61. package/dist/types/ui/os/os-subscription.d.ts +12 -0
  62. package/dist/types/ui/os/os-task.d.ts +32 -0
  63. package/dist/types/ui/os/os-tax-rate.d.ts +12 -0
  64. package/dist/types/ui/pageComponentMap.d.ts +2 -0
  65. package/dist/types/ui/pagination.d.ts +6 -0
  66. package/dist/types/ui/schema.d.ts +78 -0
  67. package/dist/types/ui/state.d.ts +5 -0
  68. package/dist/types/ui/system/file.d.ts +47 -0
  69. package/dist/types/ui/system/folder.d.ts +8 -0
  70. package/dist/types/ui/system/role.d.ts +20 -0
  71. package/dist/types/ui/system/user.d.ts +57 -0
  72. package/dist/types/ui.d.ts +21 -0
  73. package/module.ts +104 -0
  74. package/package.json +10 -11
  75. package/runtime/assets/config/tailwind.conifg.js +11 -0
  76. package/runtime/assets/css/tailwind.css +11 -0
  77. package/runtime/design/tokens.ts +22 -0
  78. package/runtime/plugins/icon-switcher.ts +21 -0
  79. package/runtime/plugins/theme.ts +29 -0
  80. package/runtime/plugins/vuetify.js +12 -0
  81. package/runtime/plugins/vuetify.ts +64 -0
  82. package/runtime/search/client.ts +25 -0
  83. package/runtime/search/components/MSearch.vue +19 -0
  84. package/runtime/search/plugin.ts +10 -0
  85. package/tsconfig.json +11 -8
  86. package/type.d.ts +5 -0
  87. package/types/ui/api/global-search.js +1 -0
  88. package/types/ui/blocks/block-button-group.js +1 -0
  89. package/types/ui/blocks/block-button.js +1 -0
  90. package/types/ui/blocks/block-column.js +1 -0
  91. package/types/ui/blocks/block-cta.js +1 -0
  92. package/types/ui/blocks/block-divider.js +1 -0
  93. package/types/ui/blocks/block-faq.js +1 -0
  94. package/types/ui/blocks/block-form.js +1 -0
  95. package/types/ui/blocks/block-gallery.js +1 -0
  96. package/types/ui/blocks/block-hero.js +1 -0
  97. package/types/ui/blocks/block-html.js +1 -0
  98. package/types/ui/blocks/block-logocloud.js +1 -0
  99. package/types/ui/blocks/block-quote.js +1 -0
  100. package/types/ui/blocks/block-richtext.js +1 -0
  101. package/types/ui/blocks/block-steps.js +1 -0
  102. package/types/ui/blocks/block-team.js +1 -0
  103. package/types/ui/blocks/block-testimonial.js +1 -0
  104. package/types/ui/blocks/block-video.js +1 -0
  105. package/types/ui/blocks/block.js +1 -0
  106. package/types/ui/blocks/index.js +1 -0
  107. package/types/ui/blocks/index.ts +18 -0
  108. package/types/ui/component.js +1 -0
  109. package/types/ui/content/category.js +1 -0
  110. package/types/ui/content/form.js +1 -0
  111. package/types/ui/content/index.js +1 -0
  112. package/types/ui/content/index.ts +6 -0
  113. package/types/ui/content/page.js +1 -0
  114. package/types/ui/content/post.js +1 -0
  115. package/types/ui/content/team.js +1 -0
  116. package/types/ui/content/testimonial.js +1 -0
  117. package/types/ui/form.js +1 -0
  118. package/types/ui/help/index.js +1 -0
  119. package/types/ui/meta/analytics.js +1 -0
  120. package/types/ui/meta/config.js +1 -0
  121. package/types/ui/meta/globals.js +1 -0
  122. package/types/ui/meta/index.js +1 -0
  123. package/types/ui/meta/index.ts +6 -0
  124. package/types/ui/meta/navigation.js +1 -0
  125. package/types/ui/meta/redirect.js +1 -0
  126. package/types/ui/meta/seo.js +1 -0
  127. package/types/ui/os/contact.js +1 -0
  128. package/types/ui/os/conversation.js +1 -0
  129. package/types/ui/os/index.js +1 -0
  130. package/types/ui/os/index.ts +16 -0
  131. package/types/ui/os/organization.js +1 -0
  132. package/types/ui/os/os-activity.js +1 -0
  133. package/types/ui/os/os-deal.js +1 -0
  134. package/types/ui/os/os-expense.js +1 -0
  135. package/types/ui/os/os-invoice.js +1 -0
  136. package/types/ui/os/os-item.js +1 -0
  137. package/types/ui/os/os-payment.js +1 -0
  138. package/types/ui/os/os-project.js +1 -0
  139. package/types/ui/os/os-proposal.js +1 -0
  140. package/types/ui/os/os-settings.js +1 -0
  141. package/types/ui/os/os-subscription.js +1 -0
  142. package/types/ui/os/os-task.js +1 -0
  143. package/types/ui/os/os-tax-rate.js +1 -0
  144. package/types/ui/pageComponentMap.js +7 -0
  145. package/types/ui/pagination.js +1 -0
  146. package/types/ui/schema.js +1 -0
  147. package/types/ui/state.js +1 -0
  148. package/types/ui/system/file.js +1 -0
  149. package/types/ui/system/folder.js +1 -0
  150. package/types/ui/system/index.js +1 -0
  151. package/types/ui/system/index.ts +4 -0
  152. package/types/ui/system/role.js +1 -0
  153. package/types/ui/system/user.js +1 -0
  154. package/types/ui.js +1 -0
  155. package/tailwind.conifg.js +0 -1
  156. /package/{src → dist}/types/ui/api/global-search.js +0 -0
  157. /package/{src → dist}/types/ui/blocks/block-button-group.js +0 -0
  158. /package/{src → dist}/types/ui/blocks/block-button.js +0 -0
  159. /package/{src → dist}/types/ui/blocks/block-column.js +0 -0
  160. /package/{src → dist}/types/ui/blocks/block-cta.js +0 -0
  161. /package/{src → dist}/types/ui/blocks/block-divider.js +0 -0
  162. /package/{src → dist}/types/ui/blocks/block-faq.js +0 -0
  163. /package/{src → dist}/types/ui/blocks/block-form.js +0 -0
  164. /package/{src → dist}/types/ui/blocks/block-gallery.js +0 -0
  165. /package/{src → dist}/types/ui/blocks/block-hero.js +0 -0
  166. /package/{src → dist}/types/ui/blocks/block-html.js +0 -0
  167. /package/{src → dist}/types/ui/blocks/block-logocloud.js +0 -0
  168. /package/{src → dist}/types/ui/blocks/block-quote.js +0 -0
  169. /package/{src → dist}/types/ui/blocks/block-richtext.js +0 -0
  170. /package/{src → dist}/types/ui/blocks/block-steps.js +0 -0
  171. /package/{src → dist}/types/ui/blocks/block-team.js +0 -0
  172. /package/{src → dist}/types/ui/blocks/block-testimonial.js +0 -0
  173. /package/{src → dist}/types/ui/blocks/block-video.js +0 -0
  174. /package/{src → dist}/types/ui/blocks/block.js +0 -0
  175. /package/{src/types/ui/blocks/index.ts → dist/types/ui/blocks/index.d.ts} +0 -0
  176. /package/{src → dist}/types/ui/blocks/index.js +0 -0
  177. /package/{src → dist}/types/ui/component.js +0 -0
  178. /package/{src → dist}/types/ui/content/category.js +0 -0
  179. /package/{src → dist}/types/ui/content/form.js +0 -0
  180. /package/{src/types/ui/content/index.ts → dist/types/ui/content/index.d.ts} +0 -0
  181. /package/{src → dist}/types/ui/content/index.js +0 -0
  182. /package/{src → dist}/types/ui/content/page.js +0 -0
  183. /package/{src → dist}/types/ui/content/post.js +0 -0
  184. /package/{src → dist}/types/ui/content/team.js +0 -0
  185. /package/{src → dist}/types/ui/content/testimonial.js +0 -0
  186. /package/{src → dist}/types/ui/form.js +0 -0
  187. /package/{src → dist}/types/ui/help/index.js +0 -0
  188. /package/{src → dist}/types/ui/meta/analytics.js +0 -0
  189. /package/{src → dist}/types/ui/meta/config.js +0 -0
  190. /package/{src → dist}/types/ui/meta/globals.js +0 -0
  191. /package/{src/types/ui/meta/index.ts → dist/types/ui/meta/index.d.ts} +0 -0
  192. /package/{src → dist}/types/ui/meta/index.js +0 -0
  193. /package/{src → dist}/types/ui/meta/navigation.js +0 -0
  194. /package/{src → dist}/types/ui/meta/redirect.js +0 -0
  195. /package/{src → dist}/types/ui/meta/seo.js +0 -0
  196. /package/{src → dist}/types/ui/os/contact.js +0 -0
  197. /package/{src → dist}/types/ui/os/conversation.js +0 -0
  198. /package/{src/types/ui/os/index.ts → dist/types/ui/os/index.d.ts} +0 -0
  199. /package/{src → dist}/types/ui/os/index.js +0 -0
  200. /package/{src → dist}/types/ui/os/organization.js +0 -0
  201. /package/{src → dist}/types/ui/os/os-activity.js +0 -0
  202. /package/{src → dist}/types/ui/os/os-deal.js +0 -0
  203. /package/{src → dist}/types/ui/os/os-expense.js +0 -0
  204. /package/{src → dist}/types/ui/os/os-invoice.js +0 -0
  205. /package/{src → dist}/types/ui/os/os-item.js +0 -0
  206. /package/{src → dist}/types/ui/os/os-payment.js +0 -0
  207. /package/{src → dist}/types/ui/os/os-project.js +0 -0
  208. /package/{src → dist}/types/ui/os/os-proposal.js +0 -0
  209. /package/{src → dist}/types/ui/os/os-settings.js +0 -0
  210. /package/{src → dist}/types/ui/os/os-subscription.js +0 -0
  211. /package/{src → dist}/types/ui/os/os-task.js +0 -0
  212. /package/{src → dist}/types/ui/os/os-tax-rate.js +0 -0
  213. /package/{src → dist}/types/ui/pageComponentMap.js +0 -0
  214. /package/{src → dist}/types/ui/pagination.js +0 -0
  215. /package/{src → dist}/types/ui/schema.js +0 -0
  216. /package/{src → dist}/types/ui/state.js +0 -0
  217. /package/{src → dist}/types/ui/system/file.js +0 -0
  218. /package/{src → dist}/types/ui/system/folder.js +0 -0
  219. /package/{src/types/ui/system/index.ts → dist/types/ui/system/index.d.ts} +0 -0
  220. /package/{src → dist}/types/ui/system/index.js +0 -0
  221. /package/{src → dist}/types/ui/system/role.js +0 -0
  222. /package/{src → dist}/types/ui/system/user.js +0 -0
  223. /package/{src → dist}/types/ui.js +0 -0
  224. /package/{src/types → types}/ui/api/global-search.ts +0 -0
  225. /package/{src/types → types}/ui/blocks/block-button-group.ts +0 -0
  226. /package/{src/types → types}/ui/blocks/block-button.ts +0 -0
  227. /package/{src/types → types}/ui/blocks/block-column.ts +0 -0
  228. /package/{src/types → types}/ui/blocks/block-cta.ts +0 -0
  229. /package/{src/types → types}/ui/blocks/block-divider.ts +0 -0
  230. /package/{src/types → types}/ui/blocks/block-faq.ts +0 -0
  231. /package/{src/types → types}/ui/blocks/block-form.ts +0 -0
  232. /package/{src/types → types}/ui/blocks/block-gallery.ts +0 -0
  233. /package/{src/types → types}/ui/blocks/block-hero.ts +0 -0
  234. /package/{src/types → types}/ui/blocks/block-html.ts +0 -0
  235. /package/{src/types → types}/ui/blocks/block-logocloud.ts +0 -0
  236. /package/{src/types → types}/ui/blocks/block-quote.ts +0 -0
  237. /package/{src/types → types}/ui/blocks/block-richtext.ts +0 -0
  238. /package/{src/types → types}/ui/blocks/block-steps.ts +0 -0
  239. /package/{src/types → types}/ui/blocks/block-team.ts +0 -0
  240. /package/{src/types → types}/ui/blocks/block-testimonial.ts +0 -0
  241. /package/{src/types → types}/ui/blocks/block-video.ts +0 -0
  242. /package/{src/types → types}/ui/blocks/block.ts +0 -0
  243. /package/{src/types → types}/ui/component.ts +0 -0
  244. /package/{src/types → types}/ui/content/category.ts +0 -0
  245. /package/{src/types → types}/ui/content/form.ts +0 -0
  246. /package/{src/types → types}/ui/content/page.ts +0 -0
  247. /package/{src/types → types}/ui/content/post.ts +0 -0
  248. /package/{src/types → types}/ui/content/team.ts +0 -0
  249. /package/{src/types → types}/ui/content/testimonial.ts +0 -0
  250. /package/{src/types → types}/ui/env.d.ts +0 -0
  251. /package/{src/types → types}/ui/form.ts +0 -0
  252. /package/{src/types → types}/ui/help/index.ts +0 -0
  253. /package/{src/types → types}/ui/meta/analytics.ts +0 -0
  254. /package/{src/types → types}/ui/meta/config.ts +0 -0
  255. /package/{src/types → types}/ui/meta/globals.ts +0 -0
  256. /package/{src/types → types}/ui/meta/navigation.ts +0 -0
  257. /package/{src/types → types}/ui/meta/redirect.ts +0 -0
  258. /package/{src/types → types}/ui/meta/seo.ts +0 -0
  259. /package/{src/types → types}/ui/os/contact.ts +0 -0
  260. /package/{src/types → types}/ui/os/conversation.ts +0 -0
  261. /package/{src/types → types}/ui/os/organization.ts +0 -0
  262. /package/{src/types → types}/ui/os/os-activity.ts +0 -0
  263. /package/{src/types → types}/ui/os/os-deal.ts +0 -0
  264. /package/{src/types → types}/ui/os/os-expense.ts +0 -0
  265. /package/{src/types → types}/ui/os/os-invoice.ts +0 -0
  266. /package/{src/types → types}/ui/os/os-item.ts +0 -0
  267. /package/{src/types → types}/ui/os/os-payment.ts +0 -0
  268. /package/{src/types → types}/ui/os/os-project.ts +0 -0
  269. /package/{src/types → types}/ui/os/os-proposal.ts +0 -0
  270. /package/{src/types → types}/ui/os/os-settings.ts +0 -0
  271. /package/{src/types → types}/ui/os/os-subscription.ts +0 -0
  272. /package/{src/types → types}/ui/os/os-task.ts +0 -0
  273. /package/{src/types → types}/ui/os/os-tax-rate.ts +0 -0
  274. /package/{src/types → types}/ui/pageComponentMap.ts +0 -0
  275. /package/{src/types → types}/ui/pagination.ts +0 -0
  276. /package/{src/types → types}/ui/schema.d.ts +0 -0
  277. /package/{src/types → types}/ui/schema.ts +0 -0
  278. /package/{src/types → types}/ui/state.ts +0 -0
  279. /package/{src/types → types}/ui/system/file.ts +0 -0
  280. /package/{src/types → types}/ui/system/folder.ts +0 -0
  281. /package/{src/types → types}/ui/system/role.ts +0 -0
  282. /package/{src/types → types}/ui/system/user.ts +0 -0
  283. /package/{src/types → types}/ui.ts +0 -0
  284. /package/{src/utils → utils}/color.js +0 -0
  285. /package/{src/utils → utils}/color.ts +0 -0
  286. /package/{src/utils → utils}/fonts.js +0 -0
  287. /package/{src/utils → utils}/fonts.ts +0 -0
  288. /package/{src/utils → utils}/formkit.js +0 -0
  289. /package/{src/utils → utils}/formkit.ts +0 -0
  290. /package/{src/utils → utils}/icons.js +0 -0
  291. /package/{src/utils → utils}/icons.ts +0 -0
@@ -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,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,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,12 @@
1
+ export type FormFieldType = 'text' | 'email' | 'password' | 'number' | 'checkbox' | 'select' | 'textarea';
2
+ export interface FormField {
3
+ name: string;
4
+ label: string;
5
+ type: FormFieldType;
6
+ placeholder?: string;
7
+ schema?: unknown;
8
+ options?: Array<{
9
+ label: string;
10
+ value: string;
11
+ }>;
12
+ }
@@ -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,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,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,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,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,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,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
+ }
@@ -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,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,51 @@
1
+ import type { User, File } from '../system';
2
+ import type { OsPaymentTerm, Contact } from '.';
3
+ export interface Organization {
4
+ id?: string;
5
+ status?: string;
6
+ user_created?: (string | User) | null;
7
+ date_created?: string | null;
8
+ user_updated?: (string | User) | null;
9
+ date_updated?: string | null;
10
+ name?: string | null;
11
+ website?: string | null;
12
+ logo?: string | File | null;
13
+ brand_color?: string | null;
14
+ organization_notes?: string | null;
15
+ /** Company email address (sales@company.com) */
16
+ email?: string | null;
17
+ ap_contact?: (string | Contact) | null;
18
+ payment_terms?: (string | OsPaymentTerm) | null;
19
+ owner?: (string | User) | null;
20
+ /** Company phone number */
21
+ phone?: string | null;
22
+ branding?: string;
23
+ contacts?: (string | OrganizationContact)[];
24
+ addresses?: (string | OrganizationAddress)[];
25
+ billing?: string;
26
+ stripe_customer_id?: string | null;
27
+ }
28
+ export interface OrganizationAddress {
29
+ id?: string;
30
+ sort?: number | null;
31
+ user_created?: (string | User) | null;
32
+ date_created?: string | null;
33
+ user_updated?: (string | User) | null;
34
+ date_updated?: string | null;
35
+ organization?: (string | Organization) | null;
36
+ name?: string | null;
37
+ street_address?: string | null;
38
+ postal_code?: string | null;
39
+ /** State (or region if outside US) */
40
+ address_region?: string | null;
41
+ address_country?: string | null;
42
+ /** City */
43
+ address_locality?: string | null;
44
+ is_primary_billing?: boolean | null;
45
+ }
46
+ export interface OrganizationContact {
47
+ id?: string;
48
+ contacts_id?: (string | Contact) | null;
49
+ organizations_id?: (string | Organization) | null;
50
+ sort?: number | null;
51
+ }
@@ -0,0 +1,26 @@
1
+ import type { User } from '../system';
2
+ import type { Organization, Contact, OsDeal } from '.';
3
+ export interface OsActivity {
4
+ id?: string;
5
+ status?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ deal?: (string | OsDeal) | null;
12
+ activity_type?: string | null;
13
+ activity_notes?: string | null;
14
+ name?: string | null;
15
+ organization?: (string | Organization) | null;
16
+ start_time?: string | null;
17
+ end_time?: string | null;
18
+ due_date?: string | null;
19
+ assigned_to?: (string | User) | null;
20
+ contacts?: (string | OsActivityContact)[];
21
+ }
22
+ export interface OsActivityContact {
23
+ id?: string;
24
+ os_activities_id?: (string | OsActivity) | null;
25
+ contacts_id?: (string | Contact) | null;
26
+ }
@@ -0,0 +1,42 @@
1
+ import type { User } from '../system';
2
+ import type { Organization, Contact, OsProposal, OsActivity } from '.';
3
+ export interface OsDeal {
4
+ id?: string;
5
+ status?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ name?: string | null;
12
+ owner?: (string | User) | null;
13
+ organization?: (string | Organization) | null;
14
+ close_date?: string | null;
15
+ deal_stage?: (string | OsDealStage) | null;
16
+ next_contact_date?: string | null;
17
+ deal_value?: number | null;
18
+ deal_notes?: string | null;
19
+ comments?: string;
20
+ proposals?: (string | OsProposal)[];
21
+ contacts?: (string | OsDealContact)[];
22
+ activity?: string;
23
+ activities?: (string | OsActivity)[];
24
+ }
25
+ export interface OsDealContact {
26
+ id?: string;
27
+ primary?: boolean | null;
28
+ os_deals_id?: (string | OsDeal) | null;
29
+ contacts_id?: (string | Contact) | null;
30
+ sort?: number | null;
31
+ }
32
+ export interface OsDealStage {
33
+ id?: string;
34
+ status?: string;
35
+ sort?: number | null;
36
+ user_created?: (string | User) | null;
37
+ date_created?: string | null;
38
+ user_updated?: (string | User) | null;
39
+ date_updated?: string | null;
40
+ name?: string | null;
41
+ color?: string | null;
42
+ }
@@ -0,0 +1,21 @@
1
+ import type { File, User } from '../system';
2
+ import type { OsProject, OsInvoiceItem } from '.';
3
+ export interface OsExpense {
4
+ id?: string;
5
+ sort?: number | null;
6
+ user_created?: (string | User) | null;
7
+ date_created?: string | null;
8
+ user_updated?: (string | User) | null;
9
+ date_updated?: string | null;
10
+ category?: string | null;
11
+ name?: string | null;
12
+ cost?: number | null;
13
+ description?: string | null;
14
+ date?: string | null;
15
+ file?: (string | File) | null;
16
+ project?: (string | OsProject) | null;
17
+ is_billable?: boolean | null;
18
+ invoice_item?: (string | OsInvoiceItem) | null;
19
+ status?: string;
20
+ is_reimbursable?: boolean | null;
21
+ }
@@ -0,0 +1,46 @@
1
+ import type { User } from '../system';
2
+ import type { Organization, Contact, OsProject, OsPayment, OsTaxRate, OsExpense, OsItem } from '.';
3
+ export interface OsInvoice {
4
+ id?: string;
5
+ status?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ invoice_number?: string | null;
12
+ due_date?: string | null;
13
+ reference?: string | null;
14
+ organization?: (string | Organization) | null;
15
+ contact?: (string | Contact) | null;
16
+ issue_date?: string | null;
17
+ project?: (string | OsProject) | null;
18
+ subtotal?: number | null;
19
+ total_tax?: number | null;
20
+ total?: number | null;
21
+ amount_paid?: number | null;
22
+ amount_due?: number | null;
23
+ payments?: (string | OsPayment)[];
24
+ line_items?: (string | OsInvoiceItem)[];
25
+ }
26
+ export interface OsInvoiceItem {
27
+ id?: string;
28
+ sort?: number | null;
29
+ user_created?: (string | User) | null;
30
+ date_created?: string | null;
31
+ user_updated?: (string | User) | null;
32
+ date_updated?: string | null;
33
+ invoice?: (string | OsInvoice) | null;
34
+ line_item_number?: number | null;
35
+ description?: string | null;
36
+ tax_rate?: (string | OsTaxRate) | null;
37
+ tax_amount?: number | null;
38
+ unit_price?: number | null;
39
+ quantity?: number | null;
40
+ line_amount?: number | null;
41
+ billable_expense?: (string | OsExpense) | null;
42
+ item?: (string | OsItem) | null;
43
+ type?: string | null;
44
+ item_name?: string | null;
45
+ override_unit_price?: boolean | null;
46
+ }
@@ -0,0 +1,17 @@
1
+ import type { User } from '../system';
2
+ import type { OsTaxRate } from '.';
3
+ export interface OsItem {
4
+ id?: string;
5
+ status?: string | null;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ name?: string | null;
12
+ description?: string | null;
13
+ unit_price?: number | null;
14
+ default_tax_rate?: (string | OsTaxRate) | null;
15
+ icon?: string | null;
16
+ unit_cost?: number | null;
17
+ }
@@ -0,0 +1,27 @@
1
+ import type { User } from '../system';
2
+ import type { Organization, Contact, OsInvoice } from '.';
3
+ export interface OsPayment {
4
+ id?: string;
5
+ status?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ payment_date?: string | null;
12
+ amount?: number | null;
13
+ stripe_payment_id?: string;
14
+ transaction_fee?: number | null;
15
+ organization?: (string | Organization) | null;
16
+ contact?: (string | Contact) | null;
17
+ invoice?: (string | OsInvoice) | null;
18
+ metadata?: object | null;
19
+ receipt_url?: string | null;
20
+ }
21
+ export interface OsPaymentTerm {
22
+ id?: string;
23
+ user_created?: (string | User) | null;
24
+ date_created?: string | null;
25
+ user_updated?: (string | User) | null;
26
+ date_updated?: string | null;
27
+ }
@@ -0,0 +1,45 @@
1
+ import type { User } from '../system';
2
+ import type { Organization, Contact, OsInvoice, OsTask, OsExpense } from '.';
3
+ export interface OsProject {
4
+ id?: string;
5
+ status?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ name?: string | null;
12
+ organization?: (string | Organization) | null;
13
+ description?: string | null;
14
+ owner?: (string | User) | null;
15
+ start_date?: string | null;
16
+ due_date?: string | null;
17
+ expenses?: (string | OsExpense)[];
18
+ invoices?: (string | OsInvoice)[];
19
+ contacts?: (string | OsProjectContact)[];
20
+ billing?: string;
21
+ tasks?: (string | OsTask)[];
22
+ }
23
+ export interface OsProjectContact {
24
+ id?: string;
25
+ os_projects_id?: (string | OsProject) | null;
26
+ contacts_id?: (string | Contact) | null;
27
+ sort?: number | null;
28
+ }
29
+ export interface OsProjectFile {
30
+ id?: string;
31
+ }
32
+ export interface OsProjectTemplate {
33
+ id?: string;
34
+ status?: string;
35
+ sort?: number | null;
36
+ user_created?: (string | User) | null;
37
+ date_created?: string | null;
38
+ user_updated?: (string | User) | null;
39
+ date_updated?: string | null;
40
+ name?: string | null;
41
+ tasks?: {
42
+ [key: string]: any;
43
+ } | null;
44
+ description?: string | null;
45
+ }
@@ -0,0 +1,61 @@
1
+ import type { User, File } from '../system';
2
+ import type { BlockDivider, BlockFaq, BlockLogocloud, BlockQuote, BlockRichtext, BlockStep, BlockTeam, BlockVideo } from '../blocks';
3
+ import type { Organization, Contact, OsDeal } from '.';
4
+ export interface OsProposal {
5
+ id?: string;
6
+ sort?: number | null;
7
+ user_created?: (string | User) | null;
8
+ date_created?: string | null;
9
+ user_updated?: (string | User) | null;
10
+ date_updated?: string | null;
11
+ name?: string | null;
12
+ organization?: (string | Organization) | null;
13
+ deal?: (string | OsDeal) | null;
14
+ owner?: (string | User) | null;
15
+ status?: string;
16
+ contacts?: (string | OsProposalContact)[];
17
+ activity?: string;
18
+ approvals?: (string | OsProposalApproval)[];
19
+ /** This is the content of your proposal */
20
+ blocks?: (string | OsProposalBlock)[];
21
+ }
22
+ export interface OsProposalApproval {
23
+ id?: string;
24
+ status?: string;
25
+ sort?: number | null;
26
+ user_created?: (string | User) | null;
27
+ date_created?: string | null;
28
+ user_updated?: (string | User) | null;
29
+ date_updated?: string | null;
30
+ signature_text?: string | null;
31
+ signature_image?: (string | File) | null;
32
+ signature_type?: string | null;
33
+ first_name?: string | null;
34
+ last_name?: string | null;
35
+ organization?: string | null;
36
+ proposal?: (string | OsProposal) | null;
37
+ email?: string | null;
38
+ metadata?: {
39
+ [key: string]: any;
40
+ } | null;
41
+ ip_address?: string | null;
42
+ esignature_agreement?: boolean | null;
43
+ contact?: (string | Contact) | null;
44
+ }
45
+ export interface OsProposalBlock {
46
+ id?: string;
47
+ sort?: number | null;
48
+ user_created?: (string | User) | null;
49
+ date_created?: string | null;
50
+ user_updated?: (string | User) | null;
51
+ date_updated?: string | null;
52
+ os_proposals_id?: (string | OsProposal) | null;
53
+ item?: (string | BlockDivider | BlockFaq | BlockLogocloud | BlockQuote | BlockRichtext | BlockStep | BlockTeam | BlockVideo)[] | null;
54
+ collection?: string | null;
55
+ }
56
+ export interface OsProposalContact {
57
+ id?: string;
58
+ os_proposals_id?: (string | OsProposal) | null;
59
+ contacts_id?: (string | Contact) | null;
60
+ sort?: number | null;
61
+ }