@ttt-productions/chat-core 0.4.15 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
- /** Maximum length for a chat message body, including admin-support message text. */
2
- export declare const MAX_CHAT_MESSAGE_LENGTH = 4000;
1
+ export { MAX_CHAT_MESSAGE_LENGTH } from '@ttt-productions/ttt-core';
3
2
  /** Age threshold after which a stale chat-attachment row becomes eligible for cleanup (1 hour). */
4
3
  export declare const CHAT_ATTACHMENT_STALE_AGE_MS: number;
5
4
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAE5C,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,QAAiB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,mGAAmG;AACnG,eAAO,MAAM,4BAA4B,QAAiB,CAAC"}
package/dist/constants.js CHANGED
@@ -1,6 +1,7 @@
1
1
  // Chat-domain limits and operational constants.
2
- /** Maximum length for a chat message body, including admin-support message text. */
3
- export const MAX_CHAT_MESSAGE_LENGTH = 4000;
2
+ // Re-exported from ttt-core. Source of truth lives there so ttt-core's
3
+ // schemas can reference it without creating a circular package dependency.
4
+ export { MAX_CHAT_MESSAGE_LENGTH } from '@ttt-productions/ttt-core';
4
5
  /** Age threshold after which a stale chat-attachment row becomes eligible for cleanup (1 hour). */
5
6
  export const CHAT_ATTACHMENT_STALE_AGE_MS = 60 * 60 * 1000;
6
7
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAEhD,oFAAoF;AACpF,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAE5C,mGAAmG;AACnG,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAEhD,uEAAuE;AACvE,2EAA2E;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,mGAAmG;AACnG,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/chat-core",
3
- "version": "0.4.15",
3
+ "version": "0.4.16",
4
4
  "description": "Shared Firestore chat core (realtime newest window + infinite older pagination) for TTT Productions apps",
5
5
  "repository": {
6
6
  "type": "git",