From a267dc2cbba2b220250e7f96e6c144555a9d8844 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 7 Nov 2023 18:20:49 -0800 Subject: [PATCH] chore(systemtags): Export default base tag Signed-off-by: Christopher Ng --- apps/systemtags/src/utils.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/systemtags/src/utils.ts b/apps/systemtags/src/utils.ts index 4978459227f..c72c5975f03 100644 --- a/apps/systemtags/src/utils.ts +++ b/apps/systemtags/src/utils.ts @@ -24,7 +24,13 @@ import camelCase from 'camelcase' import type { DAVResultResponseProps } from 'webdav' -import type { ServerTag, Tag, TagWithId } from './types.js' +import type { BaseTag, ServerTag, Tag, TagWithId } from './types.js' + +export const defaultBaseTag: BaseTag = { + userVisible: true, + userAssignable: true, + canAssign: true, +} export const parseTags = (tags: { props: DAVResultResponseProps }[]): TagWithId[] => { return tags.map(({ props }) => Object.fromEntries( -- 2.39.5