Skip to content

Commit

Permalink
feat!: datasource default is now datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
waynevanson committed Aug 29, 2023
1 parent e2279c9 commit 96adb9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vault/Sample 04.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ schema:
properties:
name:
type: string
data: {}
datasource: {}
---

```yaml-data-entry
Expand Down
2 changes: 1 addition & 1 deletion .vault/Sample 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ schema:
properties:
name:
type: string
data: {}
datasource: {}
---

```yaml-data-entry
Expand Down
1 change: 0 additions & 1 deletion .vault/Sample 06.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ schema:
type: number
datasource:
name: Yo bro
data: {}
---

```yaml-data-entry
Expand Down
4 changes: 2 additions & 2 deletions packages/data-entry/src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import deepmerge from 'deepmerge';
import { Notice, PluginSettingTab, Setting } from 'obsidian';
import { PluginSettingTab, Setting } from 'obsidian';
import { MainPlugin } from './plugin';

export type SettingsConfiguration = Record<
Expand All @@ -9,7 +9,7 @@ export type SettingsConfiguration = Record<

export class ApplicationSettings extends PluginSettingTab {
public settings: SettingsConfiguration = {
datasource: { frontmatter: 'data' },
datasource: { frontmatter: 'datasource' },
schema: { frontmatter: 'schema' },
uischema: { frontmatter: 'uischema' },
};
Expand Down

0 comments on commit 96adb9c

Please sign in to comment.