astro-loader-pocketbase 2.5.1-next.1 → 2.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-loader-pocketbase",
3
- "version": "2.5.1-next.1",
3
+ "version": "2.6.0",
4
4
  "description": "A content loader for Astro that uses the PocketBase API",
5
5
  "keywords": [
6
6
  "astro",
@@ -44,22 +44,22 @@
44
44
  "devDependencies": {
45
45
  "@commitlint/cli": "^19.8.0",
46
46
  "@commitlint/config-conventional": "^19.8.0",
47
- "@eslint/js": "^9.23.0",
47
+ "@eslint/js": "^9.24.0",
48
48
  "@stylistic/eslint-plugin": "^4.2.0",
49
- "@types/node": "^22.13.14",
50
- "@vitest/coverage-v8": "^3.0.9",
51
- "astro": "^5.5.5",
52
- "eslint": "^9.23.0",
53
- "eslint-config-prettier": "^10.1.1",
49
+ "@types/node": "^22.14.1",
50
+ "@vitest/coverage-v8": "^3.1.1",
51
+ "astro": "^5.7.3",
52
+ "eslint": "^9.24.0",
53
+ "eslint-config-prettier": "^10.1.2",
54
54
  "globals": "^16.0.0",
55
55
  "husky": "^9.1.7",
56
- "lint-staged": "^15.5.0",
56
+ "lint-staged": "^15.5.1",
57
57
  "prettier": "^3.5.3",
58
58
  "prettier-plugin-organize-imports": "^4.1.0",
59
59
  "prettier-plugin-packagejson": "^2.5.10",
60
- "typescript": "^5.8.2",
61
- "typescript-eslint": "^8.28.0",
62
- "vitest": "^3.0.9"
60
+ "typescript": "^5.8.3",
61
+ "typescript-eslint": "^8.30.1",
62
+ "vitest": "^3.1.1"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "astro": "^5.0.0"
@@ -35,6 +35,12 @@ export function parseSchema(
35
35
  // Coerce and parse the value as a date
36
36
  fieldType = z.coerce.date();
37
37
  break;
38
+ case "geoPoint":
39
+ fieldType = z.object({
40
+ lon: z.number(),
41
+ lat: z.number()
42
+ });
43
+ break;
38
44
  case "select":
39
45
  if (!field.values) {
40
46
  throw new Error(