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
56 changes: 56 additions & 0 deletions UDL-samples/Prisma_PSL_byGeket.prisma
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// This is the Prisma schema file for a blog application
// https://pris.ly/d/prisma-schema

generator client {
provider = "prisma-client-js"
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}

model User {
id Int @id @default(autoincrement())
email String @unique
name String?
posts Post[]
profile Profile?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}

model Profile {
id Int @id @default(autoincrement())
bio String?
user User @relation(fields: [userId], references: [id])
userId Int @unique
}

model Post {
id Int @id @default(autoincrement())
title String
content String?
published Boolean @default(false)
author User @relation(fields: [authorId], references: [id])
authorId Int
categories Category[]
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt

@@index([authorId])
}

model Category {
id Int @id @default(autoincrement())
name String @unique
posts Post[]

@@map("categories")
}

enum Role {
USER
ADMIN
MODERATOR
}
64 changes: 64 additions & 0 deletions UDLs/Prisma_PSL_byGeket.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<NotepadPlus>
<UserLang name="Prisma Schema" ext="prisma" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">( ) [ ] , ? : =</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">{</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">}</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">model enum datasource generator type view</Keywords>
<Keywords name="Keywords2">String Int Float Boolean DateTime Json Bytes Decimal BigInt Unsupported</Keywords>
<Keywords name="Keywords3">@id @default @unique @relation @map @updatedAt @ignore @db</Keywords>
<Keywords name="Keywords4">@@id @@unique @@index @@map @@ignore @@schema @@shardKey @@fulltext</Keywords>
<Keywords name="Keywords5">autoincrement cuid uuid ulid nanoid now auto dbgenerated sequence env true false null</Keywords>
<Keywords name="Keywords6">provider url output previewFeatures engineType binaryTargets fields references onDelete onUpdate name shadowDatabaseUrl directUrl relationMode extensions runtime moduleFormat generatedFileExtension importFileExtension</Keywords>
<Keywords name="Keywords7">postgresql mysql sqlite sqlserver mongodb cockroachdb Cascade Restrict NoAction SetNull SetDefault Asc Desc</Keywords>
<Keywords name="Keywords8">prisma-client-js prisma-client native library binary cjs esm foreignKeys prisma ObjectId Uuid Text VarChar Char SmallInt Double Date Time Timestamp JsonB ByteA</Keywords>
<Keywords name="Delimiters">00&quot; 01\ 02&quot; 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="800080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
9 changes: 9 additions & 0 deletions udl-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2570,6 +2570,15 @@
"autoCompletion": "Practical Programming Language (PPL)",
"autoCompletionAuthor": "generate_ac.py"
},
{
"id-name": "Prisma_PSL_byGeket",
"display-name": "Prisma Schema Language (PSL)",
"version": "Wed, 26 Nov 2025 8:00:00 GMT",
"sample": "Prisma_PSL_byGeket.prisma",
"repository": "",
"description": "Prisma Schema Language (PSL) syntax highlighting for Prisma ORM schema files",
"author": "Jones"
},
{
"id-name": "PROC_V1_byArmandoHerrazDurango",
"display-name": "Oracle PRO-C",
Expand Down
1 change: 1 addition & 0 deletions udl-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
| [Powerpro](./UDLs/Powerpro_byBrotherGabriel-Marie.xml) | [Brother Gabriel-Marie](mailto:brgabriel@sspx.com) | Powerpro |
| [Powershell](./UDLs/Powershell_by-jongalloway.xml) | [jongalloway](mailto:jongalloway@users.sourceforge.net) | Powershell |
| [Practical Programming Language (PPL)](./UDLs/PPL_byOscarHenryTejera.xml) | [Oscar Henry Tejera](mailto:henrytejera@gmail.com) | Practical Programming Language (PPL) |
| [Prisma Schema Language](./UDLs/Prisma_byJones.xml) | Jones | Prisma Schema Language (PSL) syntax highlighting for Prisma ORM schema files |
| [Progress4GL](./UDLs/Progress4GL_by-jefb.xml) | [jefb](mailto:jefb@users.sourceforge.net) | Progress4GL |
| [Prolog (GNU)](./UDLs/Prolog-GNU_byDanielDiaz.xml) | [Daniel Diaz](mailto:Daniel.Diaz@univ-paris1.fr) | Prolog (GNU) |
| [Prolog (SWI)](./UDLs/Prolog-SWI_byAnthonyBonnier.xml) | [Anthony Bonnier](mailto:anthonybonnier@gmail.com) | Prolog (SWI) |
Expand Down