bx-rest 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +22 -0
  2. package/esm2022/request/socialnetwork/api/contentview.mjs +22 -0
  3. package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +22 -0
  4. package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +17 -0
  5. package/esm2022/request/socialnetwork/api/livefeed.mjs +17 -0
  6. package/esm2022/request/socialnetwork/api.mjs +19 -0
  7. package/esm2022/request/socialnetwork.mjs +19 -0
  8. package/esm2022/request-navvy/lists.mjs +1 -1
  9. package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +22 -0
  10. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +24 -0
  11. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +17 -0
  12. package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +21 -0
  13. package/esm2022/request-navvy/socialnetwork/api.mjs +19 -0
  14. package/esm2022/request-navvy/socialnetwork.mjs +17 -0
  15. package/esm2022/rest/base.mjs +3 -1
  16. package/esm2022/rest/navvy.mjs +3 -1
  17. package/esm2022/services/http/HttpBX.mjs +28 -30
  18. package/esm2022/services/http/sessionKey.mjs +5 -3
  19. package/esm2022/typification/base/answers.mjs +1 -1
  20. package/esm2022/typification/base/methods.mjs +16 -2
  21. package/esm2022/typification/base/params.mjs +1 -1
  22. package/esm2022/typification/base/workpiece/methods-list.mjs +1 -1
  23. package/esm2022/typification/base/workpiece/methods.mjs +1 -1
  24. package/esm2022/typification/rest/lists/field/get.mjs +1 -1
  25. package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
  26. package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
  27. package/esm2022/typification/settings.mjs +1 -1
  28. package/fesm2022/bx-rest.mjs +259 -31
  29. package/fesm2022/bx-rest.mjs.map +1 -1
  30. package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
  31. package/package.json +8 -9
  32. package/request/bizproc/workflow.d.ts +1 -1
  33. package/request/socialnetwork/api/contentview.d.ts +9 -0
  34. package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +9 -0
  35. package/request/socialnetwork/api/livefeed/blogpost.d.ts +7 -0
  36. package/request/socialnetwork/api/livefeed.d.ts +7 -0
  37. package/request/socialnetwork/api.d.ts +9 -0
  38. package/request/socialnetwork.d.ts +7 -0
  39. package/request-navvy/bizproc/workflow.d.ts +1 -1
  40. package/request-navvy/socialnetwork/api/contentview.d.ts +10 -0
  41. package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +12 -0
  42. package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +7 -0
  43. package/request-navvy/socialnetwork/api/livefeed.d.ts +7 -0
  44. package/request-navvy/socialnetwork/api.d.ts +9 -0
  45. package/request-navvy/socialnetwork.d.ts +7 -0
  46. package/rest/base.d.ts +2 -0
  47. package/rest/navvy.d.ts +2 -0
  48. package/services/http/sessionKey.d.ts +1 -0
  49. package/typification/base/answers.d.ts +2 -2
  50. package/typification/base/params.d.ts +2 -3
  51. package/typification/base/workpiece/methods-list.d.ts +28 -0
  52. package/typification/base/workpiece/methods.d.ts +4 -3
  53. package/typification/rest/lists/field/get.d.ts +5 -0
  54. package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
  55. package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
  56. package/typification/settings.d.ts +1 -1
@@ -335,7 +335,6 @@ class SessionKeyServices extends BaseServices {
335
335
  return '';
336
336
  }
337
337
  getAuthParams() {
338
- // console.log('this.BX_REST_SETTINGS', this.BX_REST_SETTINGS, BX_REST_SETTINGS)
339
338
  switch (this.BX_REST_SETTINGS.auth.source) {
340
339
  case 'cookies':
341
340
  return this.getAuth();
@@ -345,8 +344,11 @@ class SessionKeyServices extends BaseServices {
345
344
  return (this.authData) ? this.authData.access_token : undefined;
346
345
  }
347
346
  }
347
+ getCheckAuthParamsIsOn() {
348
+ return this.BX_REST_SETTINGS.auth.source !== 'off';
349
+ }
348
350
  getBaseUrl() {
349
- const additional_part = (this.BX_REST_SETTINGS.urls.additional_part && this.BX_REST_SETTINGS.urls.additional_part != '')
351
+ const additional_part = (this.BX_REST_SETTINGS.urls.additional_part || this.BX_REST_SETTINGS.urls.additional_part === '')
350
352
  ? this.BX_REST_SETTINGS.urls.additional_part
351
353
  : DEFAULT_BX_REST_SETTINGS.urls.additional_part;
352
354
  if (this.BX_REST_SETTINGS.urls.source === 'string') {
@@ -605,44 +607,42 @@ class HttpBXServices extends HttpServices {
605
607
  return this.httpGet(this.getNameMethod(name), params);
606
608
  }
607
609
  httpPost(url, params = {}) {
610
+ const paramsClone = clone(params);
608
611
  let auth = this.session.getAuthParams();
609
- if (auth) {
610
- const paramsClone = clone(params);
612
+ const checkIsOn = this.session.getCheckAuthParamsIsOn();
613
+ if (checkIsOn) {
614
+ if (!auth) {
615
+ throw new Error('Authorization required (post)');
616
+ }
611
617
  paramsClone[this.session.getKeyAuth()] = auth;
612
- return this.session.getBaseUrl().pipe(mergeMap(v => {
613
- if (v) {
614
- // это более быстрый способ запроса чем отправка Form Data
615
- return this.http.post(this.prepareBaseAddress(v) + url, JSON.stringify(paramsClone), { headers: new HttpHeaders().set('Content-Type', 'application/json') });
616
- }
617
- return throwError(() => 'get base url error');
618
- }));
619
- }
620
- else {
621
- return throwError(() => 'auth not get (post)');
622
618
  }
619
+ return this.session.getBaseUrl().pipe(mergeMap(v => {
620
+ if (v) {
621
+ // это более быстрый способ запроса чем отправка Form Data
622
+ return this.http.post(this.prepareBaseAddress(v) + url, JSON.stringify(paramsClone), { headers: new HttpHeaders().set('Content-Type', 'application/json') });
623
+ }
624
+ return throwError(() => 'get base url error');
625
+ }));
623
626
  }
624
627
  httpGet(url, params = {}) {
628
+ if (params === null) {
629
+ params = {};
630
+ }
625
631
  let auth = this.session.getAuthParams();
632
+ const paramsClone = clone(params);
626
633
  if (auth) {
627
- if (params === null) {
628
- params = {};
629
- }
630
- const paramsClone = clone(params);
631
634
  paramsClone[this.session.getKeyAuth()] = auth;
632
- let options = {
633
- params: this.getHttpParamsGet(paramsClone)
634
- // params: JSON.stringify(paramsClone)
635
- };
636
- return this.session.getBaseUrl().pipe(mergeMap(v => {
637
- if (v) {
638
- return this.http.get(this.prepareBaseAddress(v) + url, options);
639
- }
640
- return throwError(() => 'get base url error');
641
- }));
642
- }
643
- else {
644
- return throwError(() => 'auth not get (get)');
645
635
  }
636
+ let options = {
637
+ params: this.getHttpParamsGet(paramsClone)
638
+ // params: JSON.stringify(paramsClone)
639
+ };
640
+ return this.session.getBaseUrl().pipe(mergeMap(v => {
641
+ if (v) {
642
+ return this.http.get(this.prepareBaseAddress(v) + url, options);
643
+ }
644
+ return throwError(() => 'get base url error');
645
+ }));
646
646
  }
647
647
  getNameMethod(arr) {
648
648
  return arr.join('.');
@@ -1513,6 +1513,20 @@ const methods = {
1513
1513
  // send: [$bizproc, $event, $send],
1514
1514
  // }
1515
1515
  },
1516
+ socialNetWork: {
1517
+ api: {
1518
+ contentView: {
1519
+ set: [$socialnetwork, $api, 'contentView', $set]
1520
+ },
1521
+ liveFeed: {
1522
+ blogPost: {
1523
+ important: {
1524
+ vote: [$socialnetwork, $api, 'liveFeed', 'blogPost', 'important', 'vote']
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ },
1516
1530
  app: {
1517
1531
  /**
1518
1532
  * Показ информации о приложении. Метод поддерживает безопасный вызов
@@ -2445,6 +2459,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
2445
2459
  }]
2446
2460
  }] });
2447
2461
 
2462
+ class BXRestSocialNetWorkApiContentView {
2463
+ constructor() {
2464
+ this.url = methods.socialNetWork.api.contentView;
2465
+ this.http = inject(HttpBXServices);
2466
+ }
2467
+ set(param) {
2468
+ return this.http.post(this.url.set, param);
2469
+ }
2470
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiContentView, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2471
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiContentView, providedIn: 'root' }); }
2472
+ }
2473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiContentView, decorators: [{
2474
+ type: Injectable,
2475
+ args: [{
2476
+ providedIn: 'root'
2477
+ }]
2478
+ }] });
2479
+
2480
+ class BXRestSocialNetWorkApiLiveFeedBlogPostImportant {
2481
+ constructor() {
2482
+ this.url = methods.socialNetWork.api.liveFeed.blogPost.important;
2483
+ this.http = inject(HttpBXServices);
2484
+ }
2485
+ vote(param) {
2486
+ return this.http.post(this.url.vote, param);
2487
+ }
2488
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPostImportant, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2489
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPostImportant, providedIn: 'root' }); }
2490
+ }
2491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPostImportant, decorators: [{
2492
+ type: Injectable,
2493
+ args: [{
2494
+ providedIn: 'root'
2495
+ }]
2496
+ }] });
2497
+
2498
+ class BXRestSocialNetWorkApiLiveFeedBlogPost {
2499
+ constructor() {
2500
+ this.important = inject(BXRestSocialNetWorkApiLiveFeedBlogPostImportant);
2501
+ }
2502
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPost, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2503
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPost, providedIn: 'root' }); }
2504
+ }
2505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeedBlogPost, decorators: [{
2506
+ type: Injectable,
2507
+ args: [{
2508
+ providedIn: 'root'
2509
+ }]
2510
+ }] });
2511
+
2512
+ class BXRestSocialNetWorkApiLiveFeed {
2513
+ constructor() {
2514
+ this.blogPost = inject(BXRestSocialNetWorkApiLiveFeedBlogPost);
2515
+ }
2516
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeed, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2517
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeed, providedIn: 'root' }); }
2518
+ }
2519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApiLiveFeed, decorators: [{
2520
+ type: Injectable,
2521
+ args: [{
2522
+ providedIn: 'root'
2523
+ }]
2524
+ }] });
2525
+
2526
+ class BXRestSocialNetWorkApi {
2527
+ constructor() {
2528
+ this.contentView = inject(BXRestSocialNetWorkApiContentView);
2529
+ this.liveFeed = inject(BXRestSocialNetWorkApiLiveFeed);
2530
+ }
2531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2532
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApi, providedIn: 'root' }); }
2533
+ }
2534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWorkApi, decorators: [{
2535
+ type: Injectable,
2536
+ args: [{
2537
+ providedIn: 'root'
2538
+ }]
2539
+ }] });
2540
+
2541
+ class BXRestSocialNetWork {
2542
+ constructor() {
2543
+ // protected url = methods.socialNetWork
2544
+ // private http = inject(HttpBXServices)
2545
+ this.api = inject(BXRestSocialNetWorkApi);
2546
+ }
2547
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWork, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2548
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWork, providedIn: 'root' }); }
2549
+ }
2550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestSocialNetWork, decorators: [{
2551
+ type: Injectable,
2552
+ args: [{
2553
+ providedIn: 'root'
2554
+ }]
2555
+ }] });
2556
+
2448
2557
  class BXRest {
2449
2558
  constructor() {
2450
2559
  this.http = inject(HttpBXServices);
@@ -2462,6 +2571,7 @@ class BXRest {
2462
2571
  this.im = inject(BXRestIm);
2463
2572
  this.app = inject(BXRestApp);
2464
2573
  this.timeMan = inject(BXRestTimeMan);
2574
+ this.socialNetWork = inject(BXRestSocialNetWork);
2465
2575
  }
2466
2576
  profile() {
2467
2577
  return this.http.post(['profile']);
@@ -5281,6 +5391,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
5281
5391
  }]
5282
5392
  }] });
5283
5393
 
5394
+ class BXRestNavvySocialNetWorkApiContentView {
5395
+ constructor() {
5396
+ this.ContentView = inject(BXRestSocialNetWorkApiContentView);
5397
+ this.Navvy = new Navvy(this.ContentView, null);
5398
+ }
5399
+ set(param) {
5400
+ return this.Navvy.simpleWithArg(this.ContentView.set, param);
5401
+ }
5402
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiContentView, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5403
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiContentView, providedIn: 'root' }); }
5404
+ }
5405
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiContentView, decorators: [{
5406
+ type: Injectable,
5407
+ args: [{
5408
+ providedIn: 'root'
5409
+ }]
5410
+ }] });
5411
+
5412
+ class BXRestNavvyMapSocialNetWorkApiLiveFeedBlogPostImportant {
5413
+ constructor() {
5414
+ this.base = inject(BaseServices);
5415
+ }
5416
+ vote(item) {
5417
+ return (item) ? {
5418
+ success: this.base.toBool(item.success)
5419
+ } : undefined;
5420
+ }
5421
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvyMapSocialNetWorkApiLiveFeedBlogPostImportant, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5422
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvyMapSocialNetWorkApiLiveFeedBlogPostImportant, providedIn: 'root' }); }
5423
+ }
5424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvyMapSocialNetWorkApiLiveFeedBlogPostImportant, decorators: [{
5425
+ type: Injectable,
5426
+ args: [{
5427
+ providedIn: 'root'
5428
+ }]
5429
+ }] });
5430
+
5431
+ class BXRestNavvySocialNetWorkApiLiveFeedBlogPostImportant {
5432
+ constructor() {
5433
+ this.important = inject(BXRestSocialNetWorkApiLiveFeedBlogPostImportant);
5434
+ this.map = inject(BXRestNavvyMapSocialNetWorkApiLiveFeedBlogPostImportant);
5435
+ this.Navvy = new Navvy(this.important, this.map);
5436
+ }
5437
+ vote(param) {
5438
+ return this.Navvy.simpleWithArg(this.important.vote, param, this.map.vote);
5439
+ }
5440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPostImportant, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5441
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPostImportant, providedIn: 'root' }); }
5442
+ }
5443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPostImportant, decorators: [{
5444
+ type: Injectable,
5445
+ args: [{
5446
+ providedIn: 'root'
5447
+ }]
5448
+ }] });
5449
+
5450
+ class BXRestNavvySocialNetWorkApiLiveFeedBlogPost {
5451
+ constructor() {
5452
+ this.important = inject(BXRestNavvySocialNetWorkApiLiveFeedBlogPostImportant);
5453
+ }
5454
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPost, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5455
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPost, providedIn: 'root' }); }
5456
+ }
5457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeedBlogPost, decorators: [{
5458
+ type: Injectable,
5459
+ args: [{
5460
+ providedIn: 'root'
5461
+ }]
5462
+ }] });
5463
+
5464
+ // import { Navvy } from '../../../services/navvy'
5465
+ // import { BXRestSocialNetWorkApiLiveFeed } from '../../../request/socialnetwork/api/livefeed'
5466
+ class BXRestNavvySocialNetWorkApiLiveFeed {
5467
+ constructor() {
5468
+ // private readonly contentView = inject(BXRestSocialNetWorkApiLiveFeed)
5469
+ // private readonly Navvy = new Navvy(this.contentView, null)
5470
+ this.blogPost = inject(BXRestNavvySocialNetWorkApiLiveFeedBlogPost);
5471
+ }
5472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeed, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5473
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeed, providedIn: 'root' }); }
5474
+ }
5475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApiLiveFeed, decorators: [{
5476
+ type: Injectable,
5477
+ args: [{
5478
+ providedIn: 'root'
5479
+ }]
5480
+ }] });
5481
+
5482
+ class BXRestNavvySocialNetWorkApi {
5483
+ constructor() {
5484
+ this.contentView = inject(BXRestNavvySocialNetWorkApiContentView);
5485
+ this.liveFeed = inject(BXRestNavvySocialNetWorkApiLiveFeed);
5486
+ }
5487
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5488
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApi, providedIn: 'root' }); }
5489
+ }
5490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWorkApi, decorators: [{
5491
+ type: Injectable,
5492
+ args: [{
5493
+ providedIn: 'root'
5494
+ }]
5495
+ }] });
5496
+
5497
+ class BXRestNavvySocialNetWork {
5498
+ constructor() {
5499
+ this.api = inject(BXRestNavvySocialNetWorkApi);
5500
+ }
5501
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWork, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5502
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWork, providedIn: 'root' }); }
5503
+ }
5504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: BXRestNavvySocialNetWork, decorators: [{
5505
+ type: Injectable,
5506
+ args: [{
5507
+ providedIn: 'root'
5508
+ }]
5509
+ }] });
5510
+
5284
5511
  class BXRestNavvy {
5285
5512
  constructor() {
5286
5513
  this.user = inject(BXRestNavvyUser);
@@ -5298,6 +5525,7 @@ class BXRestNavvy {
5298
5525
  this.app = inject(BXRestNavvyApp);
5299
5526
  this.timeMan = inject(BXRestNavvyTimeMan);
5300
5527
  this.BXRest = inject(BXRest);
5528
+ this.socialNetWork = inject(BXRestNavvySocialNetWork);
5301
5529
  this.BXRestMap = inject(BXRestMaps);
5302
5530
  this.Navvy = new Navvy(this.BXRest, this.BXRestMap);
5303
5531
  }