mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 12:40:10 +00:00
14 lines
475 B
JavaScript
14 lines
475 B
JavaScript
// src/lib/stack-app/internal-api-keys/index.ts
|
|
function internalApiKeyCreateOptionsToCrud(options) {
|
|
return {
|
|
description: options.description,
|
|
expires_at_millis: options.expiresAt.getTime(),
|
|
has_publishable_client_key: options.hasPublishableClientKey,
|
|
has_secret_server_key: options.hasSecretServerKey,
|
|
has_super_secret_admin_key: options.hasSuperSecretAdminKey
|
|
};
|
|
}
|
|
export {
|
|
internalApiKeyCreateOptionsToCrud
|
|
};
|
|
//# sourceMappingURL=index.js.map
|