decord/source/actions/MaskedLinkActionCreators.tsx

23 lines
668 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12477
// Function ID: 12478
2026-07-20 16:05:17 +00:00
// Name: trustDomain
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
// Exports: trustDomain, trustProtocol
2026-08-24 06:08:38 +00:00
// Module 12477 (trustDomain)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 709 */;
const result = set.fileFinishedImporting("actions/MaskedLinkActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const trustDomain = function trustDomain(url) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
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-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "MASKED_LINK_ADD_TRUSTED_PROTOCOL", url };
obj.dispatch(obj);
};