open-index/open-npm huggingface dataset:
npm package: @genoacms/sveltekit-adapter-cloud-run-functions
Description: Adapter for SvelteKit apps that generates a Cloud Run Function
Latest version: 1.0.0

# @genoacms/sveltekit-adapter-cloud-run-functions

[Adapter](https://svelte.dev/docs/kit/adapters) for SvelteKit apps that generates a Cloud Run Function definiton.

## Docs

This adapter is not intended for general use, it was made specifically for GenoaCMS.
Catch is that the generated code needs to be archived and uploaded to Cloud Run Functions, which is done by [GCP adapter for GenoaCMS](https://github.com/GenoaCMS/adapter-gcp/blob/master/src/services/deployment/deploy.ts).
No configuration reqired, generates similar code to node adapter, but with different request parsing. The function is exported as `handler`.

## Changelog

[The Changelog for this package is available on GitHub](https://github.com/GenoaCMS/sveltekit-adapter-cloud-run-functions/blob/master/CHANGELOG.md).

## License

[MIT](LICENSE)
npm package: @genofx/api
Description: Official GenofX API SDK — programmatic access to your GenofX workspace
Author: truehannan
Latest version: 1.0.0

# @genofx/api

Official GenofX API SDK — programmatic access to your workspace.

## Install

```bash
npm install @genofx/api
```

## Usage

```typescript
import { GenofXAPI } from '@genofx/api';

const api = new GenofXAPI({
  apiKey: 'your-api-key',      // from workspace settings → developer
  workspaceId: 'your-ws-id',
});

// Database
const tables = await api.database.listTables();
const rows = await api.database.getRows('my-table');
await api.database.upsertRow('my-table', { name: 'Alice', age: 30 });

// Drive
const files = await api.drive.listFiles();
const url = await api.drive.getDownloadUrl('file-id');

// Workflows
const workflows = await api.workflows.list();
await api.workflows.trigger('workflow-id', { message: 'hello' });

// Usage
const usage = await api.usage.get();
console.log(`Actions used: ${usage.actions.used}/${usage.actions.limit}`);
```

## API Reference

Full docs at [genofx.com/developers/api](https://genofx.com/developers/api)