(ctx context.Context, serviceId string, isDelete bool)
| 302 | return utils.SliceToSlice(list, FromEntity), nil |
| 303 | } |
| 304 | func (i *imlAPIService) listForService(ctx context.Context, serviceId string, isDelete bool) ([]*api.API, error) { |
| 305 | return i.store.ListQuery(ctx, "service=? and is_delete=?", []interface{}{serviceId, isDelete}, "id") |
| 306 | } |
| 307 | func (i *imlAPIService) ListLatestCommitProxy(ctx context.Context, apiUUID ...string) ([]*commit.Commit[Proxy], error) { |
| 308 | |
| 309 | return i.proxyCommitService.ListLatest(ctx, apiUUID...) |