decord/alpha/source/modules/rtc/SecureFramesActionCreators.tsx

49 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 8811
// Function ID: 8812
// Name: SecureFramesActionCreators
2026-10-06 11:16:32 +00:00
// Dependencies: [584, 2]
2026-07-20 16:05:17 +00:00
2026-10-09 10:00:15 +00:00
// Module 8811 (SecureFramesActionCreators)
2026-10-03 08:58:59 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
2026-10-06 11:16:32 +00:00
let obj = {
2026-07-20 16:05:17 +00:00
clearUploadedKeyVersions() {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
obj.dispatch({ type: "SECURE_FRAMES_UPLOADED_KEY_VERSION_CLEAR" });
2026-07-20 16:05:17 +00:00
},
addUploadedKeyVersion(keyVersion) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_UPLOADED_KEY_VERSION_ADD", keyVersion };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
},
createSecureFramesVerifiedKey(userId, key) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_VERIFIED_KEY_CREATE", userId, key };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
},
deleteSecureFramesVerifiedKey(userId, serializeKeyResult) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_VERIFIED_KEY_DELETE", userId, serializedKey: serializeKeyResult };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
},
deleteSecureFramesUserVerifiedKeys(userId) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_USER_VERIFIED_KEYS_DELETE", userId };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
},
createSecureFramesTransientKey(userId, key) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_TRANSIENT_KEY_CREATE", userId, key };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
},
deleteSecureFramesTransientKey(userId) {
2026-10-06 11:16:32 +00:00
const obj = DispatcherDefault;
2026-10-03 08:58:59 +00:00
const obj2 = { type: "SECURE_FRAMES_TRANSIENT_KEY_DELETE", userId };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
}
};
2026-10-06 11:16:32 +00:00
const result = size.fileFinishedImporting("modules/rtc/SecureFramesActionCreators.tsx");
2026-10-03 08:58:59 +00:00
export default obj;