Skip to content

Instantly share code, notes, and snippets.

View simonrey1's full-sized avatar

Simon Rey simonrey1

  • Redhat
  • France
View GitHub Profile
@simonrey1
simonrey1 / extension-manifest.json
Created February 9, 2026 11:16
extension-manifest.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"displayName": {
"type": "string"
},
abstract model IdCreatedUpdated {
id String @id @default(uuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
deletedAt DateTime?
deletedAtCascadeKey String?
@@deny('update', future().id != id || future().createdAt != createdAt )
}