@bubblelab/bubble-core 0.1.221 → 0.1.222

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.
@@ -0,0 +1,617 @@
1
+ import { CredentialType } from '@bubblelab/shared-schemas';
2
+ import { ServiceBubble } from '../../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../../types/bubble.js';
4
+ import { type SlabParamsInput, type SlabResult } from './slab.schema.js';
5
+ /**
6
+ * SlabBubble - Integration with Slab knowledge management platform
7
+ *
8
+ * Provides operations for interacting with Slab:
9
+ * - Search posts across the workspace
10
+ * - Get specific post details
11
+ * - List all organization posts
12
+ * - Get posts within a topic
13
+ * - List all topics
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * // Search for posts
18
+ * const result = await new SlabBubble({
19
+ * operation: 'search_posts',
20
+ * query: 'onboarding guide',
21
+ * first: 10,
22
+ * }).action();
23
+ *
24
+ * // Get a specific post
25
+ * const post = await new SlabBubble({
26
+ * operation: 'get_post',
27
+ * post_id: 'abc123',
28
+ * }).action();
29
+ * ```
30
+ */
31
+ export declare class SlabBubble<T extends SlabParamsInput = SlabParamsInput> extends ServiceBubble<T, Extract<SlabResult, {
32
+ operation: T['operation'];
33
+ }>> {
34
+ static readonly service = "slab";
35
+ static readonly authType: "basic";
36
+ static readonly bubbleName: "slab";
37
+ static readonly type: "service";
38
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
39
+ operation: import("zod").ZodLiteral<"search_posts">;
40
+ query: import("zod").ZodString;
41
+ first: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
42
+ after: import("zod").ZodOptional<import("zod").ZodString>;
43
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
44
+ }, "strip", import("zod").ZodTypeAny, {
45
+ query: string;
46
+ operation: "search_posts";
47
+ first: number;
48
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
49
+ after?: string | undefined;
50
+ }, {
51
+ query: string;
52
+ operation: "search_posts";
53
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
54
+ after?: string | undefined;
55
+ first?: number | undefined;
56
+ }>, import("zod").ZodObject<{
57
+ operation: import("zod").ZodLiteral<"get_post">;
58
+ post_id: import("zod").ZodString;
59
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
60
+ }, "strip", import("zod").ZodTypeAny, {
61
+ operation: "get_post";
62
+ post_id: string;
63
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
64
+ }, {
65
+ operation: "get_post";
66
+ post_id: string;
67
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
68
+ }>, import("zod").ZodObject<{
69
+ operation: import("zod").ZodLiteral<"list_posts">;
70
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
71
+ }, "strip", import("zod").ZodTypeAny, {
72
+ operation: "list_posts";
73
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
74
+ }, {
75
+ operation: "list_posts";
76
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
77
+ }>, import("zod").ZodObject<{
78
+ operation: import("zod").ZodLiteral<"get_topic_posts">;
79
+ topic_id: import("zod").ZodString;
80
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
81
+ }, "strip", import("zod").ZodTypeAny, {
82
+ operation: "get_topic_posts";
83
+ topic_id: string;
84
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
85
+ }, {
86
+ operation: "get_topic_posts";
87
+ topic_id: string;
88
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
89
+ }>, import("zod").ZodObject<{
90
+ operation: import("zod").ZodLiteral<"list_topics">;
91
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
92
+ }, "strip", import("zod").ZodTypeAny, {
93
+ operation: "list_topics";
94
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
95
+ }, {
96
+ operation: "list_topics";
97
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
98
+ }>]>;
99
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
100
+ operation: import("zod").ZodLiteral<"search_posts">;
101
+ success: import("zod").ZodBoolean;
102
+ posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
103
+ id: import("zod").ZodString;
104
+ title: import("zod").ZodString;
105
+ highlight: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
106
+ content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
107
+ insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
108
+ publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
109
+ owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
110
+ id: import("zod").ZodString;
111
+ name: import("zod").ZodString;
112
+ }, "strip", import("zod").ZodTypeAny, {
113
+ name: string;
114
+ id: string;
115
+ }, {
116
+ name: string;
117
+ id: string;
118
+ }>>>;
119
+ topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
120
+ id: import("zod").ZodString;
121
+ name: import("zod").ZodString;
122
+ }, "strip", import("zod").ZodTypeAny, {
123
+ name: string;
124
+ id: string;
125
+ }, {
126
+ name: string;
127
+ id: string;
128
+ }>, "many">>>;
129
+ }, "strip", import("zod").ZodTypeAny, {
130
+ title: string;
131
+ id: string;
132
+ content?: unknown;
133
+ owner?: {
134
+ name: string;
135
+ id: string;
136
+ } | null | undefined;
137
+ publishedAt?: string | null | undefined;
138
+ insertedAt?: string | null | undefined;
139
+ topics?: {
140
+ name: string;
141
+ id: string;
142
+ }[] | null | undefined;
143
+ highlight?: unknown;
144
+ }, {
145
+ title: string;
146
+ id: string;
147
+ content?: unknown;
148
+ owner?: {
149
+ name: string;
150
+ id: string;
151
+ } | null | undefined;
152
+ publishedAt?: string | null | undefined;
153
+ insertedAt?: string | null | undefined;
154
+ topics?: {
155
+ name: string;
156
+ id: string;
157
+ }[] | null | undefined;
158
+ highlight?: unknown;
159
+ }>, "many">>;
160
+ has_more: import("zod").ZodOptional<import("zod").ZodBoolean>;
161
+ end_cursor: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
162
+ error: import("zod").ZodString;
163
+ }, "strip", import("zod").ZodTypeAny, {
164
+ error: string;
165
+ success: boolean;
166
+ operation: "search_posts";
167
+ has_more?: boolean | undefined;
168
+ posts?: {
169
+ title: string;
170
+ id: string;
171
+ content?: unknown;
172
+ owner?: {
173
+ name: string;
174
+ id: string;
175
+ } | null | undefined;
176
+ publishedAt?: string | null | undefined;
177
+ insertedAt?: string | null | undefined;
178
+ topics?: {
179
+ name: string;
180
+ id: string;
181
+ }[] | null | undefined;
182
+ highlight?: unknown;
183
+ }[] | undefined;
184
+ end_cursor?: string | null | undefined;
185
+ }, {
186
+ error: string;
187
+ success: boolean;
188
+ operation: "search_posts";
189
+ has_more?: boolean | undefined;
190
+ posts?: {
191
+ title: string;
192
+ id: string;
193
+ content?: unknown;
194
+ owner?: {
195
+ name: string;
196
+ id: string;
197
+ } | null | undefined;
198
+ publishedAt?: string | null | undefined;
199
+ insertedAt?: string | null | undefined;
200
+ topics?: {
201
+ name: string;
202
+ id: string;
203
+ }[] | null | undefined;
204
+ highlight?: unknown;
205
+ }[] | undefined;
206
+ end_cursor?: string | null | undefined;
207
+ }>, import("zod").ZodObject<{
208
+ operation: import("zod").ZodLiteral<"get_post">;
209
+ success: import("zod").ZodBoolean;
210
+ post: import("zod").ZodOptional<import("zod").ZodObject<{
211
+ id: import("zod").ZodString;
212
+ title: import("zod").ZodString;
213
+ content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
214
+ insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
215
+ publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
216
+ updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
217
+ archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
218
+ owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
219
+ id: import("zod").ZodString;
220
+ name: import("zod").ZodString;
221
+ }, "strip", import("zod").ZodTypeAny, {
222
+ name: string;
223
+ id: string;
224
+ }, {
225
+ name: string;
226
+ id: string;
227
+ }>>>;
228
+ version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
229
+ topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
230
+ id: import("zod").ZodString;
231
+ name: import("zod").ZodString;
232
+ }, "strip", import("zod").ZodTypeAny, {
233
+ name: string;
234
+ id: string;
235
+ }, {
236
+ name: string;
237
+ id: string;
238
+ }>, "many">>>;
239
+ }, "strip", import("zod").ZodTypeAny, {
240
+ title: string;
241
+ id: string;
242
+ content?: unknown;
243
+ version?: number | null | undefined;
244
+ owner?: {
245
+ name: string;
246
+ id: string;
247
+ } | null | undefined;
248
+ publishedAt?: string | null | undefined;
249
+ updatedAt?: string | null | undefined;
250
+ insertedAt?: string | null | undefined;
251
+ archivedAt?: string | null | undefined;
252
+ topics?: {
253
+ name: string;
254
+ id: string;
255
+ }[] | null | undefined;
256
+ }, {
257
+ title: string;
258
+ id: string;
259
+ content?: unknown;
260
+ version?: number | null | undefined;
261
+ owner?: {
262
+ name: string;
263
+ id: string;
264
+ } | null | undefined;
265
+ publishedAt?: string | null | undefined;
266
+ updatedAt?: string | null | undefined;
267
+ insertedAt?: string | null | undefined;
268
+ archivedAt?: string | null | undefined;
269
+ topics?: {
270
+ name: string;
271
+ id: string;
272
+ }[] | null | undefined;
273
+ }>>;
274
+ error: import("zod").ZodString;
275
+ }, "strip", import("zod").ZodTypeAny, {
276
+ error: string;
277
+ success: boolean;
278
+ operation: "get_post";
279
+ post?: {
280
+ title: string;
281
+ id: string;
282
+ content?: unknown;
283
+ version?: number | null | undefined;
284
+ owner?: {
285
+ name: string;
286
+ id: string;
287
+ } | null | undefined;
288
+ publishedAt?: string | null | undefined;
289
+ updatedAt?: string | null | undefined;
290
+ insertedAt?: string | null | undefined;
291
+ archivedAt?: string | null | undefined;
292
+ topics?: {
293
+ name: string;
294
+ id: string;
295
+ }[] | null | undefined;
296
+ } | undefined;
297
+ }, {
298
+ error: string;
299
+ success: boolean;
300
+ operation: "get_post";
301
+ post?: {
302
+ title: string;
303
+ id: string;
304
+ content?: unknown;
305
+ version?: number | null | undefined;
306
+ owner?: {
307
+ name: string;
308
+ id: string;
309
+ } | null | undefined;
310
+ publishedAt?: string | null | undefined;
311
+ updatedAt?: string | null | undefined;
312
+ insertedAt?: string | null | undefined;
313
+ archivedAt?: string | null | undefined;
314
+ topics?: {
315
+ name: string;
316
+ id: string;
317
+ }[] | null | undefined;
318
+ } | undefined;
319
+ }>, import("zod").ZodObject<{
320
+ operation: import("zod").ZodLiteral<"list_posts">;
321
+ success: import("zod").ZodBoolean;
322
+ posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
323
+ id: import("zod").ZodString;
324
+ title: import("zod").ZodString;
325
+ content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
326
+ insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
327
+ publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
328
+ updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
329
+ archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
330
+ owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
331
+ id: import("zod").ZodString;
332
+ name: import("zod").ZodString;
333
+ }, "strip", import("zod").ZodTypeAny, {
334
+ name: string;
335
+ id: string;
336
+ }, {
337
+ name: string;
338
+ id: string;
339
+ }>>>;
340
+ version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
341
+ topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
342
+ id: import("zod").ZodString;
343
+ name: import("zod").ZodString;
344
+ }, "strip", import("zod").ZodTypeAny, {
345
+ name: string;
346
+ id: string;
347
+ }, {
348
+ name: string;
349
+ id: string;
350
+ }>, "many">>>;
351
+ }, "strip", import("zod").ZodTypeAny, {
352
+ title: string;
353
+ id: string;
354
+ content?: unknown;
355
+ version?: number | null | undefined;
356
+ owner?: {
357
+ name: string;
358
+ id: string;
359
+ } | null | undefined;
360
+ publishedAt?: string | null | undefined;
361
+ updatedAt?: string | null | undefined;
362
+ insertedAt?: string | null | undefined;
363
+ archivedAt?: string | null | undefined;
364
+ topics?: {
365
+ name: string;
366
+ id: string;
367
+ }[] | null | undefined;
368
+ }, {
369
+ title: string;
370
+ id: string;
371
+ content?: unknown;
372
+ version?: number | null | undefined;
373
+ owner?: {
374
+ name: string;
375
+ id: string;
376
+ } | null | undefined;
377
+ publishedAt?: string | null | undefined;
378
+ updatedAt?: string | null | undefined;
379
+ insertedAt?: string | null | undefined;
380
+ archivedAt?: string | null | undefined;
381
+ topics?: {
382
+ name: string;
383
+ id: string;
384
+ }[] | null | undefined;
385
+ }>, "many">>;
386
+ error: import("zod").ZodString;
387
+ }, "strip", import("zod").ZodTypeAny, {
388
+ error: string;
389
+ success: boolean;
390
+ operation: "list_posts";
391
+ posts?: {
392
+ title: string;
393
+ id: string;
394
+ content?: unknown;
395
+ version?: number | null | undefined;
396
+ owner?: {
397
+ name: string;
398
+ id: string;
399
+ } | null | undefined;
400
+ publishedAt?: string | null | undefined;
401
+ updatedAt?: string | null | undefined;
402
+ insertedAt?: string | null | undefined;
403
+ archivedAt?: string | null | undefined;
404
+ topics?: {
405
+ name: string;
406
+ id: string;
407
+ }[] | null | undefined;
408
+ }[] | undefined;
409
+ }, {
410
+ error: string;
411
+ success: boolean;
412
+ operation: "list_posts";
413
+ posts?: {
414
+ title: string;
415
+ id: string;
416
+ content?: unknown;
417
+ version?: number | null | undefined;
418
+ owner?: {
419
+ name: string;
420
+ id: string;
421
+ } | null | undefined;
422
+ publishedAt?: string | null | undefined;
423
+ updatedAt?: string | null | undefined;
424
+ insertedAt?: string | null | undefined;
425
+ archivedAt?: string | null | undefined;
426
+ topics?: {
427
+ name: string;
428
+ id: string;
429
+ }[] | null | undefined;
430
+ }[] | undefined;
431
+ }>, import("zod").ZodObject<{
432
+ operation: import("zod").ZodLiteral<"get_topic_posts">;
433
+ success: import("zod").ZodBoolean;
434
+ posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
435
+ id: import("zod").ZodString;
436
+ title: import("zod").ZodString;
437
+ content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
438
+ insertedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
439
+ publishedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
440
+ updatedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
441
+ archivedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
442
+ owner: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
443
+ id: import("zod").ZodString;
444
+ name: import("zod").ZodString;
445
+ }, "strip", import("zod").ZodTypeAny, {
446
+ name: string;
447
+ id: string;
448
+ }, {
449
+ name: string;
450
+ id: string;
451
+ }>>>;
452
+ version: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
453
+ topics: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
454
+ id: import("zod").ZodString;
455
+ name: import("zod").ZodString;
456
+ }, "strip", import("zod").ZodTypeAny, {
457
+ name: string;
458
+ id: string;
459
+ }, {
460
+ name: string;
461
+ id: string;
462
+ }>, "many">>>;
463
+ }, "strip", import("zod").ZodTypeAny, {
464
+ title: string;
465
+ id: string;
466
+ content?: unknown;
467
+ version?: number | null | undefined;
468
+ owner?: {
469
+ name: string;
470
+ id: string;
471
+ } | null | undefined;
472
+ publishedAt?: string | null | undefined;
473
+ updatedAt?: string | null | undefined;
474
+ insertedAt?: string | null | undefined;
475
+ archivedAt?: string | null | undefined;
476
+ topics?: {
477
+ name: string;
478
+ id: string;
479
+ }[] | null | undefined;
480
+ }, {
481
+ title: string;
482
+ id: string;
483
+ content?: unknown;
484
+ version?: number | null | undefined;
485
+ owner?: {
486
+ name: string;
487
+ id: string;
488
+ } | null | undefined;
489
+ publishedAt?: string | null | undefined;
490
+ updatedAt?: string | null | undefined;
491
+ insertedAt?: string | null | undefined;
492
+ archivedAt?: string | null | undefined;
493
+ topics?: {
494
+ name: string;
495
+ id: string;
496
+ }[] | null | undefined;
497
+ }>, "many">>;
498
+ error: import("zod").ZodString;
499
+ }, "strip", import("zod").ZodTypeAny, {
500
+ error: string;
501
+ success: boolean;
502
+ operation: "get_topic_posts";
503
+ posts?: {
504
+ title: string;
505
+ id: string;
506
+ content?: unknown;
507
+ version?: number | null | undefined;
508
+ owner?: {
509
+ name: string;
510
+ id: string;
511
+ } | null | undefined;
512
+ publishedAt?: string | null | undefined;
513
+ updatedAt?: string | null | undefined;
514
+ insertedAt?: string | null | undefined;
515
+ archivedAt?: string | null | undefined;
516
+ topics?: {
517
+ name: string;
518
+ id: string;
519
+ }[] | null | undefined;
520
+ }[] | undefined;
521
+ }, {
522
+ error: string;
523
+ success: boolean;
524
+ operation: "get_topic_posts";
525
+ posts?: {
526
+ title: string;
527
+ id: string;
528
+ content?: unknown;
529
+ version?: number | null | undefined;
530
+ owner?: {
531
+ name: string;
532
+ id: string;
533
+ } | null | undefined;
534
+ publishedAt?: string | null | undefined;
535
+ updatedAt?: string | null | undefined;
536
+ insertedAt?: string | null | undefined;
537
+ archivedAt?: string | null | undefined;
538
+ topics?: {
539
+ name: string;
540
+ id: string;
541
+ }[] | null | undefined;
542
+ }[] | undefined;
543
+ }>, import("zod").ZodObject<{
544
+ operation: import("zod").ZodLiteral<"list_topics">;
545
+ success: import("zod").ZodBoolean;
546
+ topics: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
547
+ id: import("zod").ZodString;
548
+ name: import("zod").ZodString;
549
+ }, "strip", import("zod").ZodTypeAny, {
550
+ name: string;
551
+ id: string;
552
+ }, {
553
+ name: string;
554
+ id: string;
555
+ }>, "many">>;
556
+ error: import("zod").ZodString;
557
+ }, "strip", import("zod").ZodTypeAny, {
558
+ error: string;
559
+ success: boolean;
560
+ operation: "list_topics";
561
+ topics?: {
562
+ name: string;
563
+ id: string;
564
+ }[] | undefined;
565
+ }, {
566
+ error: string;
567
+ success: boolean;
568
+ operation: "list_topics";
569
+ topics?: {
570
+ name: string;
571
+ id: string;
572
+ }[] | undefined;
573
+ }>]>;
574
+ static readonly shortDescription = "Slab knowledge management for searching and managing posts";
575
+ static readonly longDescription = "\n Slab is a knowledge management platform for modern teams.\n This bubble provides operations for:\n - Searching posts across the workspace\n - Retrieving specific post details and content\n - Listing all organization posts\n - Getting posts within specific topics\n - Listing all topics in the organization\n\n Authentication:\n - Uses API token (available on Business/Enterprise plans)\n - Token is passed via Authorization header\n\n Use Cases:\n - Search internal knowledge base from automated workflows\n - Sync documentation with external systems\n - Build AI assistants that leverage internal knowledge\n - Automate content updates across the organization\n ";
576
+ static readonly alias = "slab-kb";
577
+ constructor(params?: T, context?: BubbleContext);
578
+ /**
579
+ * Choose the appropriate credential for Slab API
580
+ */
581
+ protected chooseCredential(): string | undefined;
582
+ /**
583
+ * Test if the credential is valid by making a simple API call
584
+ */
585
+ testCredential(): Promise<boolean>;
586
+ /**
587
+ * Perform the Slab operation
588
+ */
589
+ protected performAction(context?: BubbleContext): Promise<Extract<SlabResult, {
590
+ operation: T['operation'];
591
+ }>>;
592
+ /**
593
+ * Make an authenticated GraphQL request to Slab
594
+ */
595
+ private makeSlabRequest;
596
+ /**
597
+ * Search posts by query
598
+ */
599
+ private searchPosts;
600
+ /**
601
+ * Get a specific post by ID
602
+ */
603
+ private getPost;
604
+ /**
605
+ * List all organization posts
606
+ */
607
+ private listPosts;
608
+ /**
609
+ * Get posts within a specific topic
610
+ */
611
+ private getTopicPosts;
612
+ /**
613
+ * List all topics in the organization
614
+ */
615
+ private listTopics;
616
+ }
617
+ //# sourceMappingURL=slab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slab.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/slab/slab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,UAAU,EAMhB,MAAM,kBAAkB,CAAC;AAK1B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,UAAU,CACrB,CAAC,SAAS,eAAe,GAAG,eAAe,CAC3C,SAAQ,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;IAE5E,MAAM,CAAC,QAAQ,CAAC,OAAO,UAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,OAAO,CAAU;IAC5C,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAG,MAAM,CAAU;IAC7C,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAoB;IAC1C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAoB;IAChD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,gEAC+B;IAC/D,MAAM,CAAC,QAAQ,CAAC,eAAe,8sBAkB7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,aAAa;gBAGhC,MAAM,GAAE,CAGF,EACN,OAAO,CAAC,EAAE,aAAa;IAKzB;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAShD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAoBxC;;OAEG;cACa,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;IAgD9D;;OAEG;YACW,eAAe;IAoC7B;;OAEG;YACW,WAAW;IAmFzB;;OAEG;YACW,OAAO;IAwDrB;;OAEG;YACW,SAAS;IAqCvB;;OAEG;YACW,aAAa;IA8C3B;;OAEG;YACW,UAAU;CA+BzB"}