@@ -242,83 +242,6 @@ export const EDIT_DATA_OUTPUT: OutputProperty = {
242242 properties : EDIT_DATA_OUTPUT_PROPERTIES ,
243243}
244244
245- /**
246- * Pagination cursor output properties for listing responses
247- */
248- export const PAGINATION_OUTPUT_PROPERTIES = {
249- after : {
250- type : 'string' ,
251- description : 'Fullname of the last item for forward pagination' ,
252- optional : true ,
253- } ,
254- before : {
255- type : 'string' ,
256- description : 'Fullname of the first item for backward pagination' ,
257- optional : true ,
258- } ,
259- } as const satisfies Record < string , OutputProperty >
260-
261- /**
262- * User profile output properties
263- */
264- export const USER_PROFILE_OUTPUT_PROPERTIES = {
265- id : { type : 'string' , description : 'User ID' } ,
266- name : { type : 'string' , description : 'Username' } ,
267- created_utc : { type : 'number' , description : 'Account creation time in UTC epoch seconds' } ,
268- link_karma : { type : 'number' , description : 'Total link karma' } ,
269- comment_karma : { type : 'number' , description : 'Total comment karma' } ,
270- total_karma : { type : 'number' , description : 'Combined total karma' } ,
271- is_gold : { type : 'boolean' , description : 'Whether user has Reddit Premium' } ,
272- is_mod : { type : 'boolean' , description : 'Whether user is a moderator' } ,
273- has_verified_email : { type : 'boolean' , description : 'Whether email is verified' } ,
274- icon_img : { type : 'string' , description : 'User avatar/icon URL' } ,
275- } as const satisfies Record < string , OutputProperty >
276-
277- /**
278- * Message output properties
279- */
280- export const MESSAGE_OUTPUT_PROPERTIES = {
281- id : { type : 'string' , description : 'Message ID' } ,
282- name : { type : 'string' , description : 'Thing fullname (t4_xxxxx)' } ,
283- author : { type : 'string' , description : 'Sender username' } ,
284- dest : { type : 'string' , description : 'Recipient username' } ,
285- subject : { type : 'string' , description : 'Message subject' } ,
286- body : { type : 'string' , description : 'Message body text' } ,
287- created_utc : { type : 'number' , description : 'Creation time in UTC epoch seconds' } ,
288- new : { type : 'boolean' , description : 'Whether the message is unread' } ,
289- was_comment : { type : 'boolean' , description : 'Whether the message is a comment reply' } ,
290- context : { type : 'string' , description : 'Context URL for comment replies' } ,
291- distinguished : {
292- type : 'string' ,
293- description : 'Distinction: null/"moderator"/"admin"' ,
294- optional : true ,
295- } ,
296- } as const satisfies Record < string , OutputProperty >
297-
298- /**
299- * Subreddit info output properties
300- */
301- export const SUBREDDIT_INFO_OUTPUT_PROPERTIES = {
302- id : { type : 'string' , description : 'Subreddit ID' } ,
303- name : { type : 'string' , description : 'Subreddit fullname (t5_xxxxx)' } ,
304- display_name : { type : 'string' , description : 'Subreddit name without prefix' } ,
305- title : { type : 'string' , description : 'Subreddit title' } ,
306- description : { type : 'string' , description : 'Full subreddit description (markdown)' } ,
307- public_description : { type : 'string' , description : 'Short public description' } ,
308- subscribers : { type : 'number' , description : 'Number of subscribers' } ,
309- accounts_active : { type : 'number' , description : 'Number of currently active users' } ,
310- created_utc : { type : 'number' , description : 'Creation time in UTC epoch seconds' } ,
311- over18 : { type : 'boolean' , description : 'Whether the subreddit is NSFW' } ,
312- lang : { type : 'string' , description : 'Primary language of the subreddit' } ,
313- subreddit_type : {
314- type : 'string' ,
315- description : 'Subreddit type: public, private, restricted, etc.' ,
316- } ,
317- url : { type : 'string' , description : 'Subreddit URL path (e.g., /r/technology/)' } ,
318- icon_img : { type : 'string' , description : 'Subreddit icon URL' , optional : true } ,
319- banner_img : { type : 'string' , description : 'Subreddit banner URL' , optional : true } ,
320- } as const satisfies Record < string , OutputProperty >
321-
322245export interface RedditPost {
323246 id : string
324247 name : string
0 commit comments