MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / GroupModel

Class GroupModel

packages/@deeplib/db/src/models/group.ts:3–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Model } from 'objection';
2
3export class GroupModel extends Model {
4 static override tableName = 'groups';
5
6 id!: string;
7
8 encrypted_name!: Uint8Array;
9
10 main_page_id!: string;
11
12 user_id!: string | null;
13
14 encrypted_rehashed_password_hash!: Uint8Array | null;
15
16 access_keyring!: Uint8Array | null;
17 encrypted_content_keyring!: Uint8Array;
18
19 public_keyring!: Uint8Array;
20 encrypted_private_keyring!: Uint8Array;
21
22 permanent_deletion_date!: Date | null;
23
24 are_join_requests_allowed!: boolean;
25}

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected