decord/source/actions/MaskedLinkActionCreators.tsx

20 lines
595 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 12230
// Function ID: 95539
2026-07-20 16:05:17 +00:00
// Name: trustDomain
2026-07-23 10:11:24 +00:00
// Dependencies: [686, 2]
2026-07-20 16:05:17 +00:00
// Exports: trustDomain, trustProtocol
2026-07-27 11:26:19 +00:00
// Module 12230 (trustDomain)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("actions/MaskedLinkActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const trustDomain = function trustDomain(url) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "MASKED_LINK_ADD_TRUSTED_DOMAIN", url };
obj.dispatch(obj);
};
export const trustProtocol = function trustProtocol(url) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "MASKED_LINK_ADD_TRUSTED_PROTOCOL", url };
obj.dispatch(obj);
};