Protected_ endpoints
_endpoints : { getAttributes : { path : "dogma/attributes" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getAttributeById : { path : "dogma/attributes/{attributeId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "attributeId" ] ; responseSchema : ZodObject < { attribute_id : ZodNumber ; name : ZodOptional < ZodString > ; description : ZodOptional < ZodString > ; icon_id : ZodOptional < ZodNumber > ; default_value : ZodOptional < ZodNumber > ; published : ZodOptional < ZodBoolean > ; display_name : ZodOptional < ZodString > ; unit_id : ZodOptional < ZodNumber > ; stackable : ZodOptional < ZodBoolean > ; high_is_good : ZodOptional < ZodBoolean > ; } , $loose , > ; } ; getEffects : { path : "dogma/effects" ; method : "GET" ; requiresAuth : false ; responseSchema : ZodArray < ZodNumber > ; } ; getEffectById : { path : "dogma/effects/{effectId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "effectId" ] ; responseSchema : ZodObject < { effect_id : ZodNumber ; name : ZodOptional < ZodString > ; description : ZodOptional < ZodString > ; icon_id : ZodOptional < ZodNumber > ; display_name : ZodOptional < ZodString > ; published : ZodOptional < ZodBoolean > ; effect_category : ZodOptional < ZodNumber > ; is_assistance : ZodOptional < ZodBoolean > ; is_offensive : ZodOptional < ZodBoolean > ; is_warp_safe : ZodOptional < ZodBoolean > ; disallow_auto_repeat : ZodOptional < ZodBoolean > ; discharge_attribute_id : ZodOptional < ZodNumber > ; duration_attribute_id : ZodOptional < ZodNumber > ; electronic_chance : ZodOptional < ZodBoolean > ; falloff_attribute_id : ZodOptional < ZodNumber > ; modifiers : ZodOptional < ZodArray < ZodObject < { domain : ZodOptional < ZodString > ; effect_id : ZodOptional < ZodNumber > ; func : ZodString ; modified_attribute_id : ZodOptional < ZodNumber > ; modifying_attribute_id : ZodOptional < ZodNumber > ; operator : ZodOptional < ZodNumber > ; } , $loose , > , > , > ; post_expression : ZodOptional < ZodNumber > ; pre_expression : ZodOptional < ZodNumber > ; range_attribute_id : ZodOptional < ZodNumber > ; range_chance : ZodOptional < ZodBoolean > ; tracking_speed_attribute_id : ZodOptional < ZodNumber > ; } , $loose , > ; } ; getDynamicItemInfo : { path : "dogma/dynamic/items/{typeId}/{itemId}" ; method : "GET" ; requiresAuth : false ; pathParams : readonly [ "typeId" , "itemId" ] ; responseSchema : ZodObject < { created_by : ZodNumber ; dogma_attributes : ZodArray < ZodObject < { attribute_id : ZodNumber ; value : ZodNumber } , $loose > , > ; dogma_effects : ZodArray < ZodObject < { effect_id : ZodNumber ; is_default : ZodBoolean } , $loose > , > ; mutator_type_id : ZodNumber ; source_type_id : ZodNumber ; } , $loose , > ; } ; }
The base of the custom domain clients: an endpoint map turned into methods, plus the
stream*/fetchAll*page helpers andwithMetadata/withSafeMode. Extend it for a custom domain client of your own.