@mdfriday/foundry 26.3.19 → 26.3.21
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.
- package/dist/cli.js +24 -15
- package/dist/index.js +1 -1
- package/dist/internal/application/identity.d.ts +1 -1
- package/dist/internal/domain/publish/type.d.ts +1 -1
- package/dist/internal/interfaces/obsidian/license.d.ts +7 -1
- package/dist/internal/interfaces/obsidian/project.d.ts +1 -0
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export declare class IdentityAppService {
|
|
|
23
23
|
apiUrl?: string;
|
|
24
24
|
websiteUrl?: string;
|
|
25
25
|
}): Promise<void>;
|
|
26
|
-
|
|
26
|
+
requestTrial(email: string): Promise<import("@internal/domain/identity/factory/user-factory").TrialLicenseResponse>;
|
|
27
27
|
loginWithLicense(licenseKey: string): Promise<User>;
|
|
28
28
|
activateLicense(licenseKey: string, device?: Device): Promise<User>;
|
|
29
29
|
requestAndActivateTrial(email: string): Promise<User>;
|
|
@@ -38,7 +38,7 @@ export interface NetlifyPublishConfig extends BasePublishConfig {
|
|
|
38
38
|
export interface MDFridayPublishConfig extends BasePublishConfig {
|
|
39
39
|
type: 'mdfriday';
|
|
40
40
|
apiUrl?: string;
|
|
41
|
-
deploymentType: 'share' | 'sub' | 'custom' | 'enterprise';
|
|
41
|
+
deploymentType: 'share' | 'sub' | 'custom' | 'enterprise' | 'free';
|
|
42
42
|
path: string;
|
|
43
43
|
enabled: boolean;
|
|
44
44
|
accessToken?: string;
|
|
@@ -90,7 +90,13 @@ export declare class ObsidianLicenseService {
|
|
|
90
90
|
private readonly httpClient;
|
|
91
91
|
constructor(httpClient: HttpClient);
|
|
92
92
|
private getIdentityService;
|
|
93
|
-
requestTrial(workspacePath: string, email: string): Promise<ObsidianLicenseResult<
|
|
93
|
+
requestTrial(workspacePath: string, email: string): Promise<ObsidianLicenseResult<{
|
|
94
|
+
email: string;
|
|
95
|
+
licenseKey: string;
|
|
96
|
+
password: string;
|
|
97
|
+
validityDays: number;
|
|
98
|
+
}>>;
|
|
99
|
+
requestAndActivateTrial(workspacePath: string, email: string): Promise<ObsidianLicenseResult<ObsidianLicenseInfo>>;
|
|
94
100
|
loginWithLicense(workspacePath: string, licenseKey: string): Promise<ObsidianLicenseResult<{}>>;
|
|
95
101
|
activateLicense(workspacePath: string, licenseKey: string): Promise<ObsidianLicenseResult<ObsidianLicenseInfo>>;
|
|
96
102
|
getLicenseInfo(workspacePath: string): Promise<ObsidianLicenseResult<ObsidianLicenseInfo>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdfriday/foundry",
|
|
3
|
-
"version": "26.3.
|
|
3
|
+
"version": "26.3.21",
|
|
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",
|