🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@useatlas/types

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useatlas/types - npm Package Compare versions

Comparing version
0.0.26
to
0.0.27
+39
-0
dist/connection.d.ts

@@ -88,2 +88,41 @@ /** Known database types for UI dropdowns and wire format validation. Plugins may register additional dbType values not listed here. */

managed: boolean;
/**
* Connection group membership. Three states are meaningful:
* - `undefined` — older serializer / client predating the field.
* - `null` — explicitly unassigned (no group, or moved out via admin UI).
* - `string` — current membership.
* Schema + code use `group_id`; UI copy renders this as "environment".
*/
groupId?: string | null;
}
/**
* A connection group bundles connections that share a logical schema
* (e.g. multi-region prod replicas). Content scoped to a group is shared
* across every member.
*
* Vocabulary: schema + code call this a `ConnectionGroup`; UI copy says
* "environment". The `name` is a mutable display label — references key
* off `id`, never `name`. `memberCount` is a denormalized read-side
* projection (snapshot at query time) — split into a dedicated summary
* shape once a second read site needs a different denormalization.
*/
export interface ConnectionGroup {
id: string;
name: string;
/** Number of connections currently assigned to this group. */
memberCount: number;
createdAt: string;
updatedAt: string;
}
/**
* One connection's membership in a {@link ConnectionGroup}. Returned by
* the group detail endpoint so the admin UI can render member chips
* without a second round-trip to `/admin/connections`.
*/
export interface ConnectionGroupMember {
connectionId: string;
/** Mirrors {@link ConnectionInfo.dbType} so member chips can show an icon. */
dbType: DBType | "unknown";
/** Optional human-readable description from the underlying connection. */
description: string | null;
}
+1
-1
{
"name": "@useatlas/types",
"version": "0.0.26",
"version": "0.0.27",
"description": "Shared types for the Atlas text-to-SQL agent",

@@ -5,0 +5,0 @@ "type": "module",