@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.
- package/dist/constants.d.ts +1 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +3 -2
- package/dist/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
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
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"
|
|
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
|
-
|
|
3
|
-
|
|
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
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAEhD,
|
|
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