Kind: Function
Source: atloria-monorepo/apps/cli/src/utils/screenshot-storage.helper.ts
Save documentation with storage helper
Signature
tsasync function saveDocumentation(documentation: {
title: string;
slug: string;
content: string;
categoryPath: string[];
type: 'user-docs' | 'tutorial' | 'feature';
metadata?: Record<string, unknown>;
}, storage: StorageHelperService, aiModel: string): Promise<{ id: string; url: string }>
Parameters
| Name | Type |
|---|---|
documentation | `{ |
title: string; slug: string; content: string; categoryPath: string[]; type: 'user-docs' | 'tutorial' | 'feature'; metadata?: Record<string, unknown>;
}| |storage|StorageHelperService| |aiModel|string` |
Returns: Promise<{ id: string; url: string }>
Was this page helpful?