sass-template-common 0.1.74 → 0.1.76
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 +8 -2
- package/dist/sass-template-common.js +1790 -1768
- package/dist/sass-template-common.umd.cjs +16 -16
- 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 = {
|
|
@@ -1542,6 +1543,10 @@ declare type Props_10 = {
|
|
|
1542
1543
|
paths: RoutePathConfig;
|
|
1543
1544
|
internalPath: string;
|
|
1544
1545
|
showComments?: boolean;
|
|
1546
|
+
COMMENTS_VARS?: {
|
|
1547
|
+
COGNITO_AUTH_PREFIX: string;
|
|
1548
|
+
CAPTCHA_KEY_V2: string;
|
|
1549
|
+
};
|
|
1545
1550
|
};
|
|
1546
1551
|
|
|
1547
1552
|
declare type Props_11 = {
|
|
@@ -1952,7 +1957,7 @@ export declare const REPORT_REASONS: {
|
|
|
1952
1957
|
readonly bullying: "Bullying o acoso";
|
|
1953
1958
|
};
|
|
1954
1959
|
|
|
1955
|
-
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<{
|
|
1956
1961
|
type: string;
|
|
1957
1962
|
message: string;
|
|
1958
1963
|
status: number;
|
|
@@ -1967,6 +1972,7 @@ export declare interface ReportCommentParams {
|
|
|
1967
1972
|
baseUrl: string;
|
|
1968
1973
|
captchaToken: string;
|
|
1969
1974
|
apiToken: string;
|
|
1975
|
+
COMMENTS_VARS: any;
|
|
1970
1976
|
}
|
|
1971
1977
|
|
|
1972
1978
|
export declare type ReportReasonKey = keyof typeof REPORT_REASONS;
|