snapshot of https://github.com/RocketChat/Rocket.Chat.git (develop, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
This commit is contained in:
131
apps/meteor/lib/publishFields.ts
Normal file
131
apps/meteor/lib/publishFields.ts
Normal file
@@ -0,0 +1,131 @@
|
||||
export const subscriptionFields = {
|
||||
t: 1,
|
||||
ts: 1,
|
||||
ls: 1,
|
||||
lr: 1,
|
||||
name: 1,
|
||||
fname: 1,
|
||||
rid: 1,
|
||||
code: 1,
|
||||
f: 1,
|
||||
u: 1,
|
||||
category: 1,
|
||||
open: 1,
|
||||
alert: 1,
|
||||
roles: 1,
|
||||
unread: 1,
|
||||
prid: 1,
|
||||
customFields: 1,
|
||||
userMentions: 1,
|
||||
groupMentions: 1,
|
||||
archived: 1,
|
||||
audioNotificationValue: 1,
|
||||
desktopNotifications: 1,
|
||||
mobilePushNotifications: 1,
|
||||
emailNotifications: 1,
|
||||
desktopPrefOrigin: 1,
|
||||
mobilePrefOrigin: 1,
|
||||
emailPrefOrigin: 1,
|
||||
unreadAlert: 1,
|
||||
_updatedAt: 1,
|
||||
blocked: 1,
|
||||
blocker: 1,
|
||||
autoTranslate: 1,
|
||||
autoTranslateLanguage: 1,
|
||||
disableNotifications: 1,
|
||||
hideUnreadStatus: 1,
|
||||
hideMentionStatus: 1,
|
||||
muteGroupMentions: 1,
|
||||
ignored: 1,
|
||||
E2EKey: 1,
|
||||
E2ESuggestedKey: 1,
|
||||
oldRoomKeys: 1,
|
||||
draft: 1,
|
||||
threadDrafts: 1,
|
||||
tunread: 1,
|
||||
tunreadGroup: 1,
|
||||
tunreadUser: 1,
|
||||
status: 1,
|
||||
inviter: 1,
|
||||
|
||||
// Omnichannel fields
|
||||
department: 1,
|
||||
v: 1,
|
||||
onHold: 1,
|
||||
} as const;
|
||||
|
||||
export const roomFields = {
|
||||
_id: 1,
|
||||
name: 1,
|
||||
fname: 1,
|
||||
t: 1,
|
||||
cl: 1,
|
||||
u: 1,
|
||||
lm: 1,
|
||||
// usernames: 1,
|
||||
teamId: 1,
|
||||
teamMain: 1,
|
||||
topic: 1,
|
||||
announcement: 1,
|
||||
announcementDetails: 1,
|
||||
muted: 1,
|
||||
unmuted: 1,
|
||||
_updatedAt: 1,
|
||||
archived: 1,
|
||||
description: 1,
|
||||
default: 1,
|
||||
customFields: 1,
|
||||
lastMessage: 1,
|
||||
retention: 1,
|
||||
prid: 1,
|
||||
avatarETag: 1,
|
||||
usersCount: 1,
|
||||
msgs: 1,
|
||||
|
||||
// @TODO create an API to register this fields based on room type
|
||||
tags: 1,
|
||||
sms: 1,
|
||||
code: 1,
|
||||
joinCodeRequired: 1,
|
||||
open: 1,
|
||||
label: 1,
|
||||
ro: 1,
|
||||
reactWhenReadOnly: 1,
|
||||
sysMes: 1,
|
||||
sentiment: 1,
|
||||
broadcast: 1,
|
||||
encrypted: 1,
|
||||
e2eKeyId: 1,
|
||||
|
||||
// Omnichannel fields
|
||||
livechatData: 1,
|
||||
priorityId: 1,
|
||||
priorityWeight: 1,
|
||||
slaId: 1,
|
||||
estimatedWaitingTimeQueue: 1,
|
||||
v: 1,
|
||||
contactId: 1,
|
||||
verified: 1,
|
||||
departmentId: 1,
|
||||
servedBy: 1,
|
||||
source: 1,
|
||||
transcriptRequest: 1,
|
||||
onHold: 1,
|
||||
metrics: 1,
|
||||
ts: 1,
|
||||
waitingResponse: 1,
|
||||
queuedAt: 1,
|
||||
|
||||
// Federation fields
|
||||
federated: 1,
|
||||
federation: 1,
|
||||
|
||||
// fields used by DMs
|
||||
usernames: 1,
|
||||
uids: 1,
|
||||
|
||||
usersWaitingForE2EKeys: 1,
|
||||
|
||||
// ABAC fields
|
||||
abacAttributes: 1,
|
||||
} as const;
|
||||
Reference in New Issue
Block a user