@pvh-afl/graphql 1.1.0 → 1.1.1
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/README.md +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @afl/graphql
|
|
1
|
+
# @pvh-afl/graphql
|
|
2
2
|
|
|
3
3
|
Shared GraphQL modules for the AFL multi-brand commerce platform.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @afl/graphql
|
|
8
|
+
npm install @pvh-afl/graphql
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Peer Dependencies
|
|
@@ -13,7 +13,7 @@ npm install @afl/graphql
|
|
|
13
13
|
This package requires the following peer dependencies:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install @afl/core @nestjs/common @nestjs/core @nestjs/graphql @nestjs/apollo graphql
|
|
16
|
+
npm install @pvh-afl/core @nestjs/common @nestjs/core @nestjs/graphql @nestjs/apollo graphql
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Modules
|
|
@@ -22,7 +22,7 @@ npm install @afl/core @nestjs/common @nestjs/core @nestjs/graphql @nestjs/apollo
|
|
|
22
22
|
Product queries and services for fetching product data from commerce platforms.
|
|
23
23
|
|
|
24
24
|
```typescript
|
|
25
|
-
import { ProductModule } from '@afl/graphql';
|
|
25
|
+
import { ProductModule } from '@pvh-afl/graphql';
|
|
26
26
|
|
|
27
27
|
@Module({
|
|
28
28
|
imports: [ProductModule],
|
|
@@ -34,49 +34,49 @@ export class AppModule {}
|
|
|
34
34
|
Cart mutations and services for managing shopping carts.
|
|
35
35
|
|
|
36
36
|
```typescript
|
|
37
|
-
import { CartModule } from '@afl/graphql';
|
|
37
|
+
import { CartModule } from '@pvh-afl/graphql';
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### CollectionModule
|
|
41
41
|
Collection queries for fetching product collections.
|
|
42
42
|
|
|
43
43
|
```typescript
|
|
44
|
-
import { CollectionModule } from '@afl/graphql';
|
|
44
|
+
import { CollectionModule } from '@pvh-afl/graphql';
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### ServiceabilityModule
|
|
48
48
|
Serviceability checks for delivery availability.
|
|
49
49
|
|
|
50
50
|
```typescript
|
|
51
|
-
import { ServiceabilityModule } from '@afl/graphql';
|
|
51
|
+
import { ServiceabilityModule } from '@pvh-afl/graphql';
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
### PageContentModule
|
|
55
55
|
CMS page content fetching and processing.
|
|
56
56
|
|
|
57
57
|
```typescript
|
|
58
|
-
import { PageContentModule } from '@afl/graphql';
|
|
58
|
+
import { PageContentModule } from '@pvh-afl/graphql';
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
### ProductContentModule
|
|
62
62
|
Product-specific CMS content.
|
|
63
63
|
|
|
64
64
|
```typescript
|
|
65
|
-
import { ProductContentModule } from '@afl/graphql';
|
|
65
|
+
import { ProductContentModule } from '@pvh-afl/graphql';
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
### HeaderModule
|
|
69
69
|
Header configuration and navigation.
|
|
70
70
|
|
|
71
71
|
```typescript
|
|
72
|
-
import { HeaderModule } from '@afl/graphql';
|
|
72
|
+
import { HeaderModule } from '@pvh-afl/graphql';
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
### CmsModule
|
|
76
76
|
Generic CMS content fetching.
|
|
77
77
|
|
|
78
78
|
```typescript
|
|
79
|
-
import { CmsModule } from '@afl/graphql';
|
|
79
|
+
import { CmsModule } from '@pvh-afl/graphql';
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
## Usage with NestJS GraphQL
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
ServiceabilityModule,
|
|
95
95
|
PageContentModule,
|
|
96
96
|
HeaderModule,
|
|
97
|
-
} from '@afl/graphql';
|
|
97
|
+
} from '@pvh-afl/graphql';
|
|
98
98
|
|
|
99
99
|
@Module({
|
|
100
100
|
imports: [
|