Page MenuHomePhorge

D12699.1765149479.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D12699.1765149479.diff

diff --git a/lib/shared/dm-ops/create-sidebar-spec.js b/lib/shared/dm-ops/create-sidebar-spec.js
--- a/lib/shared/dm-ops/create-sidebar-spec.js
+++ b/lib/shared/dm-ops/create-sidebar-spec.js
@@ -17,7 +17,7 @@
import { threadTypes } from '../../types/thread-types-enum.js';
import { updateTypes } from '../../types/update-types-enum.js';
-export const createSidebarSpec: DMOperationSpec<DMCreateSidebarOperation> =
+const createSidebarSpec: DMOperationSpec<DMCreateSidebarOperation> =
Object.freeze({
processDMOperation: async (
dmOperation: DMCreateSidebarOperation,
@@ -104,3 +104,5 @@
};
},
});
+
+export { createSidebarSpec };
diff --git a/lib/shared/dm-ops/create-thread-spec.js b/lib/shared/dm-ops/create-thread-spec.js
--- a/lib/shared/dm-ops/create-thread-spec.js
+++ b/lib/shared/dm-ops/create-thread-spec.js
@@ -39,7 +39,7 @@
+viewerID: string,
};
type MutableThickRawThreadInfo = { ...ThickRawThreadInfo };
-export function createThickRawThreadInfo(
+function createThickRawThreadInfo(
input: CreateThickRawThreadInfoInput,
): MutableThickRawThreadInfo {
const {
@@ -100,7 +100,7 @@
};
}
-export const createThreadSpec: DMOperationSpec<DMCreateThreadOperation> =
+const createThreadSpec: DMOperationSpec<DMCreateThreadOperation> =
Object.freeze({
processDMOperation: async (
dmOperation: DMCreateThreadOperation,
@@ -158,3 +158,5 @@
};
},
});
+
+export { createThickRawThreadInfo, createThreadSpec };
diff --git a/lib/shared/dm-ops/send-text-message-spec.js b/lib/shared/dm-ops/send-text-message-spec.js
--- a/lib/shared/dm-ops/send-text-message-spec.js
+++ b/lib/shared/dm-ops/send-text-message-spec.js
@@ -8,7 +8,7 @@
import { updateTypes } from '../../types/update-types-enum.js';
import type { ClientUpdateInfo } from '../../types/update-types.js';
-export const sendTextMessageSpec: DMOperationSpec<DMSendTextMessageOperation> =
+const sendTextMessageSpec: DMOperationSpec<DMSendTextMessageOperation> =
Object.freeze({
processDMOperation: async (
dmOperation: DMSendTextMessageOperation,
@@ -38,3 +38,5 @@
};
},
});
+
+export { sendTextMessageSpec };

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 11:17 PM (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5846396
Default Alt Text
D12699.1765149479.diff (2 KB)

Event Timeline