1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-07 22:50:05 +00:00

feat: add public group to DB on seed

This commit is contained in:
2022-08-02 18:04:00 +05:00
parent 1a3ef62cb2
commit c3e3befc17
2 changed files with 19 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ import { GroupDetailsResponse } from '../controllers'
import User, { IUser } from './User'
const AutoIncrement = require('mongoose-sequence')(mongoose)
export const PUBLIC_GROUP_NAME = 'Public'
export interface GroupPayload {
/**
* Name of the group