sass-template-common 0.1.75 → 0.1.77
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/sass-template-common.d.ts +4 -2
- package/dist/sass-template-common.js +1926 -1905
- package/dist/sass-template-common.umd.cjs +20 -20
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import { ReactNode } from 'react';
|
|
|
12
12
|
import { RefAttributes } from 'react';
|
|
13
13
|
import { TextareaHTMLAttributes } from 'react';
|
|
14
14
|
|
|
15
|
-
export declare function addComment({ publication, path, username, comment, id, recaptchaResponse, baseUrl, apiToken, securityToken, }: {
|
|
15
|
+
export declare function addComment({ publication, path, username, comment, id, recaptchaResponse, baseUrl, apiToken, securityToken, COMMENTS_VARS, }: {
|
|
16
16
|
publication: string;
|
|
17
17
|
path: string;
|
|
18
18
|
username: string;
|
|
@@ -22,6 +22,7 @@ export declare function addComment({ publication, path, username, comment, id, r
|
|
|
22
22
|
baseUrl: string;
|
|
23
23
|
apiToken: string;
|
|
24
24
|
securityToken: string;
|
|
25
|
+
COMMENTS_VARS: any;
|
|
25
26
|
}): Promise<AddCommentResponse>;
|
|
26
27
|
|
|
27
28
|
declare type AddCommentResponse = {
|
|
@@ -1956,7 +1957,7 @@ export declare const REPORT_REASONS: {
|
|
|
1956
1957
|
readonly bullying: "Bullying o acoso";
|
|
1957
1958
|
};
|
|
1958
1959
|
|
|
1959
|
-
export declare function reportComment({ publication, username, id, type, baseUrl, captchaToken, apiToken, }: ReportCommentParams): Promise<{
|
|
1960
|
+
export declare function reportComment({ publication, username, id, type, baseUrl, captchaToken, apiToken, COMMENTS_VARS, }: ReportCommentParams): Promise<{
|
|
1960
1961
|
type: string;
|
|
1961
1962
|
message: string;
|
|
1962
1963
|
status: number;
|
|
@@ -1971,6 +1972,7 @@ export declare interface ReportCommentParams {
|
|
|
1971
1972
|
baseUrl: string;
|
|
1972
1973
|
captchaToken: string;
|
|
1973
1974
|
apiToken: string;
|
|
1975
|
+
COMMENTS_VARS: any;
|
|
1974
1976
|
}
|
|
1975
1977
|
|
|
1976
1978
|
export declare type ReportReasonKey = keyof typeof REPORT_REASONS;
|