decord/alpha/source/actions/MaskedLinkActionCreators.tsx

23 lines
721 B
TypeScript
Raw Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 13051
// Function ID: 13052
// Name: MaskedLinkActionCreators
2026-10-03 08:58:59 +00:00
// Dependencies: [584, 2]
2026-07-20 16:05:17 +00:00
// Exports: trustDomain, trustProtocol
2026-10-12 06:59:38 +00:00
// Module 13051 (MaskedLinkActionCreators)
2026-10-03 08:58:59 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("actions/MaskedLinkActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const trustDomain = function trustDomain(url) {
2026-10-03 08:58:59 +00:00
const obj = DispatcherDefault;
const obj2 = { type: "MASKED_LINK_ADD_TRUSTED_DOMAIN", url };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
};
export const trustProtocol = function trustProtocol(url) {
2026-10-03 08:58:59 +00:00
const obj = DispatcherDefault;
const obj2 = { type: "MASKED_LINK_ADD_TRUSTED_PROTOCOL", url };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
};