Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32213768
D12699.1765149479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D12699.1765149479.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12699: [lib] Export once at the end of DMOperationSpec files
Attached
Detach File
Event Timeline
Log In to Comment