bx-rest 0.5.2 → 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.
- package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +22 -0
- package/esm2022/request/socialnetwork/api/contentview.mjs +22 -0
- package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +22 -0
- package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +17 -0
- package/esm2022/request/socialnetwork/api/livefeed.mjs +17 -0
- package/esm2022/request/socialnetwork/api.mjs +19 -0
- package/esm2022/request/socialnetwork.mjs +19 -0
- package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +22 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +24 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +17 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +21 -0
- package/esm2022/request-navvy/socialnetwork/api.mjs +19 -0
- package/esm2022/request-navvy/socialnetwork.mjs +17 -0
- package/esm2022/rest/base.mjs +3 -1
- package/esm2022/rest/navvy.mjs +3 -1
- package/esm2022/services/http/HttpBX.mjs +28 -30
- package/esm2022/services/http/sessionKey.mjs +4 -4
- package/esm2022/typification/base/answers.mjs +1 -1
- package/esm2022/typification/base/methods.mjs +16 -2
- package/esm2022/typification/base/params.mjs +1 -1
- package/esm2022/typification/base/workpiece/methods-list.mjs +1 -1
- package/esm2022/typification/base/workpiece/methods.mjs +1 -1
- package/esm2022/typification/rest/lists/field/get.mjs +1 -1
- package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
- package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
- package/esm2022/typification/settings.mjs +1 -1
- package/fesm2022/bx-rest.mjs +258 -32
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
- package/package.json +8 -9
- package/request/bizproc/workflow.d.ts +1 -1
- package/request/socialnetwork/api/contentview.d.ts +9 -0
- package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +9 -0
- package/request/socialnetwork/api/livefeed/blogpost.d.ts +7 -0
- package/request/socialnetwork/api/livefeed.d.ts +7 -0
- package/request/socialnetwork/api.d.ts +9 -0
- package/request/socialnetwork.d.ts +7 -0
- package/request-navvy/bizproc/workflow.d.ts +1 -1
- package/request-navvy/socialnetwork/api/contentview.d.ts +10 -0
- package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +12 -0
- package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +7 -0
- package/request-navvy/socialnetwork/api/livefeed.d.ts +7 -0
- package/request-navvy/socialnetwork/api.d.ts +9 -0
- package/request-navvy/socialnetwork.d.ts +7 -0
- package/rest/base.d.ts +2 -0
- package/rest/navvy.d.ts +2 -0
- package/services/http/sessionKey.d.ts +1 -0
- package/typification/base/answers.d.ts +2 -2
- package/typification/base/params.d.ts +2 -3
- package/typification/base/workpiece/methods-list.d.ts +28 -0
- package/typification/base/workpiece/methods.d.ts +4 -3
- package/typification/rest/lists/field/get.d.ts +4 -0
- package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
- package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
- package/typification/settings.d.ts +1 -1
package/fesm2022/bx-rest.mjs
CHANGED
|
@@ -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,12 +344,13 @@ 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
|
-
console.log('this.BX_REST_SETTINGS.urls.additional_part', this.BX_REST_SETTINGS.urls.additional_part, !!this.BX_REST_SETTINGS.urls.additional_part);
|
|
350
351
|
const additional_part = (this.BX_REST_SETTINGS.urls.additional_part || this.BX_REST_SETTINGS.urls.additional_part === '')
|
|
351
352
|
? this.BX_REST_SETTINGS.urls.additional_part
|
|
352
353
|
: DEFAULT_BX_REST_SETTINGS.urls.additional_part;
|
|
353
|
-
console.log('additional_part', additional_part);
|
|
354
354
|
if (this.BX_REST_SETTINGS.urls.source === 'string') {
|
|
355
355
|
return of(this.prepareBaseAddress(this.BX_REST_SETTINGS.urls.key, additional_part));
|
|
356
356
|
}
|
|
@@ -607,44 +607,42 @@ class HttpBXServices extends HttpServices {
|
|
|
607
607
|
return this.httpGet(this.getNameMethod(name), params);
|
|
608
608
|
}
|
|
609
609
|
httpPost(url, params = {}) {
|
|
610
|
+
const paramsClone = clone(params);
|
|
610
611
|
let auth = this.session.getAuthParams();
|
|
611
|
-
|
|
612
|
-
|
|
612
|
+
const checkIsOn = this.session.getCheckAuthParamsIsOn();
|
|
613
|
+
if (checkIsOn) {
|
|
614
|
+
if (!auth) {
|
|
615
|
+
throw new Error('Authorization required (post)');
|
|
616
|
+
}
|
|
613
617
|
paramsClone[this.session.getKeyAuth()] = auth;
|
|
614
|
-
return this.session.getBaseUrl().pipe(mergeMap(v => {
|
|
615
|
-
if (v) {
|
|
616
|
-
// это более быстрый способ запроса чем отправка Form Data
|
|
617
|
-
return this.http.post(this.prepareBaseAddress(v) + url, JSON.stringify(paramsClone), { headers: new HttpHeaders().set('Content-Type', 'application/json') });
|
|
618
|
-
}
|
|
619
|
-
return throwError(() => 'get base url error');
|
|
620
|
-
}));
|
|
621
|
-
}
|
|
622
|
-
else {
|
|
623
|
-
return throwError(() => 'auth not get (post)');
|
|
624
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
|
+
}));
|
|
625
626
|
}
|
|
626
627
|
httpGet(url, params = {}) {
|
|
628
|
+
if (params === null) {
|
|
629
|
+
params = {};
|
|
630
|
+
}
|
|
627
631
|
let auth = this.session.getAuthParams();
|
|
632
|
+
const paramsClone = clone(params);
|
|
628
633
|
if (auth) {
|
|
629
|
-
if (params === null) {
|
|
630
|
-
params = {};
|
|
631
|
-
}
|
|
632
|
-
const paramsClone = clone(params);
|
|
633
634
|
paramsClone[this.session.getKeyAuth()] = auth;
|
|
634
|
-
let options = {
|
|
635
|
-
params: this.getHttpParamsGet(paramsClone)
|
|
636
|
-
// params: JSON.stringify(paramsClone)
|
|
637
|
-
};
|
|
638
|
-
return this.session.getBaseUrl().pipe(mergeMap(v => {
|
|
639
|
-
if (v) {
|
|
640
|
-
return this.http.get(this.prepareBaseAddress(v) + url, options);
|
|
641
|
-
}
|
|
642
|
-
return throwError(() => 'get base url error');
|
|
643
|
-
}));
|
|
644
|
-
}
|
|
645
|
-
else {
|
|
646
|
-
return throwError(() => 'auth not get (get)');
|
|
647
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
|
+
}));
|
|
648
646
|
}
|
|
649
647
|
getNameMethod(arr) {
|
|
650
648
|
return arr.join('.');
|
|
@@ -1515,6 +1513,20 @@ const methods = {
|
|
|
1515
1513
|
// send: [$bizproc, $event, $send],
|
|
1516
1514
|
// }
|
|
1517
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
|
+
},
|
|
1518
1530
|
app: {
|
|
1519
1531
|
/**
|
|
1520
1532
|
* Показ информации о приложении. Метод поддерживает безопасный вызов
|
|
@@ -2447,6 +2459,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
|
|
|
2447
2459
|
}]
|
|
2448
2460
|
}] });
|
|
2449
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
|
+
|
|
2450
2557
|
class BXRest {
|
|
2451
2558
|
constructor() {
|
|
2452
2559
|
this.http = inject(HttpBXServices);
|
|
@@ -2464,6 +2571,7 @@ class BXRest {
|
|
|
2464
2571
|
this.im = inject(BXRestIm);
|
|
2465
2572
|
this.app = inject(BXRestApp);
|
|
2466
2573
|
this.timeMan = inject(BXRestTimeMan);
|
|
2574
|
+
this.socialNetWork = inject(BXRestSocialNetWork);
|
|
2467
2575
|
}
|
|
2468
2576
|
profile() {
|
|
2469
2577
|
return this.http.post(['profile']);
|
|
@@ -5283,6 +5391,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
|
|
|
5283
5391
|
}]
|
|
5284
5392
|
}] });
|
|
5285
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
|
+
|
|
5286
5511
|
class BXRestNavvy {
|
|
5287
5512
|
constructor() {
|
|
5288
5513
|
this.user = inject(BXRestNavvyUser);
|
|
@@ -5300,6 +5525,7 @@ class BXRestNavvy {
|
|
|
5300
5525
|
this.app = inject(BXRestNavvyApp);
|
|
5301
5526
|
this.timeMan = inject(BXRestNavvyTimeMan);
|
|
5302
5527
|
this.BXRest = inject(BXRest);
|
|
5528
|
+
this.socialNetWork = inject(BXRestNavvySocialNetWork);
|
|
5303
5529
|
this.BXRestMap = inject(BXRestMaps);
|
|
5304
5530
|
this.Navvy = new Navvy(this.BXRest, this.BXRestMap);
|
|
5305
5531
|
}
|