@cstar.help/js 0.7.0 → 0.8.0
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/chat/index.cjs +2 -1
- package/dist/chat/index.d.cts +2 -0
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/index.js +2 -1
- package/dist/community/index.cjs +2 -1
- package/dist/community/index.d.cts +3 -0
- package/dist/community/index.d.ts +3 -0
- package/dist/community/index.js +2 -1
- package/package.json +1 -1
package/dist/chat/index.cjs
CHANGED
package/dist/chat/index.d.cts
CHANGED
|
@@ -112,6 +112,8 @@ interface CommunityCreatePostParams {
|
|
|
112
112
|
body?: string;
|
|
113
113
|
/** Topic UUID to post in. */
|
|
114
114
|
topicId: string;
|
|
115
|
+
/** Custom field values keyed by field definition ID. */
|
|
116
|
+
customFields?: Record<string, string>;
|
|
115
117
|
/** Image attachments (max 10, images only, 5MB each). */
|
|
116
118
|
attachments?: CommunityAttachment[];
|
|
117
119
|
}
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ interface CommunityCreatePostParams {
|
|
|
112
112
|
body?: string;
|
|
113
113
|
/** Topic UUID to post in. */
|
|
114
114
|
topicId: string;
|
|
115
|
+
/** Custom field values keyed by field definition ID. */
|
|
116
|
+
customFields?: Record<string, string>;
|
|
115
117
|
/** Image attachments (max 10, images only, 5MB each). */
|
|
116
118
|
attachments?: CommunityAttachment[];
|
|
117
119
|
}
|
package/dist/chat/index.js
CHANGED
package/dist/community/index.cjs
CHANGED
|
@@ -20,6 +20,8 @@ interface CommunityCreatePostParams {
|
|
|
20
20
|
body?: string;
|
|
21
21
|
/** Topic UUID to post in. */
|
|
22
22
|
topicId: string;
|
|
23
|
+
/** Custom field values keyed by field definition ID. */
|
|
24
|
+
customFields?: Record<string, string>;
|
|
23
25
|
/** Image attachments (max 10, images only, 5MB each). */
|
|
24
26
|
attachments?: CommunityAttachment[];
|
|
25
27
|
}
|
|
@@ -92,6 +94,7 @@ interface CommunityTopic {
|
|
|
92
94
|
icon: string;
|
|
93
95
|
visibility: 'public' | 'members_only';
|
|
94
96
|
sort_order: number;
|
|
97
|
+
postCount: number;
|
|
95
98
|
customFields: TopicCustomField[];
|
|
96
99
|
}
|
|
97
100
|
/** A public community post. */
|
|
@@ -20,6 +20,8 @@ interface CommunityCreatePostParams {
|
|
|
20
20
|
body?: string;
|
|
21
21
|
/** Topic UUID to post in. */
|
|
22
22
|
topicId: string;
|
|
23
|
+
/** Custom field values keyed by field definition ID. */
|
|
24
|
+
customFields?: Record<string, string>;
|
|
23
25
|
/** Image attachments (max 10, images only, 5MB each). */
|
|
24
26
|
attachments?: CommunityAttachment[];
|
|
25
27
|
}
|
|
@@ -92,6 +94,7 @@ interface CommunityTopic {
|
|
|
92
94
|
icon: string;
|
|
93
95
|
visibility: 'public' | 'members_only';
|
|
94
96
|
sort_order: number;
|
|
97
|
+
postCount: number;
|
|
95
98
|
customFields: TopicCustomField[];
|
|
96
99
|
}
|
|
97
100
|
/** A public community post. */
|
package/dist/community/index.js
CHANGED