/**
 * Reserved Resource IDs
 * Resource IDs reserved for built-in platform resources.
 * External SDK deployments cannot use these IDs.
 */

/**
 * Set of resource IDs reserved for built-in platform resources.
 * These IDs cannot be used by external SDK deployments.
 */
export const RESERVED_RESOURCE_IDS = new Set(['command-center-assistant'])

/**
 * Array form of RESERVED_RESOURCE_IDS for Supabase query filtering.
 * Supabase `.not('col', 'in', ...)` requires an array, not a Set.
 */
export const SYSTEM_RESOURCE_IDS = Array.from(RESERVED_RESOURCE_IDS)

/**
 * Check if a resource ID is reserved for platform use
 */
export function isReservedResourceId(resourceId: string): boolean {
  return RESERVED_RESOURCE_IDS.has(resourceId)
}
