PageSourceSearch

https://plataforma.bydenergia.com/chunk-LRN2HZXT.js

js bydenergia.com collected 2026-10-05 02:57:11 UTC 1,235 bytes, 50 lines download raw bytes

1import {
2  environment
3} from "./chunk-6CANLVFK.js";
4import {
5  HttpClient
6} from "./chunk-D4PEJ7VH.js";
7import {
8  ɵɵdefineInjectable,
9  ɵɵinject
10} from "./chunk-CG6MKYWD.js";
11import {
12  __spreadValues
13} from "./chunk-GBXUKA3S.js";
14
15// src/app/shared/services/tag.service.ts
16var TagService = class _TagService {
17  constructor(http) {
18    this.http = http;
19    this.baseRoute = `${environment.api}/tags`;
20  }
21  list(filterData) {
22    return this.http.get(`${this.baseRoute}`, {
23      params: __spreadValues({}, filterData)
24    });
25  }
26  create(data) {
27    return this.http.post(`${this.baseRoute}/create`, data);
28  }
29  getById(id) {
30    return this.http.get(`${this.baseRoute}/${id}`);
31  }
32  edit(id, data) {
33    return this.http.patch(`${this.baseRoute}/update/${id}`, data);
34  }
35  delete(id) {
36    return this.http.patch(`${this.baseRoute}/delete/${id}`, {});
37  }
38  static {
39    this.\u0275fac = function TagService_Factory(__ngFactoryType__) {
40      return new (__ngFactoryType__ || _TagService)(\u0275\u0275inject(HttpClient));
41    };
42  }
43  static {
44    this.\u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _TagService, factory: _TagService.\u0275fac, providedIn: "root" });
45  }
46};
47
48export {
49  TagService
50};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.