RegistryDashboard

Stars

Star and unstar definitions. Track favorites across the registry.

3 methods

client.stars.getStatus()

Check if the authenticated user has starred a definition.

Requires authentication
typerequiredstring

Definition type.

agentcommandworkflowpipeline
namerequiredstring

Definition name.

versionoptionalstring

Specific version (optional).

starredrequiredboolean

Whether the user has starred this definition.

getStatus(type: DefinitionType, name: string, version?: string): Promise<StarStatus>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.stars.getStatus('agent', 'my-project');

console.log(result.starred);
Response Type
// Promise<StarStatus>
{
  starred: boolean;
}

client.stars.star()

Star a definition. Idempotent — starring an already-starred definition is a no-op.

Requires authentication
typerequiredstring

Definition type.

agentcommandworkflowpipeline
namerequiredstring

Definition name.

versionoptionalstring

Specific version (optional).

star(type: DefinitionType, name: string, version?: string): Promise<void>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.stars.star('agent', 'my-project');
Response Type
Promise<void>

client.stars.unstar()

Unstar a definition. Idempotent — unstarring a non-starred definition is a no-op.

Requires authentication
typerequiredstring

Definition type.

agentcommandworkflowpipeline
namerequiredstring

Definition name.

versionoptionalstring

Specific version (optional).

unstar(type: DefinitionType, name: string, version?: string): Promise<void>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.stars.unstar('agent', 'my-project');
Response Type
Promise<void>