package delivery type ResourceContract struct { Domain string `json:"domain"` Name string `json:"name"` Path string `json:"path"` PageKind string `json:"pageKind"` Mode string `json:"mode"` } func ExpectedResources() []ResourceContract { items := []ResourceContract{ {"profile", "delivery_profile", "/delivery_profile", "list", "readonly"}, {"staff", "staff_account", "/staff_account", "list", "writable"}, {"staff", "staff_credential", "/staff_credential", "list", "writable"}, {"user", "user_account", "/user_account", "list", "writable"}, {"user", "user_address", "/user_address", "list", "writable"}, {"contract", "gasorder_contract", "/gasorder_contract", "list", "managed"}, {"contract", "gasorder_contract_product", "/gasorder_contract_product", "list", "append_only"}, {"contract", "gasorder_contract_revision", "/gasorder_contract_revision", "list", "readonly"}, {"contract", "product_info", "/product_info", "list", "readonly"}, {"gasorder", "gasorder_basic", "/gasorder_basic", "list", "append_only"}, {"finance", "wallet_basic", "/wallet_basic", "list", "readonly"}, {"finance", "wallet_bank", "/wallet_bank", "list", "readonly"}, {"finance", "payment_order", "/payment_order", "list", "readonly"}, {"finance", "wallet_record", "/wallet_record", "list", "readonly"}, {"finance", "payment_refund", "/payment_refund", "list", "readonly"}, {"finance", "wallet_recharge", "/wallet_recharge", "list", "append_only"}, {"finance", "wallet_apply_cash", "/wallet_apply_cash", "list", "append_only"}, {"finance", "fin_settlement", "/fin_settlement", "list", "readonly"}, } return items }