OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
List files with filtering.
Goal
Browse uploaded files.
Context
Called to browse file library.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
export const ListFilesContract = defineQuery({
meta: {
key: 'file.list',
version: '1.0.0',
stability: 'stable',
owners: ['platform.files'],
tags: ['files', 'list'],
description: 'List files with filtering.',
goal: 'Browse uploaded files.',
context: 'Called to browse file library.',
},
io: {
input: ListFilesInput,
output: ListFilesOutput,
},
policy: {
auth: 'user',
},
});