Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"embla-carousel": "^8.6.0",
"formsnap": "^2.0.1",
"pako": "^2.1.0",
"pocketbase": "^0.22.0",
"pocketbase": "^0.26.0",
"screenfull": "^6.0.2",
"sveltekit-superforms": "^2.25.0",
"three": "^0.176.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("f96llnpqjo2l87m")

// update field
collection.fields.addAt(2, new Field({
"autogeneratePattern": "",
"hidden": false,
"id": "brxbc8vv",
"max": 1250000,
"min": 0,
"name": "data",
"pattern": "^(SHAPEZ2)-\\d-.+$",
"presentable": false,
"primaryKey": false,
"required": true,
"system": false,
"type": "text"
}))

return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("f96llnpqjo2l87m")

// update field
collection.fields.addAt(2, new Field({
"autogeneratePattern": "",
"hidden": false,
"id": "brxbc8vv",
"max": 0,
"min": 0,
"name": "data",
"pattern": "^(SHAPEZ2)-\\d-.+$",
"presentable": false,
"primaryKey": false,
"required": true,
"system": false,
"type": "text"
}))

return app.save(collection)
})
2 changes: 1 addition & 1 deletion resources/deployment/pocketbase.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:latest

ARG PB_VERSION=0.23.0
ARG PB_VERSION=0.28.2

RUN apk add --no-cache \
unzip \
Expand Down
4 changes: 3 additions & 1 deletion src/routes/(app)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@

<div class="mx-auto grid grid-cols-1 gap-4 lg:grid-cols-3">
{#each features as feature (feature.url)}
<div class="bg-layer overflow-hidden rounded-md border shadow-md">
<div
class="bg-layer divide-y overflow-hidden rounded-md border shadow-md"
>
<Button.Root
class="inline-block w-full"
href={feature.url}
Expand Down