@stonecrop/nuxt 0.12.5 → 0.12.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
3
  "configKey": "stonecrop",
4
- "version": "0.12.5",
4
+ "version": "0.12.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/nuxt",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
4
  "description": "Nuxt module for Stonecrop",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,14 +44,14 @@
44
44
  "jiti": "^2.4.2",
45
45
  "pathe": "^2.0.3",
46
46
  "prompts": "^2.4.2",
47
- "@stonecrop/aform": "0.12.5",
48
- "@stonecrop/atable": "0.12.5",
49
- "@stonecrop/casl-middleware": "0.12.5",
50
- "@stonecrop/node-editor": "0.12.5",
51
- "@stonecrop/graphql-middleware": "0.12.5",
52
- "@stonecrop/schema": "0.12.5",
53
- "@stonecrop/stonecrop": "0.12.5",
54
- "@stonecrop/nuxt-grafserv": "0.12.5"
47
+ "@stonecrop/aform": "0.12.7",
48
+ "@stonecrop/atable": "0.12.7",
49
+ "@stonecrop/casl-middleware": "0.12.7",
50
+ "@stonecrop/graphql-middleware": "0.12.7",
51
+ "@stonecrop/node-editor": "0.12.7",
52
+ "@stonecrop/nuxt-grafserv": "0.12.7",
53
+ "@stonecrop/stonecrop": "0.12.7",
54
+ "@stonecrop/schema": "0.12.7"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@eslint/js": "^10.0.1",
@@ -70,7 +70,7 @@
70
70
  "eslint": "^10.3.0",
71
71
  "globals": "^17.6.0",
72
72
  "nuxt": "^4.4.4",
73
- "postgraphile": "^5.0.1",
73
+ "postgraphile": "^5.0.3",
74
74
  "typescript-eslint": "^8.59.1",
75
75
  "typescript": "^6.0.3",
76
76
  "vite": "^7.3.2",
@@ -113,7 +113,7 @@ export const resolvers = {
113
113
  /**
114
114
  * Get multiple records with filtering
115
115
  */
116
- stonecropRecords(_$parent, { $doctype, $filters, $orderBy, $limit, $offset }) {
116
+ stonecropRecords(_$parent, { $doctype, $filters, $orderBy, $limit, $offset, $options }) {
117
117
  // Arguments come pre-destructured as steps with $ prefix
118
118
 
119
119
  // TODO: Implement records fetching from your database
@@ -128,9 +128,9 @@ export const resolvers = {
128
128
  // })
129
129
 
130
130
  return lambda(
131
- list([$doctype, $filters, $orderBy, $limit, $offset]),
132
- ([doctype, filters, orderBy, limit, offset]) => {
133
- console.log('stonecropRecords called:', { doctype, filters, orderBy, limit, offset })
131
+ list([$doctype, $filters, $orderBy, $limit, $offset, $options]),
132
+ ([doctype, filters, orderBy, limit, offset, options]) => {
133
+ console.log('stonecropRecords called:', { doctype, filters, orderBy, limit, offset, options })
134
134
  return {
135
135
  data: [],
136
136
  doctype,
@@ -97,7 +97,14 @@ type Query {
97
97
  """
98
98
  Get multiple records with optional filtering
99
99
  """
100
- stonecropRecords(doctype: String!, filters: JSON, orderBy: String, limit: Int, offset: Int): RecordsResult
100
+ stonecropRecords(
101
+ doctype: String!
102
+ filters: JSON
103
+ orderBy: String
104
+ limit: Int
105
+ offset: Int
106
+ options: JSON
107
+ ): RecordsResult
101
108
  }
102
109
 
103
110
  # ============================================