Skip to content

Commit

Permalink
Add MissionRoleclear
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Feb 15, 2024
1 parent b690acf commit 945561d
Show file tree
Hide file tree
Showing 7 changed files with 1,335 additions and 7 deletions.
6 changes: 0 additions & 6 deletions api/lib/api/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ import TAKAPI from '../tak-api.js';
import { Readable } from 'node:stream'
import { TAKList } from './types.js';

export enum MissionDefaultRole = {
MISSION_OWNER = 'MISSION_OWNER',
MISSION_SUBSCRIBER = 'MISSION_SUBSCRIBER',
MISSION_READONLY_SUBSCRIBER = 'MISSION_READONLY_SUBSCRIBER'
};

export type Mission = {
name: string;
description: string;
Expand Down
1 change: 1 addition & 0 deletions api/migrations/0012_glossy_tusk.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "data" ADD COLUMN "mission_role" text DEFAULT 'MISSION_SUBSCRIBER' NOT NULL;
Loading

0 comments on commit 945561d

Please sign in to comment.