eddyter 1.3.67 → 1.3.69
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/Provider/EditorProvider.d.ts +8 -0
- package/dist/api/auth.d.ts +6 -0
- package/dist/assets/style.css +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/{html2pdf.bundle-DgMJ1HfM.js → html2pdf.bundle-B7OdYlTX.js} +1 -1
- package/dist/{html2pdf.bundle.min-BOhKoOmb.js → html2pdf.bundle.min-B7vlR-6w.js} +1 -1
- package/dist/{index-DU8RbwAT.js → index-B14-X4aC.js} +1 -1
- package/dist/{index-B6qJV-9P.js → index-BKSigTX1.js} +1 -1
- package/dist/{index-D-CSILuH.js → index-BUcy5Ctv.js} +1 -1
- package/dist/{index-ZDUb0XYv.js → index-D0EB4Nvn.js} +8108 -7900
- package/dist/index.js +1 -1
- package/dist/nodes/CommentedTextNode.d.ts +2 -0
- package/dist/utils/fontLoader.d.ts +17 -0
- package/package.json +3 -3
|
@@ -5,6 +5,12 @@ export interface CurrentUser {
|
|
|
5
5
|
email?: string;
|
|
6
6
|
avatar?: string;
|
|
7
7
|
}
|
|
8
|
+
/** Payment warning for past_due subscriptions */
|
|
9
|
+
export interface PaymentWarning {
|
|
10
|
+
type: string;
|
|
11
|
+
message: string;
|
|
12
|
+
daysRemaining: number;
|
|
13
|
+
}
|
|
8
14
|
interface EditorContextType {
|
|
9
15
|
isAuthenticated: boolean;
|
|
10
16
|
isLoading: boolean;
|
|
@@ -16,6 +22,8 @@ interface EditorContextType {
|
|
|
16
22
|
apiKey: string | null;
|
|
17
23
|
currentUser: CurrentUser | null;
|
|
18
24
|
verifyKey: (apiKey: string) => Promise<void>;
|
|
25
|
+
/** Warning for payment issues (null when no issues) */
|
|
26
|
+
paymentWarning: PaymentWarning | null;
|
|
19
27
|
}
|
|
20
28
|
export declare const useEditor: () => EditorContextType;
|
|
21
29
|
export declare const useEditorOptional: () => EditorContextType | undefined;
|
package/dist/api/auth.d.ts
CHANGED
|
@@ -101,6 +101,12 @@ export interface ProjectData {
|
|
|
101
101
|
status: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
104
|
+
/** Payment warning for past_due subscriptions (null when no issues) */
|
|
105
|
+
warning?: {
|
|
106
|
+
type: string;
|
|
107
|
+
message: string;
|
|
108
|
+
daysRemaining: number;
|
|
109
|
+
} | null;
|
|
104
110
|
}
|
|
105
111
|
export interface ApiResponse {
|
|
106
112
|
success: boolean;
|