Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "rippleDataApi", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deployment_env_config", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 8, column: 27, }, end: Position { line: 8, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 8, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "production", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 23, }, end: Position { line: 10, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 10, column: 31, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maxSockets", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 17, }, }, }, ), ], to: Integer( Integer { value: "150", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "batchSize", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: Integer( Integer { value: "100", span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startIndex", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 17, }, }, }, ), ], to: Integer( Integer { value: "32570", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rippleds", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rippleds", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "redis", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "redis", span: Span { start: Position { line: 16, column: 22, }, end: Position { line: 16, column: 27, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 16, column: 28, }, end: Position { line: 16, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "redis", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 25, }, }, }, ), Raw( PartRaw { content: "host", span: Span { start: Position { line: 17, column: 26, }, end: Position { line: 17, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "redis", span: Span { start: Position { line: 18, column: 20, }, end: Position { line: 18, column: 25, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 18, column: 26, }, end: Position { line: 18, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 16, }, }, }, ), Raw( PartRaw { content: "auth_pass", span: Span { start: Position { line: 19, column: 17, }, end: Position { line: 19, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 19, column: 29, }, end: Position { line: 19, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 15, }, end: Position { line: 20, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 21, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 43, }, end: Position { line: 22, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "db_config", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 24, column: 15, }, end: Position { line: 24, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 24, column: 24, }, end: Position { line: 24, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "production", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 26, column: 18, }, end: Position { line: 26, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 28, }, end: Position { line: 26, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 39, }, }, }, ), Raw( PartRaw { content: "pass", span: Span { start: Position { line: 26, column: 40, }, end: Position { line: 26, column: 44, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 26, column: 48, }, end: Position { line: 26, column: 50, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 52, }, end: Position { line: 26, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 26, column: 56, }, end: Position { line: 26, column: 63, }, }, }, ), Raw( PartRaw { content: "user", span: Span { start: Position { line: 26, column: 64, }, end: Position { line: 26, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "password", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 27, column: 18, }, end: Position { line: 27, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 27, column: 28, }, end: Position { line: 27, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 27, column: 32, }, end: Position { line: 27, column: 39, }, }, }, ), Raw( PartRaw { content: "pass", span: Span { start: Position { line: 27, column: 40, }, end: Position { line: 27, column: 44, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 27, column: 48, }, end: Position { line: 27, column: 50, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 27, column: 52, }, end: Position { line: 27, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 27, column: 56, }, end: Position { line: 27, column: 63, }, }, }, ), Raw( PartRaw { content: "pass", span: Span { start: Position { line: 27, column: 64, }, end: Position { line: 27, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 28, column: 14, }, end: Position { line: 28, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 25, }, }, }, ), Raw( PartRaw { content: "host", span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 14, }, end: Position { line: 29, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 29, column: 18, }, end: Position { line: 29, column: 25, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 29, column: 26, }, end: Position { line: 29, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 29, }, }, }, ), Raw( PartRaw { content: "db", span: Span { start: Position { line: 30, column: 30, }, end: Position { line: 30, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "protocol", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http", span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 23, }, }, }, ), ], span: Span { start: Position { line: 31, column: 18, }, end: Position { line: 31, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 18, }, end: Position { line: 32, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 33, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 13, }, }, }, ), Raw( PartRaw { content: "rippleDataApi", span: Span { start: Position { line: 37, column: 14, }, end: Position { line: 37, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 38, column: 16, }, end: Position { line: 38, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 32, }, end: Position { line: 38, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 36, }, end: Position { line: 38, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "ripple data api", span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 38, column: 58, }, }, }, ), ], span: Span { start: Position { line: 38, column: 42, }, end: Position { line: 38, column: 59, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 14, }, end: Position { line: 40, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 41, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api port", span: Span { start: Position { line: 41, column: 34, }, end: Position { line: 41, column: 54, }, }, }, ), ], span: Span { start: Position { line: 41, column: 33, }, end: Position { line: 41, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: Integer( Integer { value: "5993", span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 42, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 43, column: 22, }, end: Position { line: 43, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "importMode", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 46, column: 20, }, end: Position { line: 46, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 23, }, end: Position { line: 47, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api import mode.", span: Span { start: Position { line: 47, column: 34, }, end: Position { line: 47, column: 62, }, }, }, ), ], span: Span { start: Position { line: 47, column: 33, }, end: Position { line: 47, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "liveOnly", span: Span { start: Position { line: 48, column: 20, }, end: Position { line: 48, column: 28, }, }, }, ), ], span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 49, column: 16, }, end: Position { line: 49, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "live", span: Span { start: Position { line: 49, column: 29, }, end: Position { line: 49, column: 33, }, }, }, ), ], span: Span { start: Position { line: 49, column: 28, }, end: Position { line: 49, column: 34, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "liveOnly", span: Span { start: Position { line: 49, column: 36, }, end: Position { line: 49, column: 44, }, }, }, ), ], span: Span { start: Position { line: 49, column: 35, }, end: Position { line: 49, column: 45, }, }, }, ), ], span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 46, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 46, column: 29, }, end: Position { line: 50, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "minLedger", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 52, column: 19, }, end: Position { line: 52, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 53, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 27, }, end: Position { line: 53, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api minimal ledger to fetch.", span: Span { start: Position { line: 53, column: 34, }, end: Position { line: 53, column: 74, }, }, }, ), ], span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 53, column: 75, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 16, }, end: Position { line: 55, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 29, }, end: Position { line: 55, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 55, column: 35, }, end: Position { line: 55, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 52, column: 28, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maxLedger", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 58, column: 19, }, end: Position { line: 58, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 59, column: 27, }, end: Position { line: 59, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api maximal ledger to fetch.", span: Span { start: Position { line: 59, column: 34, }, end: Position { line: 59, column: 74, }, }, }, ), ], span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 59, column: 75, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 60, column: 19, }, end: Position { line: 60, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 16, }, end: Position { line: 61, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 29, }, end: Position { line: 61, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 61, column: 35, }, end: Position { line: 61, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 58, column: 28, }, end: Position { line: 62, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "redis", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 65, column: 18, }, end: Position { line: 65, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 66, column: 25, }, end: Position { line: 66, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 66, column: 29, }, end: Position { line: 66, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to enable caching of ripple data to redis.", span: Span { start: Position { line: 66, column: 36, }, end: Position { line: 66, column: 86, }, }, }, ), ], span: Span { start: Position { line: 66, column: 35, }, end: Position { line: 66, column: 87, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 67, column: 11, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 68, column: 11, }, end: Position { line: 68, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 68, column: 18, }, end: Position { line: 68, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 68, column: 24, }, end: Position { line: 68, column: 28, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 65, column: 27, }, end: Position { line: 69, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 71, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 11, }, end: Position { line: 72, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 25, }, end: Position { line: 72, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 29, }, end: Position { line: 72, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api redis host.", span: Span { start: Position { line: 72, column: 36, }, end: Position { line: 72, column: 63, }, }, }, ), ], span: Span { start: Position { line: 72, column: 35, }, end: Position { line: 72, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 73, column: 22, }, end: Position { line: 73, column: 31, }, }, }, ), ], span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 74, column: 11, }, end: Position { line: 74, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 74, column: 18, }, end: Position { line: 74, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 71, column: 25, }, end: Position { line: 75, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 77, column: 16, }, end: Position { line: 77, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 11, }, end: Position { line: 78, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 78, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 78, column: 29, }, end: Position { line: 78, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api redis port.", span: Span { start: Position { line: 78, column: 36, }, end: Position { line: 78, column: 63, }, }, }, ), ], span: Span { start: Position { line: 78, column: 35, }, end: Position { line: 78, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 79, column: 11, }, end: Position { line: 79, column: 18, }, }, }, ), ], to: Integer( Integer { value: "5984", span: Span { start: Position { line: 79, column: 21, }, end: Position { line: 79, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 80, column: 11, }, end: Position { line: 80, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 80, column: 18, }, end: Position { line: 80, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 80, column: 24, }, end: Position { line: 80, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 77, column: 25, }, end: Position { line: 81, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 64, column: 15, }, end: Position { line: 82, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 85, column: 16, }, end: Position { line: 85, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 86, column: 11, }, end: Position { line: 86, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 86, column: 25, }, end: Position { line: 86, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 86, column: 29, }, end: Position { line: 86, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api couchdb host.", span: Span { start: Position { line: 86, column: 36, }, end: Position { line: 86, column: 65, }, }, }, ), ], span: Span { start: Position { line: 86, column: 35, }, end: Position { line: 86, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 87, column: 11, }, end: Position { line: 87, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 31, }, }, }, ), ], span: Span { start: Position { line: 87, column: 21, }, end: Position { line: 87, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 88, column: 11, }, end: Position { line: 88, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 88, column: 18, }, end: Position { line: 88, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 88, column: 24, }, end: Position { line: 88, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 89, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 91, column: 16, }, end: Position { line: 91, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 92, column: 11, }, end: Position { line: 92, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 92, column: 25, }, end: Position { line: 92, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 92, column: 29, }, end: Position { line: 92, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api couchdb port.", span: Span { start: Position { line: 92, column: 36, }, end: Position { line: 92, column: 65, }, }, }, ), ], span: Span { start: Position { line: 92, column: 35, }, end: Position { line: 92, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 93, column: 11, }, end: Position { line: 93, column: 18, }, }, }, ), ], to: Integer( Integer { value: "5984", span: Span { start: Position { line: 93, column: 21, }, end: Position { line: 93, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 94, column: 11, }, end: Position { line: 94, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 94, column: 18, }, end: Position { line: 94, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 94, column: 24, }, end: Position { line: 94, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 91, column: 25, }, end: Position { line: 95, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "db", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 97, column: 14, }, end: Position { line: 97, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 98, column: 11, }, end: Position { line: 98, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 98, column: 25, }, end: Position { line: 98, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 98, column: 29, }, end: Position { line: 98, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api couchdb database.", span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 69, }, }, }, ), ], span: Span { start: Position { line: 98, column: 35, }, end: Position { line: 98, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 99, column: 11, }, end: Position { line: 99, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rippled", span: Span { start: Position { line: 99, column: 22, }, end: Position { line: 99, column: 29, }, }, }, ), ], span: Span { start: Position { line: 99, column: 21, }, end: Position { line: 99, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 100, column: 11, }, end: Position { line: 100, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 18, }, end: Position { line: 100, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 100, column: 24, }, end: Position { line: 100, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 97, column: 23, }, end: Position { line: 101, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 103, column: 16, }, end: Position { line: 103, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 104, column: 11, }, end: Position { line: 104, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 104, column: 25, }, end: Position { line: 104, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 104, column: 29, }, end: Position { line: 104, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api couchdb username.", span: Span { start: Position { line: 104, column: 36, }, end: Position { line: 104, column: 69, }, }, }, ), ], span: Span { start: Position { line: 104, column: 35, }, end: Position { line: 104, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 105, column: 11, }, end: Position { line: 105, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rippled", span: Span { start: Position { line: 105, column: 22, }, end: Position { line: 105, column: 29, }, }, }, ), ], span: Span { start: Position { line: 105, column: 21, }, end: Position { line: 105, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 106, column: 11, }, end: Position { line: 106, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 106, column: 18, }, end: Position { line: 106, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 106, column: 24, }, end: Position { line: 106, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 103, column: 25, }, end: Position { line: 107, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pass", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 110, column: 11, }, end: Position { line: 110, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 110, column: 25, }, end: Position { line: 110, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 110, column: 29, }, end: Position { line: 110, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api couchdb password.", span: Span { start: Position { line: 110, column: 36, }, end: Position { line: 110, column: 69, }, }, }, ), ], span: Span { start: Position { line: 110, column: 35, }, end: Position { line: 110, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 111, column: 11, }, end: Position { line: 111, column: 18, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 111, column: 21, }, end: Position { line: 111, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 112, column: 11, }, end: Position { line: 112, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 112, column: 18, }, end: Position { line: 112, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 112, column: 24, }, end: Position { line: 112, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 109, column: 25, }, end: Position { line: 113, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "create", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 115, column: 18, }, end: Position { line: 115, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 116, column: 11, }, end: Position { line: 116, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 116, column: 25, }, end: Position { line: 116, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 116, column: 29, }, end: Position { line: 116, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to create couchdb database needed by ripple data api.", span: Span { start: Position { line: 116, column: 36, }, end: Position { line: 116, column: 97, }, }, }, ), ], span: Span { start: Position { line: 116, column: 35, }, end: Position { line: 116, column: 98, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 117, column: 11, }, end: Position { line: 117, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 18, }, end: Position { line: 117, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 117, column: 24, }, end: Position { line: 117, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 118, column: 11, }, end: Position { line: 118, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 118, column: 21, }, end: Position { line: 118, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 27, }, end: Position { line: 119, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 84, column: 17, }, end: Position { line: 120, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rippleds", span: Span { start: Position { line: 122, column: 7, }, end: Position { line: 122, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 122, column: 18, }, end: Position { line: 122, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 123, column: 23, }, end: Position { line: 123, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 123, column: 27, }, end: Position { line: 123, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of rippleds to be used by ripple data api.", span: Span { start: Position { line: 123, column: 34, }, end: Position { line: 123, column: 81, }, }, }, ), ], span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 123, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 124, column: 9, }, end: Position { line: 124, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "http://s_east.ripple.com:51234", span: Span { start: Position { line: 125, column: 12, }, end: Position { line: 125, column: 42, }, }, }, ), ], span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "http://s_west.ripple.com:51234", span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 42, }, }, }, ), ], span: Span { start: Position { line: 126, column: 11, }, end: Position { line: 126, column: 43, }, }, }, ), ], span: Span { start: Position { line: 124, column: 19, }, end: Position { line: 127, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 128, column: 9, }, end: Position { line: 128, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 128, column: 16, }, end: Position { line: 128, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 128, column: 22, }, end: Position { line: 128, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 128, column: 29, }, end: Position { line: 128, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 128, column: 35, }, end: Position { line: 128, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 122, column: 27, }, end: Position { line: 129, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 30, }, end: Position { line: 130, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 131, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 133, column: 3, }, end: Position { line: 133, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 133, column: 12, }, end: Position { line: 133, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 133, column: 18, }, end: Position { line: 133, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 133, column: 22, }, end: Position { line: 133, column: 28, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 134, column: 5, }, end: Position { line: 134, column: 13, }, }, }, ), Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 134, column: 14, }, end: Position { line: 134, column: 21, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 134, column: 22, }, end: Position { line: 134, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 134, column: 31, }, end: Position { line: 134, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 134, column: 41, }, end: Position { line: 134, column: 45, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 135, column: 5, }, end: Position { line: 135, column: 13, }, }, }, ), Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 135, column: 14, }, end: Position { line: 135, column: 21, }, }, }, ), Raw( PartRaw { content: "bindAddress", span: Span { start: Position { line: 135, column: 22, }, end: Position { line: 135, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 135, column: 36, }, end: Position { line: 135, column: 45, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 135, column: 47, }, end: Position { line: 135, column: 54, }, }, }, ), ], span: Span { start: Position { line: 135, column: 46, }, end: Position { line: 135, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 136, column: 5, }, end: Position { line: 136, column: 13, }, }, }, ), Raw( PartRaw { content: "redis", span: Span { start: Position { line: 136, column: 14, }, end: Position { line: 136, column: 19, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 136, column: 20, }, end: Position { line: 136, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 136, column: 29, }, end: Position { line: 136, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 136, column: 39, }, end: Position { line: 136, column: 43, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 138, column: 5, }, end: Position { line: 138, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 138, column: 13, }, end: Position { line: 138, column: 21, }, }, }, ), Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 138, column: 22, }, end: Position { line: 138, column: 37, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "couchdb.service", span: Span { start: Position { line: 139, column: 18, }, end: Position { line: 139, column: 33, }, }, }, ), ], span: Span { start: Position { line: 139, column: 17, }, end: Position { line: 139, column: 34, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "redis.service", span: Span { start: Position { line: 139, column: 36, }, end: Position { line: 139, column: 49, }, }, }, ), ], span: Span { start: Position { line: 139, column: 35, }, end: Position { line: 139, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "ripple-data-api-importer.service", span: Span { start: Position { line: 139, column: 52, }, end: Position { line: 139, column: 84, }, }, }, ), ], span: Span { start: Position { line: 139, column: 51, }, end: Position { line: 139, column: 85, }, }, }, ), ], span: Span { start: Position { line: 139, column: 15, }, end: Position { line: 139, column: 87, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 140, column: 21, }, end: Position { line: 140, column: 38, }, }, }, ), ], span: Span { start: Position { line: 140, column: 20, }, end: Position { line: 140, column: 39, }, }, }, ), ], span: Span { start: Position { line: 140, column: 18, }, end: Position { line: 140, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 142, column: 7, }, end: Position { line: 142, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NODE_ENV", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "production", span: Span { start: Position { line: 143, column: 21, }, end: Position { line: 143, column: 31, }, }, }, ), ], span: Span { start: Position { line: 143, column: 20, }, end: Position { line: 143, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DEPLOYMENT_ENVS_CONFIG", span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 144, column: 34, }, end: Position { line: 144, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 144, column: 39, }, end: Position { line: 144, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "deployment.environment.json", span: Span { start: Position { line: 144, column: 50, }, end: Position { line: 144, column: 77, }, }, }, ), ], span: Span { start: Position { line: 144, column: 49, }, end: Position { line: 144, column: 78, }, }, }, ), Identifier( Identifier { id: "deployment_env_config", span: Span { start: Position { line: 144, column: 79, }, end: Position { line: 144, column: 100, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DB_CONFIG", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 145, column: 21, }, end: Position { line: 145, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 145, column: 26, }, end: Position { line: 145, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "db.config.json", span: Span { start: Position { line: 145, column: 37, }, end: Position { line: 145, column: 51, }, }, }, ), ], span: Span { start: Position { line: 145, column: 36, }, end: Position { line: 145, column: 52, }, }, }, ), Identifier( Identifier { id: "db_config", span: Span { start: Position { line: 145, column: 53, }, end: Position { line: 145, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 142, column: 21, }, end: Position { line: 146, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 149, column: 24, }, end: Position { line: 149, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 149, column: 29, }, end: Position { line: 149, column: 44, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/api", span: Span { start: Position { line: 149, column: 22, }, end: Position { line: 149, column: 53, }, }, }, ), ], span: Span { start: Position { line: 149, column: 21, }, end: Position { line: 149, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 150, column: 20, }, end: Position { line: 150, column: 26, }, }, }, ), ], span: Span { start: Position { line: 150, column: 19, }, end: Position { line: 150, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 151, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 151, column: 17, }, end: Position { line: 151, column: 32, }, }, }, ), ], span: Span { start: Position { line: 151, column: 16, }, end: Position { line: 151, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 148, column: 23, }, end: Position { line: 152, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 138, column: 40, }, end: Position { line: 153, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 155, column: 5, }, end: Position { line: 155, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 155, column: 13, }, end: Position { line: 155, column: 21, }, }, }, ), Raw( PartRaw { content: "ripple-data-importer", span: Span { start: Position { line: 155, column: 22, }, end: Position { line: 155, column: 42, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "couchdb.service", span: Span { start: Position { line: 156, column: 18, }, end: Position { line: 156, column: 33, }, }, }, ), ], span: Span { start: Position { line: 156, column: 17, }, end: Position { line: 156, column: 34, }, }, }, ), ], span: Span { start: Position { line: 156, column: 15, }, end: Position { line: 156, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 157, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 157, column: 21, }, end: Position { line: 157, column: 38, }, }, }, ), ], span: Span { start: Position { line: 157, column: 20, }, end: Position { line: 157, column: 39, }, }, }, ), ], span: Span { start: Position { line: 157, column: 18, }, end: Position { line: 157, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 158, column: 16, }, end: Position { line: 158, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "curl", span: Span { start: Position { line: 158, column: 21, }, end: Position { line: 158, column: 25, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 158, column: 14, }, end: Position { line: 158, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NODE_ENV", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "production", span: Span { start: Position { line: 161, column: 21, }, end: Position { line: 161, column: 31, }, }, }, ), ], span: Span { start: Position { line: 161, column: 20, }, end: Position { line: 161, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DEPLOYMENT_ENVS_CONFIG", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 162, column: 34, }, end: Position { line: 162, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 162, column: 39, }, end: Position { line: 162, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "deployment.environment.json", span: Span { start: Position { line: 162, column: 50, }, end: Position { line: 162, column: 77, }, }, }, ), ], span: Span { start: Position { line: 162, column: 49, }, end: Position { line: 162, column: 78, }, }, }, ), Identifier( Identifier { id: "deployment_env_config", span: Span { start: Position { line: 162, column: 79, }, end: Position { line: 162, column: 100, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DB_CONFIG", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 163, column: 21, }, end: Position { line: 163, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 163, column: 26, }, end: Position { line: 163, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "db.config.json", span: Span { start: Position { line: 163, column: 37, }, end: Position { line: 163, column: 51, }, }, }, ), ], span: Span { start: Position { line: 163, column: 36, }, end: Position { line: 163, column: 52, }, }, }, ), Identifier( Identifier { id: "db_config", span: Span { start: Position { line: 163, column: 53, }, end: Position { line: 163, column: 62, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LOG_FILE", span: Span { start: Position { line: 164, column: 9, }, end: Position { line: 164, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/null", span: Span { start: Position { line: 164, column: 21, }, end: Position { line: 164, column: 30, }, }, }, ), ], span: Span { start: Position { line: 164, column: 20, }, end: Position { line: 164, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 160, column: 21, }, end: Position { line: 165, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 20, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "importMode", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 19, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 169, column: 14, }, end: Position { line: 169, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "minLedger", span: Span { start: Position { line: 169, column: 18, }, end: Position { line: 169, column: 27, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 169, column: 31, }, end: Position { line: 169, column: 35, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 169, column: 39, }, end: Position { line: 169, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maxLedger", span: Span { start: Position { line: 169, column: 43, }, end: Position { line: 169, column: 52, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 169, column: 56, }, end: Position { line: 169, column: 60, }, }, }, ), }, ), }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 170, column: 16, }, end: Position { line: 170, column: 24, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 170, column: 25, }, end: Position { line: 170, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "minLedger", span: Span { start: Position { line: 170, column: 29, }, end: Position { line: 170, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 170, column: 14, }, end: Position { line: 170, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 170, column: 42, }, end: Position { line: 170, column: 50, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 170, column: 51, }, end: Position { line: 170, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maxLedger", span: Span { start: Position { line: 170, column: 55, }, end: Position { line: 170, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 170, column: 13, }, end: Position { line: 170, column: 66, }, }, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 172, column: 13, }, end: Position { line: 172, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "importMode", span: Span { start: Position { line: 172, column: 17, }, end: Position { line: 172, column: 27, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 169, column: 11, }, end: Position { line: 172, column: 27, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 174, column: 9, }, end: Position { line: 174, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 174, column: 24, }, end: Position { line: 174, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 174, column: 29, }, end: Position { line: 174, column: 44, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/importer ", span: Span { start: Position { line: 174, column: 22, }, end: Position { line: 174, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "importMode", span: Span { start: Position { line: 174, column: 61, }, end: Position { line: 174, column: 71, }, }, }, ), }, ), Raw( PartRaw { content: " debug", span: Span { start: Position { line: 174, column: 22, }, end: Position { line: 174, column: 78, }, }, }, ), ], span: Span { start: Position { line: 174, column: 21, }, end: Position { line: 174, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 175, column: 9, }, end: Position { line: 175, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 175, column: 20, }, end: Position { line: 175, column: 26, }, }, }, ), ], span: Span { start: Position { line: 175, column: 19, }, end: Position { line: 175, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 176, column: 9, }, end: Position { line: 176, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 176, column: 17, }, end: Position { line: 176, column: 32, }, }, }, ), ], span: Span { start: Position { line: 176, column: 16, }, end: Position { line: 176, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 173, column: 10, }, end: Position { line: 177, column: 8, }, }, }, ), span: Span { start: Position { line: 167, column: 23, }, end: Position { line: 177, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 179, column: 18, }, end: Position { line: 179, column: 25, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 180, column: 10, }, end: Position { line: 180, column: 14, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 16, }, end: Position { line: 180, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 180, column: 20, }, end: Position { line: 180, column: 27, }, }, }, ), Raw( PartRaw { content: "create", span: Span { start: Position { line: 180, column: 28, }, end: Position { line: 180, column: 34, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "HOST=\"http://", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 181, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 181, column: 26, }, end: Position { line: 181, column: 40, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 42, }, end: Position { line: 181, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 181, column: 46, }, end: Position { line: 181, column: 53, }, }, }, ), Raw( PartRaw { content: "pass", span: Span { start: Position { line: 181, column: 54, }, end: Position { line: 181, column: 58, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 181, column: 62, }, end: Position { line: 181, column: 64, }, }, }, ), }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 69, }, end: Position { line: 181, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 181, column: 73, }, end: Position { line: 181, column: 80, }, }, }, ), Raw( PartRaw { content: "user", span: Span { start: Position { line: 181, column: 81, }, end: Position { line: 181, column: 85, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 181, column: 67, }, end: Position { line: 181, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 89, }, end: Position { line: 181, column: 92, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 181, column: 93, }, end: Position { line: 181, column: 100, }, }, }, ), Raw( PartRaw { content: "pass", span: Span { start: Position { line: 181, column: 101, }, end: Position { line: 181, column: 105, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "@", span: Span { start: Position { line: 181, column: 67, }, end: Position { line: 181, column: 107, }, }, }, ), ], span: Span { start: Position { line: 181, column: 66, }, end: Position { line: 181, column: 108, }, }, }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 111, }, end: Position { line: 181, column: 114, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 181, column: 115, }, end: Position { line: 181, column: 122, }, }, }, ), Raw( PartRaw { content: "host", span: Span { start: Position { line: 181, column: 123, }, end: Position { line: 181, column: 127, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 181, column: 129, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 181, column: 131, }, end: Position { line: 181, column: 139, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 140, }, end: Position { line: 181, column: 143, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 181, column: 144, }, end: Position { line: 181, column: 151, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 181, column: 152, }, end: Position { line: 181, column: 156, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"\ncurl -X PUT $HOST/", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 182, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 182, column: 31, }, end: Position { line: 182, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "couchdb", span: Span { start: Position { line: 182, column: 35, }, end: Position { line: 182, column: 42, }, }, }, ), Raw( PartRaw { content: "db", span: Span { start: Position { line: 182, column: 43, }, end: Position { line: 182, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " || true\n", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 183, column: 9, }, }, }, ), ], span: Span { start: Position { line: 180, column: 36, }, end: Position { line: 183, column: 11, }, }, }, ), ], }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 184, column: 12, }, end: Position { line: 184, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 184, column: 17, }, end: Position { line: 184, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/update-views", span: Span { start: Position { line: 184, column: 10, }, end: Position { line: 184, column: 50, }, }, }, ), ], span: Span { start: Position { line: 184, column: 9, }, end: Position { line: 184, column: 51, }, }, }, ), ], span: Span { start: Position { line: 179, column: 26, }, end: Position { line: 185, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 155, column: 45, }, end: Position { line: 186, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 188, column: 5, }, end: Position { line: 188, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 188, column: 11, }, end: Position { line: 188, column: 16, }, }, }, ), Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 188, column: 17, }, end: Position { line: 188, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Ripple data api user", span: Span { start: Position { line: 189, column: 24, }, end: Position { line: 189, column: 44, }, }, }, ), ], span: Span { start: Position { line: 189, column: 23, }, end: Position { line: 189, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 190, column: 24, }, end: Position { line: 190, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 191, column: 18, }, end: Position { line: 191, column: 33, }, }, }, ), ], span: Span { start: Position { line: 191, column: 17, }, end: Position { line: 191, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 192, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 193, column: 5, }, end: Position { line: 193, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 193, column: 11, }, end: Position { line: 193, column: 17, }, }, }, ), Raw( PartRaw { content: "ripple-data-api", span: Span { start: Position { line: 193, column: 18, }, end: Position { line: 193, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 193, column: 36, }, end: Position { line: 193, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 133, column: 30, }, end: Position { line: 194, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 35, column: 4, }, end: Position { line: 195, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 195, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 195, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 195, column: 2, }, }, }, )