Add checking the package name and activity name length

This commit is contained in:
Jonas Lochmann
2020-10-05 02:00:00 +02:00
parent ba3bb50113
commit a767a94430
4 changed files with 35 additions and 3 deletions
+3
View File
@@ -32,6 +32,9 @@ export type AppActivityModelStatic = typeof Sequelize.Model & {
new (values?: object, options?: Sequelize.BuildOptions): AppActivityModel;
}
export const maxPackageNameLength = 255
export const maxActivityNameLength = 255
export const attributes: SequelizeAttributes<AppActivityAttributes> = {
familyId: {
...familyIdColumn,