@creator.co/creatorco-prisma-client 1.0.57 → 1.0.58
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/edge.js +7 -5
- package/index-browser.js +3 -1
- package/index.d.ts +71 -1
- package/index.js +7 -5
- package/package.json +1 -1
- package/schema.prisma +8 -6
- package/wasm.js +3 -1
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -1237,12 +1237,14 @@ model SocialProfile {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
1239
|
model MessageTemplate {
|
|
1240
|
-
id
|
|
1241
|
-
label
|
|
1242
|
-
template
|
|
1243
|
-
brandId
|
|
1244
|
-
brand
|
|
1245
|
-
metaData
|
|
1240
|
+
id Int @id @default(autoincrement())
|
|
1241
|
+
label String?
|
|
1242
|
+
template String @db.Text
|
|
1243
|
+
brandId Int?
|
|
1244
|
+
brand Brand? @relation(fields: [brandId], references: [id])
|
|
1245
|
+
metaData Json @default("{}") // To save any additional data such as user-defined variables
|
|
1246
|
+
createdAt DateTime? @default(now())
|
|
1247
|
+
updatedAt DateTime? @updatedAt
|
|
1246
1248
|
|
|
1247
1249
|
@@index([brandId])
|
|
1248
1250
|
@@map("messagetemplate")
|
package/wasm.js
CHANGED
|
@@ -844,7 +844,9 @@ exports.Prisma.MessageTemplateScalarFieldEnum = {
|
|
|
844
844
|
label: 'label',
|
|
845
845
|
template: 'template',
|
|
846
846
|
brandId: 'brandId',
|
|
847
|
-
metaData: 'metaData'
|
|
847
|
+
metaData: 'metaData',
|
|
848
|
+
createdAt: 'createdAt',
|
|
849
|
+
updatedAt: 'updatedAt'
|
|
848
850
|
};
|
|
849
851
|
|
|
850
852
|
exports.Prisma.EmailTemplateScalarFieldEnum = {
|