deployment-relays.ts (587B)
1 import { validateRelayPolicy } from './relays.ts'; 2 3 // No production endpoints/operators have been approved. Keep source development 4 // possible without guessing egress; the explicit launch-input command rejects 5 // these empty sets. Operation consumers must enforce the two separate flags. 6 const policy = validateRelayPolicy( 7 JSON.stringify({ 8 schemaVersion: 1, 9 public: [], 10 inbox: [], 11 postingEnabled: false, 12 messagingEnabled: false, 13 operatorDenylist: [] 14 }) 15 ); 16 if (!policy) throw new Error('relay_policy_invalid'); 17 18 export const deploymentRelayPolicy = policy;