Создан компонет счетчика сайта

This commit is contained in:
Web-serfer 2026-04-29 20:23:07 +05:00
parent 54b92c3015
commit 95c7b64d4c
11 changed files with 425 additions and 31 deletions

View file

@ -0,0 +1,20 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_2651661972")
// update collection data
unmarshal({
"createRule": ""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_2651661972")
// update collection data
unmarshal({
"createRule": "@request.method = \"POST\""
}, collection)
return app.save(collection)
})