@lssm/lib.files 0.0.0-canary-20251217083314 → 1.41.1
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/contracts/index.js +1 -858
- package/dist/docs/files.docblock.js +2 -22
- package/dist/docs/index.js +1 -1
- package/dist/entities/index.js +1 -265
- package/dist/events.js +1 -343
- package/dist/files.feature.js +1 -124
- package/dist/index.js +1 -8
- package/dist/storage/index.js +1 -268
- package/package.json +13 -13
- package/dist/contracts/dist/capabilities/openbanking.js +0 -88
- package/dist/contracts/dist/client/index.js +0 -5
- package/dist/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/contracts/dist/client/react/form-render.js +0 -4
- package/dist/contracts/dist/client/react/index.js +0 -4
- package/dist/contracts/dist/contract-registry/index.js +0 -1
- package/dist/contracts/dist/contract-registry/schemas.js +0 -60
- package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
- package/dist/contracts/dist/docs/index.js +0 -29
- package/dist/contracts/dist/docs/presentations.js +0 -71
- package/dist/contracts/dist/docs/registry.js +0 -44
- package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/contracts/dist/events.js +0 -10
- package/dist/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/contracts/dist/index.js +0 -71
- package/dist/contracts/dist/install.js +0 -2
- package/dist/contracts/dist/integrations/contracts.js +0 -377
- package/dist/contracts/dist/integrations/index.js +0 -18
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/contracts/dist/integrations/openbanking/telemetry.js +0 -13
- package/dist/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/contracts/dist/jsonschema.js +0 -1
- package/dist/contracts/dist/knowledge/contracts.js +0 -306
- package/dist/contracts/dist/knowledge/index.js +0 -7
- package/dist/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/contracts/dist/llm/exporters.js +0 -19
- package/dist/contracts/dist/llm/index.js +0 -2
- package/dist/contracts/dist/llm/prompts.js +0 -1
- package/dist/contracts/dist/onboarding-base.js +0 -196
- package/dist/contracts/dist/openapi.js +0 -1
- package/dist/contracts/dist/ownership.js +0 -21
- package/dist/contracts/dist/presentations.js +0 -1
- package/dist/contracts/dist/presentations.v2.js +0 -11
- package/dist/contracts/dist/prompt.js +0 -1
- package/dist/contracts/dist/promptRegistry.js +0 -1
- package/dist/contracts/dist/regenerator/index.js +0 -1
- package/dist/contracts/dist/regenerator/service.js +0 -6
- package/dist/contracts/dist/registry.js +0 -2
- package/dist/contracts/dist/resources.js +0 -1
- package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/contracts/dist/schema/dist/index.js +0 -6
- package/dist/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/contracts/dist/server/index.js +0 -8
- package/dist/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/contracts/dist/server/rest-express.js +0 -1
- package/dist/contracts/dist/server/rest-generic.js +0 -1
- package/dist/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/contracts/dist/spec.js +0 -34
- package/dist/contracts/dist/telemetry/index.js +0 -1
- package/dist/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/contracts/dist/tests/index.js +0 -1
- package/dist/contracts/dist/tests/runner.js +0 -2
- package/dist/contracts/dist/workflow/index.js +0 -1
- package/dist/contracts/dist/workflow/runner.js +0 -1
- package/dist/contracts/index.d.ts +0 -1139
- package/dist/docs/files.docblock.d.ts +0 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/entities/index.d.ts +0 -168
- package/dist/events.d.ts +0 -467
- package/dist/files.feature.d.ts +0 -11
- package/dist/index.d.ts +0 -6
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -236
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
- package/dist/schema/dist/index.js +0 -6
- package/dist/storage/index.d.ts +0 -200
package/dist/storage/index.d.ts
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
//#region src/storage/index.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* File storage adapters for different backends.
|
|
4
|
-
*/
|
|
5
|
-
type StorageProvider = 'LOCAL' | 'S3' | 'GCS' | 'AZURE' | 'CLOUDFLARE';
|
|
6
|
-
interface StorageFile {
|
|
7
|
-
path: string;
|
|
8
|
-
size: number;
|
|
9
|
-
mimeType: string;
|
|
10
|
-
checksum?: string;
|
|
11
|
-
etag?: string;
|
|
12
|
-
metadata?: Record<string, string>;
|
|
13
|
-
}
|
|
14
|
-
interface UploadOptions {
|
|
15
|
-
/** Target path in storage */
|
|
16
|
-
path: string;
|
|
17
|
-
/** File content */
|
|
18
|
-
content: Buffer | string;
|
|
19
|
-
/** MIME type */
|
|
20
|
-
mimeType: string;
|
|
21
|
-
/** Additional metadata */
|
|
22
|
-
metadata?: Record<string, string>;
|
|
23
|
-
/** Whether file should be publicly accessible */
|
|
24
|
-
isPublic?: boolean;
|
|
25
|
-
}
|
|
26
|
-
interface PresignedUploadOptions {
|
|
27
|
-
/** Target path in storage */
|
|
28
|
-
path: string;
|
|
29
|
-
/** MIME type */
|
|
30
|
-
mimeType: string;
|
|
31
|
-
/** File size in bytes */
|
|
32
|
-
size: number;
|
|
33
|
-
/** Expiration time in seconds */
|
|
34
|
-
expiresIn?: number;
|
|
35
|
-
/** Additional conditions */
|
|
36
|
-
conditions?: Record<string, unknown>[];
|
|
37
|
-
}
|
|
38
|
-
interface PresignedDownloadOptions {
|
|
39
|
-
/** File path in storage */
|
|
40
|
-
path: string;
|
|
41
|
-
/** Expiration time in seconds */
|
|
42
|
-
expiresIn?: number;
|
|
43
|
-
/** Response content disposition */
|
|
44
|
-
contentDisposition?: string;
|
|
45
|
-
}
|
|
46
|
-
interface PresignedUrl {
|
|
47
|
-
url: string;
|
|
48
|
-
fields?: Record<string, string>;
|
|
49
|
-
expiresAt: Date;
|
|
50
|
-
}
|
|
51
|
-
interface ListOptions {
|
|
52
|
-
/** Path prefix */
|
|
53
|
-
prefix?: string;
|
|
54
|
-
/** Maximum results */
|
|
55
|
-
limit?: number;
|
|
56
|
-
/** Continuation token */
|
|
57
|
-
cursor?: string;
|
|
58
|
-
}
|
|
59
|
-
interface ListResult {
|
|
60
|
-
files: StorageFile[];
|
|
61
|
-
cursor?: string;
|
|
62
|
-
hasMore: boolean;
|
|
63
|
-
}
|
|
64
|
-
interface StorageAdapter {
|
|
65
|
-
/** Storage provider type */
|
|
66
|
-
readonly provider: StorageProvider;
|
|
67
|
-
/**
|
|
68
|
-
* Upload a file to storage.
|
|
69
|
-
*/
|
|
70
|
-
upload(options: UploadOptions): Promise<StorageFile>;
|
|
71
|
-
/**
|
|
72
|
-
* Download a file from storage.
|
|
73
|
-
*/
|
|
74
|
-
download(path: string): Promise<Buffer>;
|
|
75
|
-
/**
|
|
76
|
-
* Delete a file from storage.
|
|
77
|
-
*/
|
|
78
|
-
delete(path: string): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Check if a file exists.
|
|
81
|
-
*/
|
|
82
|
-
exists(path: string): Promise<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* Get file metadata.
|
|
85
|
-
*/
|
|
86
|
-
getMetadata(path: string): Promise<StorageFile | null>;
|
|
87
|
-
/**
|
|
88
|
-
* List files in a directory.
|
|
89
|
-
*/
|
|
90
|
-
list(options?: ListOptions): Promise<ListResult>;
|
|
91
|
-
/**
|
|
92
|
-
* Generate a presigned URL for uploading.
|
|
93
|
-
*/
|
|
94
|
-
createPresignedUpload(options: PresignedUploadOptions): Promise<PresignedUrl>;
|
|
95
|
-
/**
|
|
96
|
-
* Generate a presigned URL for downloading.
|
|
97
|
-
*/
|
|
98
|
-
createPresignedDownload(options: PresignedDownloadOptions): Promise<PresignedUrl>;
|
|
99
|
-
/**
|
|
100
|
-
* Get public URL for a file (if applicable).
|
|
101
|
-
*/
|
|
102
|
-
getPublicUrl(path: string): string | null;
|
|
103
|
-
/**
|
|
104
|
-
* Copy a file within storage.
|
|
105
|
-
*/
|
|
106
|
-
copy(sourcePath: string, destinationPath: string): Promise<StorageFile>;
|
|
107
|
-
}
|
|
108
|
-
interface LocalStorageOptions {
|
|
109
|
-
/** Base directory for file storage */
|
|
110
|
-
basePath: string;
|
|
111
|
-
/** Base URL for serving files (optional) */
|
|
112
|
-
baseUrl?: string;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Local filesystem storage adapter.
|
|
116
|
-
* For development and testing purposes.
|
|
117
|
-
*/
|
|
118
|
-
declare class LocalStorageAdapter implements StorageAdapter {
|
|
119
|
-
readonly provider: StorageProvider;
|
|
120
|
-
private basePath;
|
|
121
|
-
private baseUrl?;
|
|
122
|
-
constructor(options: LocalStorageOptions);
|
|
123
|
-
upload(options: UploadOptions): Promise<StorageFile>;
|
|
124
|
-
download(filePath: string): Promise<Buffer>;
|
|
125
|
-
delete(filePath: string): Promise<void>;
|
|
126
|
-
exists(filePath: string): Promise<boolean>;
|
|
127
|
-
getMetadata(filePath: string): Promise<StorageFile | null>;
|
|
128
|
-
list(options?: ListOptions): Promise<ListResult>;
|
|
129
|
-
createPresignedUpload(options: PresignedUploadOptions): Promise<PresignedUrl>;
|
|
130
|
-
createPresignedDownload(options: PresignedDownloadOptions): Promise<PresignedUrl>;
|
|
131
|
-
getPublicUrl(filePath: string): string | null;
|
|
132
|
-
copy(sourcePath: string, destinationPath: string): Promise<StorageFile>;
|
|
133
|
-
}
|
|
134
|
-
interface S3StorageOptions {
|
|
135
|
-
/** S3 bucket name */
|
|
136
|
-
bucket: string;
|
|
137
|
-
/** AWS region */
|
|
138
|
-
region: string;
|
|
139
|
-
/** AWS access key ID */
|
|
140
|
-
accessKeyId?: string;
|
|
141
|
-
/** AWS secret access key */
|
|
142
|
-
secretAccessKey?: string;
|
|
143
|
-
/** Endpoint URL (for S3-compatible services) */
|
|
144
|
-
endpoint?: string;
|
|
145
|
-
/** Force path style (for S3-compatible services) */
|
|
146
|
-
forcePathStyle?: boolean;
|
|
147
|
-
/** Default ACL for uploads */
|
|
148
|
-
defaultAcl?: 'private' | 'public-read';
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* S3 storage adapter interface.
|
|
152
|
-
* Implementation would use AWS SDK or compatible client.
|
|
153
|
-
*
|
|
154
|
-
* This is a placeholder that defines the interface.
|
|
155
|
-
* Actual implementation would require @aws-sdk/client-s3 dependency.
|
|
156
|
-
*/
|
|
157
|
-
declare class S3StorageAdapter implements StorageAdapter {
|
|
158
|
-
readonly provider: StorageProvider;
|
|
159
|
-
private config;
|
|
160
|
-
constructor(options: S3StorageOptions);
|
|
161
|
-
upload(options: UploadOptions): Promise<StorageFile>;
|
|
162
|
-
download(filePath: string): Promise<Buffer>;
|
|
163
|
-
delete(filePath: string): Promise<void>;
|
|
164
|
-
exists(filePath: string): Promise<boolean>;
|
|
165
|
-
getMetadata(filePath: string): Promise<StorageFile | null>;
|
|
166
|
-
list(options?: ListOptions): Promise<ListResult>;
|
|
167
|
-
createPresignedUpload(options: PresignedUploadOptions): Promise<PresignedUrl>;
|
|
168
|
-
createPresignedDownload(options: PresignedDownloadOptions): Promise<PresignedUrl>;
|
|
169
|
-
getPublicUrl(filePath: string): string | null;
|
|
170
|
-
copy(sourcePath: string, destinationPath: string): Promise<StorageFile>;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* In-memory storage adapter for testing.
|
|
174
|
-
*/
|
|
175
|
-
declare class InMemoryStorageAdapter implements StorageAdapter {
|
|
176
|
-
readonly provider: StorageProvider;
|
|
177
|
-
private files;
|
|
178
|
-
upload(options: UploadOptions): Promise<StorageFile>;
|
|
179
|
-
download(filePath: string): Promise<Buffer>;
|
|
180
|
-
delete(filePath: string): Promise<void>;
|
|
181
|
-
exists(filePath: string): Promise<boolean>;
|
|
182
|
-
getMetadata(filePath: string): Promise<StorageFile | null>;
|
|
183
|
-
list(options?: ListOptions): Promise<ListResult>;
|
|
184
|
-
createPresignedUpload(options: PresignedUploadOptions): Promise<PresignedUrl>;
|
|
185
|
-
createPresignedDownload(options: PresignedDownloadOptions): Promise<PresignedUrl>;
|
|
186
|
-
getPublicUrl(filePath: string): string | null;
|
|
187
|
-
copy(sourcePath: string, destinationPath: string): Promise<StorageFile>;
|
|
188
|
-
clear(): void;
|
|
189
|
-
}
|
|
190
|
-
interface StorageConfig {
|
|
191
|
-
provider: StorageProvider;
|
|
192
|
-
local?: LocalStorageOptions;
|
|
193
|
-
s3?: S3StorageOptions;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Create a storage adapter based on configuration.
|
|
197
|
-
*/
|
|
198
|
-
declare function createStorageAdapter(config: StorageConfig): StorageAdapter;
|
|
199
|
-
//#endregion
|
|
200
|
-
export { InMemoryStorageAdapter, ListOptions, ListResult, LocalStorageAdapter, LocalStorageOptions, PresignedDownloadOptions, PresignedUploadOptions, PresignedUrl, S3StorageAdapter, S3StorageOptions, StorageAdapter, StorageConfig, StorageFile, StorageProvider, UploadOptions, createStorageAdapter };
|