Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / / lakeFSRepoNameV2

Function: lakeFSRepoNameV2()

lakeFSRepoNameV2(ownerType, ownerId, slug?): string

Defined in: packages/fireflow-vfs/src/utils/id-generate.ts:121

Generate a lakeFS repository name using the new pattern Pattern: ff-{owner_type}-{owner_id_truncated}-{slug}

LakeFS constraints:

  • 3-63 characters
  • Lowercase letters, numbers, hyphens only
  • Must start/end with alphanumeric

Parameters

ownerType

string

Owner type (user, flow, team, system)

ownerId

string

Owner ID (will be truncated and lowercased)

slug?

string = 'default'

Workspace slug (default: 'default')

Returns

string

Licensed under BUSL-1.1