nuxt-ignis 0.3.0 → 0.3.2

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 (128) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +43 -0
  3. package/.nuxt/app.config.mjs +227 -1
  4. package/.nuxt/components.d.ts +496 -132
  5. package/.nuxt/content/components.ts +108 -0
  6. package/.nuxt/content/database.compressed.mjs +1 -0
  7. package/.nuxt/content/manifest.ts +33 -0
  8. package/.nuxt/content/sql_dump +6 -0
  9. package/.nuxt/content/types.d.ts +13 -0
  10. package/.nuxt/dev/index.mjs +4719 -66
  11. package/.nuxt/dev/index.mjs.map +1 -1
  12. package/.nuxt/dist/server/client.manifest.json +2 -2
  13. package/.nuxt/dist/server/client.manifest.mjs +18 -1
  14. package/.nuxt/eslint.config.d.mts +2 -2
  15. package/.nuxt/eslint.config.mjs +2 -2
  16. package/.nuxt/i18n.options.mjs +165 -0
  17. package/.nuxt/imports.d.ts +62 -31
  18. package/.nuxt/manifest/latest.json +1 -1
  19. package/.nuxt/manifest/meta/dev.json +1 -1
  20. package/.nuxt/mdc-configs.mjs +8 -0
  21. package/.nuxt/mdc-highlighter.mjs +213 -0
  22. package/.nuxt/mdc-image-component.mjs +1 -0
  23. package/.nuxt/mdc-imports.mjs +12 -0
  24. package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
  25. package/.nuxt/module/nuxt-robots.d.ts +35 -0
  26. package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  27. package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
  28. package/.nuxt/module/nuxt-site-config.d.ts +43 -0
  29. package/.nuxt/nitro.json +4 -4
  30. package/.nuxt/nuxt-i18n-logger.mjs +1 -0
  31. package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
  32. package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
  33. package/.nuxt/nuxt.d.ts +23 -6
  34. package/.nuxt/nuxt.json +2 -2
  35. package/.nuxt/schema/nuxt.schema.d.ts +193 -0
  36. package/.nuxt/schema/nuxt.schema.json +261 -1
  37. package/.nuxt/tsconfig.json +216 -42
  38. package/.nuxt/tsconfig.server.json +181 -23
  39. package/.nuxt/types/app.config.d.ts +227 -1
  40. package/.nuxt/types/build.d.ts +4 -1
  41. package/.nuxt/types/i18n-plugin.d.ts +104 -0
  42. package/.nuxt/types/imports.d.ts +334 -210
  43. package/.nuxt/types/neon.d.ts +137 -0
  44. package/.nuxt/types/nitro-imports.d.ts +268 -6
  45. package/.nuxt/types/nitro-routes.d.ts +65 -1
  46. package/.nuxt/types/plugins.d.ts +40 -17
  47. package/.nuxt/types/schema.d.ts +984 -2
  48. package/.nuxt/types/ui.d.ts +35 -0
  49. package/.nuxt/ui/accordion.ts +20 -0
  50. package/.nuxt/ui/alert.ts +264 -0
  51. package/.nuxt/ui/avatar-group.ts +52 -0
  52. package/.nuxt/ui/avatar.ts +54 -0
  53. package/.nuxt/ui/badge.ts +263 -0
  54. package/.nuxt/ui/breadcrumb.ts +45 -0
  55. package/.nuxt/ui/button-group.ts +16 -0
  56. package/.nuxt/ui/button.ts +378 -0
  57. package/.nuxt/ui/calendar.ts +103 -0
  58. package/.nuxt/ui/card.ts +34 -0
  59. package/.nuxt/ui/carousel.ts +38 -0
  60. package/.nuxt/ui/checkbox-group.ts +204 -0
  61. package/.nuxt/ui/checkbox.ts +236 -0
  62. package/.nuxt/ui/chip.ts +96 -0
  63. package/.nuxt/ui/collapsible.ts +6 -0
  64. package/.nuxt/ui/color-picker.ts +47 -0
  65. package/.nuxt/ui/command-palette.ts +50 -0
  66. package/.nuxt/ui/container.ts +3 -0
  67. package/.nuxt/ui/context-menu.ts +217 -0
  68. package/.nuxt/ui/drawer.ts +126 -0
  69. package/.nuxt/ui/dropdown-menu.ts +218 -0
  70. package/.nuxt/ui/form-field.ts +48 -0
  71. package/.nuxt/ui/form.ts +3 -0
  72. package/.nuxt/ui/index.ts +50 -0
  73. package/.nuxt/ui/input-menu.ts +436 -0
  74. package/.nuxt/ui/input-number.ts +245 -0
  75. package/.nuxt/ui/input.ts +289 -0
  76. package/.nuxt/ui/kbd.ts +31 -0
  77. package/.nuxt/ui/link.ts +22 -0
  78. package/.nuxt/ui/modal.ts +29 -0
  79. package/.nuxt/ui/navigation-menu.ts +510 -0
  80. package/.nuxt/ui/pagination.ts +13 -0
  81. package/.nuxt/ui/pin-input.ts +171 -0
  82. package/.nuxt/ui/popover.ts +6 -0
  83. package/.nuxt/ui/progress.ts +297 -0
  84. package/.nuxt/ui/radio-group.ts +350 -0
  85. package/.nuxt/ui/select-menu.ts +346 -0
  86. package/.nuxt/ui/select.ts +341 -0
  87. package/.nuxt/ui/separator.ts +172 -0
  88. package/.nuxt/ui/skeleton.ts +3 -0
  89. package/.nuxt/ui/slideover.ts +71 -0
  90. package/.nuxt/ui/slider.ts +171 -0
  91. package/.nuxt/ui/stepper.ts +202 -0
  92. package/.nuxt/ui/switch.ts +131 -0
  93. package/.nuxt/ui/table.ts +147 -0
  94. package/.nuxt/ui/tabs.ts +256 -0
  95. package/.nuxt/ui/textarea.ts +294 -0
  96. package/.nuxt/ui/toast.ts +81 -0
  97. package/.nuxt/ui/toaster.ts +91 -0
  98. package/.nuxt/ui/tooltip.ts +9 -0
  99. package/.nuxt/ui/tree.ts +154 -0
  100. package/.nuxt/ui-image-component.ts +1 -0
  101. package/.nuxt/ui.css +146 -0
  102. package/content.config.ts +6 -10
  103. package/features.ts +43 -22
  104. package/nuxt.config.ts +1 -1
  105. package/package.json +13 -12
  106. package/server/api/neonTest.ts +7 -5
  107. package/tailwind.config.ts +1 -1
  108. package/test/features/db-neon.txt +3 -0
  109. package/test/features/db-off.txt +3 -0
  110. package/test/features/db-supabase.txt +3 -0
  111. package/test/features/default.txt +3 -0
  112. package/test/features/disable-core.txt +3 -0
  113. package/test/features/enable-all.txt +4 -0
  114. package/test/features/forms-formkit.txt +3 -0
  115. package/test/features/forms-off.txt +3 -0
  116. package/test/features/forms-vueform.txt +3 -0
  117. package/test/features/ui-nuxt-ui.txt +3 -0
  118. package/test/features/ui-off.txt +3 -0
  119. package/test/features/ui-tailwind.txt +4 -0
  120. package/test/features.test.ts +191 -0
  121. package/utils/config/content.config.ts +12 -0
  122. package/utils/config/vueform.config.ts +20 -0
  123. package/utils/content.ts +31 -0
  124. package/utils/tailwind.ts +19 -0
  125. package/utils/vueform.ts +16 -0
  126. package/vueform.config.ts +4 -16
  127. package/.nuxt/component-chunk.mjs +0 -1
  128. package/.nuxt/dist/server/server.mjs +0 -1
@@ -0,0 +1,137 @@
1
+ // NOTE: when editing this file, please also update exports in `src/utils/neonTypes.ts`
2
+
3
+ /**
4
+ * Possible options for Neon driver SSL mode.
5
+ * @see https://neon.tech/docs/connect/connect-securely#connection-modes
6
+ */
7
+ export type NeonSSLModeOption = 'require' | 'verify-ca' | 'verify-full' | 'none'
8
+
9
+ /** Custom error object to be passed when something goes wrong */
10
+ export type NeonError = {
11
+ name: 'NuxtNeonServerError' | 'NuxtNeonClientError'
12
+ source: string
13
+ code: number
14
+ message: string
15
+ sql?: string
16
+ }
17
+
18
+ /** Result of `neonStatus` health check. */
19
+ export type NeonStatusResult = {
20
+ /**
21
+ * Database name based on `NUXT_PUBLIC_NEON_DB`.
22
+ * Empty unless called with `anonymous = false`.
23
+ */
24
+ database: string
25
+ /**
26
+ * `OK` if database connection can be established,
27
+ * `ERR` if error was thrown by the Neon driver.
28
+ */
29
+ status: 'OK' | 'ERR'
30
+ /**
31
+ * Details, if error is encountered.
32
+ * Empty unless called with `debug = true`.
33
+ */
34
+ debugInfo?: string
35
+ }
36
+
37
+ /** Object for defining column with a table alias */
38
+ export type NeonColumnObject = {
39
+ /** Alias used for table */
40
+ alias?: string
41
+ /** Column name */
42
+ name: string
43
+ }
44
+
45
+ /** Object for defining 2+ tables for JOIN in SELECT. */
46
+ export type NeonTableObject = {
47
+ /** Schema name */
48
+ schema?: string
49
+ /** Table name */
50
+ table: string
51
+ /** Alias used for table */
52
+ alias?: string
53
+ /** Left column (including alias) for JOIN (ignored for 1st table) */
54
+ joinColumn1?: string | NeonColumnObject
55
+ /** Right column (including alias) for JOIN (ignored for 1st table) */
56
+ joinColumn2?: string | NeonColumnObject
57
+ }
58
+
59
+ /** Enum-like type to define operation for column-value pair in WHERE clause */
60
+ export type NeonWhereCondition = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'LIKE'
61
+
62
+ /** Enum-like type to define logical operator between more WHERE clauses */
63
+ export type NeonWhereOperator = 'AND' | 'OR'
64
+
65
+ /** Object for defining a WHERE clause. */
66
+ export type NeonWhereObject = {
67
+ /** Alias used for table */
68
+ alias?: string
69
+ /** Column name */
70
+ column: string
71
+ /** Condition type */
72
+ condition: NeonWhereCondition
73
+ /** Value to be used for filtering */
74
+ value: string
75
+ /** Relation with other clauses (ignored for 1st clause) */
76
+ operator?: NeonWhereOperator
77
+ }
78
+
79
+ /** Enum-like type to define `ascending` or `descending` sorting */
80
+ export type NeonSortDirection = 'ASC' | 'DESC'
81
+
82
+ /** Object for defining an ORDER BY clause. */
83
+ export type NeonOrderObject = {
84
+ /** Column name */
85
+ column: string
86
+ /** Sort direction (`ASC` if not specified) */
87
+ direction?: NeonSortDirection
88
+ }
89
+
90
+ // consolidated types
91
+
92
+ export type NeonDataType<T> = Array<T> | NeonError
93
+ export type NeonCountType = number | NeonError
94
+ export type NeonEditType = string | NeonError
95
+ export type NeonStatusType = NeonStatusResult
96
+
97
+ export type NeonColumnType = string | string[] | NeonColumnObject | NeonColumnObject[]
98
+ export type NeonTableType = string | NeonTableObject
99
+ export type NeonFromType = string | NeonTableObject | NeonTableObject[]
100
+ export type NeonWhereType = string | NeonWhereObject | NeonWhereObject[]
101
+ export type NeonOrderType = string | NeonOrderObject | NeonOrderObject[]
102
+ export type NeonInsertType = Record<string, string> | Record<string, string>[]
103
+ export type NeonUpdateType = Record<string, string>
104
+ export type NeonBodyType = Record<string, unknown>
105
+
106
+ // query objects for SQL wrappers
107
+
108
+ export type NeonCountQuery = {
109
+ from: NeonFromType
110
+ where?: NeonWhereType
111
+ }
112
+
113
+ export type NeonSelectQuery = {
114
+ columns: NeonColumnType
115
+ from: NeonFromType
116
+ where?: NeonWhereType
117
+ order?: NeonOrderType
118
+ limit?: number
119
+ group?: NeonColumnType
120
+ having?: NeonWhereType
121
+ }
122
+
123
+ export type NeonInsertQuery = {
124
+ table: NeonTableType
125
+ values: NeonInsertType
126
+ }
127
+
128
+ export type NeonUpdateQuery = {
129
+ table: NeonTableType
130
+ values: NeonUpdateType
131
+ where?: NeonWhereType
132
+ }
133
+
134
+ export type NeonDeleteQuery = {
135
+ table: NeonTableType
136
+ where?: NeonWhereType
137
+ }