generated from ubiquity/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from gentlementlegen/development
refactor: update references from ubiquibot to ubiquity-os
- Loading branch information
Showing
7 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { StaticDecode, Type as T } from "@sinclair/typebox"; | ||
import { LOG_LEVEL } from "@ubiquity-os/ubiquity-os-logger"; | ||
|
||
export const envSchema = T.Object({ | ||
SUPABASE_URL: T.String(), | ||
SUPABASE_KEY: T.String(), | ||
KERNEL_PUBLIC_KEY: T.Optional(T.String()), | ||
LOG_LEVEL: T.Enum(LOG_LEVEL, { default: LOG_LEVEL.INFO }), | ||
}); | ||
|
||
export type Env = StaticDecode<typeof envSchema>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import { StaticDecode, Type as T } from "@sinclair/typebox"; | ||
import { LOG_LEVEL } from "@ubiquity-os/ubiquity-os-logger"; | ||
|
||
export const pluginSettingsSchema = T.Object({ | ||
/** | ||
* Allows any user to query anyone else. If false, only org members can query others. | ||
*/ | ||
allowPublicQuery: T.Optional(T.Boolean({ default: true })), | ||
logLevel: T.Optional(T.Enum(LOG_LEVEL, { default: LOG_LEVEL.INFO })), | ||
}); | ||
|
||
export type PluginSettings = StaticDecode<typeof pluginSettingsSchema>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters