22 lines
668 B
TypeScript
22 lines
668 B
TypeScript
// Module ID: 12477
|
|
// Function ID: 12478
|
|
// Name: trustDomain
|
|
// Dependencies: [709, 2]
|
|
// Exports: trustDomain, trustProtocol
|
|
|
|
// Module 12477 (trustDomain)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
const result = set.fileFinishedImporting("actions/MaskedLinkActionCreators.tsx");
|
|
|
|
export const trustDomain = function trustDomain(url) {
|
|
let obj = dispatcherDefault;
|
|
obj = { type: "MASKED_LINK_ADD_TRUSTED_DOMAIN", url };
|
|
obj.dispatch(obj);
|
|
};
|
|
export const trustProtocol = function trustProtocol(url) {
|
|
let obj = dispatcherDefault;
|
|
obj = { type: "MASKED_LINK_ADD_TRUSTED_PROTOCOL", url };
|
|
obj.dispatch(obj);
|
|
};
|