Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename config to fauna #32

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
"title": "Fauna",
"type": "object",
"properties": {
"fauna-vscode.dbSecret": {
"fauna.dbSecret": {
"type": "string",
"default": "",
"description": "The secret to use to connnect to your fauna database.",
"scope": "window"
},
"fauna-vscode.endpoint": {
"fauna.endpoint": {
"type": "string",
"default": "https://db.fauna.com",
"description": "The fauna endpoint url to use. This should typically be 'https://db.fauna.com'.",
Expand Down Expand Up @@ -150,7 +150,7 @@
"viewsWelcome": [
{
"view": "welcomeView",
"contents": "Welcome to the Fauna VSCode extension! To get started, configure your environment:\n[Configure Fauna Extension](command:workbench.action.openSettings?%22fauna-vscode%22)\nOnce configured, open the FQL Playground to begin writing queries!\n[Open FQL Playground](command:fauna-vscode.togglePlayground)\n"
"contents": "Welcome to the Fauna VSCode extension! To get started, configure your environment:\n[Configure Fauna Extension](command:workbench.action.openSettings?%22@ext:fauna.fauna-vscode%22)\nOnce configured, open the FQL Playground to begin writing queries!\n[Open FQL Playground](command:fauna-vscode.togglePlayground)\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo very nice

}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/FQLConfigurationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class FQLConfigurationManager {
* but will fail with correct error if an invalid one is present
*/
static readonly EMPTY_SECRET = "0";
static readonly FAUNA_CONFIG_PATH = "fauna-vscode";
static readonly FAUNA_CONFIG_PATH = "fauna";
static readonly SECRET_CONFIG_FIELD = "dbSecret";
static readonly ENDPOINT_CONFIG_FIELD = "endpoint";
static readonly SECRET_CONFIG_PATH = `${FQLConfigurationManager.FAUNA_CONFIG_PATH}.${FQLConfigurationManager.SECRET_CONFIG_FIELD}`;
Expand Down