@mdfriday/foundry 26.3.16 → 26.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,7 @@ export interface MDFridayPublishConfig extends BasePublishConfig {
39
39
  type: 'mdfriday';
40
40
  apiUrl?: string;
41
41
  deploymentType: 'share' | 'sub' | 'custom' | 'enterprise';
42
+ path: string;
42
43
  enabled: boolean;
43
44
  accessToken?: string;
44
45
  licenseKey?: string;
@@ -36,6 +36,7 @@ export declare class Project {
36
36
  getConfigPath(): string;
37
37
  getConfigValue(key: string): any;
38
38
  setConfigValue(key: string, value: any): void;
39
+ setConfig(config: ProjectConfig): void;
39
40
  unsetConfigValue(key: string): boolean;
40
41
  saveConfig(): Promise<void>;
41
42
  private getNestedValue;
@@ -33,6 +33,7 @@ export declare class ObsidianProjectConfigService {
33
33
  constructor(workspaceAppService: WorkspaceAppService);
34
34
  get(workspacePath: string, projectName: string, key: string): Promise<ObsidianConfigResult<ConfigGetResult>>;
35
35
  set(workspacePath: string, projectName: string, key: string, value: any): Promise<ObsidianConfigResult<ConfigGetResult>>;
36
+ setAll(workspacePath: string, projectName: string, config: Record<string, any>): Promise<ObsidianConfigResult<ConfigListResult>>;
36
37
  list(workspacePath: string, projectName: string): Promise<ObsidianConfigResult<ConfigListResult>>;
37
38
  unset(workspacePath: string, projectName: string, key: string): Promise<ObsidianConfigResult<{
38
39
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdfriday/foundry",
3
- "version": "26.3.16",
3
+ "version": "26.3.18",
4
4
  "description": "The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",