import { BoosterConfig } from '@boostercloud/framework-types' ; export const eventsStoreAttributes = { partitionKey : 'entityTypeName_entityID_kind' , sortKey : 'createdAt' , indexByEntity : { name : ( config ) => config . resourceNames . eventsStore + '-index-by-entity' , partitionKey : 'entityTypeName_kind' , } , indexByType : { name : ( config ) => config . resourceNames . eventsStore + '-index-by-type' , partitionKey : 'typeName' , } , } as const ; export const subscriptionsStoreAttributes = { partitionKey : 'className' , sortKey : 'connectionID_subscriptionID' , ttl : 'expirationTime' , indexByConnectionIDPartitionKey : 'connectionID' , indexByConnectionIDSortKey : 'subscriptionID' , indexByConnectionIDName : ( config ) => config . resourceNames . subscriptionsStore + '-index-by-connection' , } as const ; export const connectionsStoreAttributes = { partitionKey : 'connectionID' , ttl : 'expirationTime' , } as const ; export const environmentVarNames = { restAPIURL : 'BOOSTER_REST_API_URL' , websocketAPIURL : 'BOOSTER_WEBSOCKET_API_URL' , } as const ; export const dynamoDbBatchGetLimit = 100 ; export const dynamoDbBatchWriteLimit = 25 ;