phx-node 1.0.66 → 1.0.67

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.
@@ -1,13 +1,12 @@
1
1
  import { HttpService } from "@nestjs/axios";
2
- export interface GrpcRequestType {
3
- query: string;
2
+ import { QueryOrPersistedId } from "./types";
3
+ export type GrpcRequestType = QueryOrPersistedId & {
4
4
  hostname: string;
5
5
  variables?: Record<string, any> | null | undefined;
6
- }
7
- export interface GrpcRequestDataCenterType {
8
- query: string;
6
+ };
7
+ export type GrpcRequestDataCenterType = QueryOrPersistedId & {
9
8
  variables?: Record<string, any> | null | undefined;
10
- }
9
+ };
11
10
  export declare class PHXGrpcClientSystemService {
12
11
  private readonly httpService;
13
12
  private readonly logger;
@@ -15,8 +14,8 @@ export declare class PHXGrpcClientSystemService {
15
14
  private readonly projectSource;
16
15
  constructor(httpService: HttpService);
17
16
  debug(hostname: string): void;
18
- query({ query, variables, hostname, }: GrpcRequestType): Promise<any>;
19
- mutation({ query, variables, hostname, }: GrpcRequestType): Promise<any>;
20
- queryDataCenter({ query, variables, }: GrpcRequestDataCenterType): Promise<any>;
21
- mutationDataCenter({ query, variables, }: GrpcRequestDataCenterType): Promise<any>;
17
+ query({ query, variables, hostname, persistedId }: GrpcRequestType): Promise<any>;
18
+ mutation({ query, variables, hostname, persistedId }: GrpcRequestType): Promise<any>;
19
+ queryDataCenter({ query, variables, persistedId }: GrpcRequestDataCenterType): Promise<any>;
20
+ mutationDataCenter({ query, variables, persistedId }: GrpcRequestDataCenterType): Promise<any>;
22
21
  }
@@ -34,12 +34,12 @@ let PHXGrpcClientSystemService = PHXGrpcClientSystemService_1 = class PHXGrpcCli
34
34
  this.logger.debug(this.internalGrpcGateway);
35
35
  }
36
36
  query(_a) {
37
- return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, }) {
37
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, persistedId }) {
38
38
  if (!hostname)
39
39
  return;
40
40
  try {
41
41
  const response = yield this.httpService
42
- .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: { hostname } }))
42
+ .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname } }))
43
43
  .toPromise();
44
44
  return response.data;
45
45
  }
@@ -50,12 +50,12 @@ let PHXGrpcClientSystemService = PHXGrpcClientSystemService_1 = class PHXGrpcCli
50
50
  });
51
51
  }
52
52
  mutation(_a) {
53
- return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, }) {
53
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, hostname, persistedId }) {
54
54
  if (!hostname)
55
55
  return;
56
56
  try {
57
57
  const response = yield this.httpService
58
- .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: { hostname } }))
58
+ .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname } }))
59
59
  .toPromise();
60
60
  return response.data;
61
61
  }
@@ -66,10 +66,10 @@ let PHXGrpcClientSystemService = PHXGrpcClientSystemService_1 = class PHXGrpcCli
66
66
  });
67
67
  }
68
68
  queryDataCenter(_a) {
69
- return __awaiter(this, arguments, void 0, function* ({ query, variables, }) {
69
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId }) {
70
70
  try {
71
71
  const response = yield this.httpService
72
- .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: { hostname: "data-center" } }))
72
+ .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname: "data-center" } }))
73
73
  .toPromise();
74
74
  return response.data;
75
75
  }
@@ -80,10 +80,10 @@ let PHXGrpcClientSystemService = PHXGrpcClientSystemService_1 = class PHXGrpcCli
80
80
  });
81
81
  }
82
82
  mutationDataCenter(_a) {
83
- return __awaiter(this, arguments, void 0, function* ({ query, variables, }) {
83
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId }) {
84
84
  try {
85
85
  const response = yield this.httpService
86
- .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: { hostname: "data-center" } }))
86
+ .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: { hostname: "data-center" } }))
87
87
  .toPromise();
88
88
  return response.data;
89
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"grpc-client-system.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client-system.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AAarC,IAAM,0BAA0B,kCAAhC,MAAM,0BAA0B;IAKrC,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAJpC,WAAM,GAAG,IAAI,eAAM,CAAC,4BAA0B,CAAC,IAAI,CAAC,CAAC;QAKpE,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;QAC7D,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IAClD,CAAC;IAEM,KAAK,CAAC,QAAgB;QAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC9C,CAAC;IAEY,KAAK;6DAAC,EACjB,KAAK,EACL,SAAS,EACT,QAAQ,GACQ;YAChB,IAAI,CAAC,QAAQ;gBAAE,OAAO;YACtB,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CA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AM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,IACpC;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;IAEY,kBAAkB;6DAAC,EAC9B,KAAK,EACL,SAAS,GACiB;YAC1B,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,WAAW,kCACvC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,IACpC;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AAnGY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,mBAAU,GAAE;qCAM+B,mBAAW;GAL1C,0BAA0B,CAmGtC"}
1
+ {"version":3,"file":"grpc-client-system.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client-system.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AAYrC,IAAM,0BAA0B,kCAAhC,MAAM,0BAA0B;IAKrC,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAJpC,WAAM,GAAG,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ACL,YAAY,EAAE,WAAW,EACzB,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,IACpC;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AA3GY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,mBAAU,GAAE;qCAM+B,mBAAW;GAL1C,0BAA0B,CA2GtC"}
@@ -1,14 +1,14 @@
1
1
  import { HttpService } from "@nestjs/axios";
2
- export interface GrpcRequestType {
3
- query: string;
2
+ import { QueryOrPersistedId } from "./types";
3
+ export type GrpcRequestType = QueryOrPersistedId & {
4
4
  variables?: Record<string, any> | null | undefined;
5
- }
5
+ };
6
6
  export declare class PHXGrpcClientService {
7
7
  private readonly httpService;
8
8
  private readonly request;
9
9
  private readonly internalGrpcGateway;
10
10
  private readonly projectSource;
11
11
  constructor(httpService: HttpService, request: Request);
12
- query({ query, variables }: GrpcRequestType): Promise<any>;
13
- mutation({ query, variables }: GrpcRequestType): Promise<any>;
12
+ query({ query, variables, persistedId }: GrpcRequestType): Promise<any>;
13
+ mutation({ query, variables, persistedId }: GrpcRequestType): Promise<any>;
14
14
  }
@@ -33,10 +33,10 @@ let PHXGrpcClientService = class PHXGrpcClientService {
33
33
  this.projectSource = process.env.PROJECT_SOURCE;
34
34
  }
35
35
  query(_a) {
36
- return __awaiter(this, arguments, void 0, function* ({ query, variables }) {
36
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId }) {
37
37
  try {
38
38
  const response = yield this.httpService
39
- .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: this.request.headers }))
39
+ .post(`${this.internalGrpcGateway}/query`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: this.request.headers }))
40
40
  .toPromise();
41
41
  return response.data;
42
42
  }
@@ -47,10 +47,10 @@ let PHXGrpcClientService = class PHXGrpcClientService {
47
47
  });
48
48
  }
49
49
  mutation(_a) {
50
- return __awaiter(this, arguments, void 0, function* ({ query, variables }) {
50
+ return __awaiter(this, arguments, void 0, function* ({ query, variables, persistedId }) {
51
51
  try {
52
52
  const response = yield this.httpService
53
- .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, headers: this.request.headers }))
53
+ .post(`${this.internalGrpcGateway}/mutation`, Object.assign(Object.assign({}, (variables && { variables })), { source: this.projectSource, query, persisted_id: persistedId, headers: this.request.headers }))
54
54
  .toPromise();
55
55
  return response.data;
56
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"grpc-client.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4D;AAC5D,yCAA4C;AAC5C,uCAAuC;AAQhC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAG/B,YACmB,WAAwB,EACP,OAAgB;QADjC,gBAAW,GAAX,WAAW,CAAa;QACP,YAAO,GAAP,OAAO,CAAS;QAElD,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;QAC7D,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IAClD,CAAC;IAEY,KAAK;6DAAC,EAAE,KAAK,EAAE,SAAS,EAAmB;YACtD,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,QAAQ,kCACpC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;IAEY,QAAQ;6DAAC,EAAE,KAAK,EAAE,SAAS,EAAmB;YACzD,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW;qBACpC,IAAI,CAAC,GAAG,IAAI,CAAC,mBAAmB,WAAW,kCACvC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,CAAC,KAC/B,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,KAAK,EACL,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;qBACD,SAAS,EAAE,CAAC;gBACf,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AA5CY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;IAMR,WAAA,IAAA,eAAM,EAAC,cAAO,CAAC,CAAA;qCADc,mBAAW;QACE,OAAO;GALzC,oBAAoB,CA4ChC"}
1
+ {"version":3,"file":"grpc-client.service.js","sourceRoot":"","sources":["../../../src/module/grpc-client/grpc-client.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yCAA4C;AAC5C,uCAAuC;AAQhC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAG/B,YACmB,WAAwB,EACP,OAAgB;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AO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;KAAA;CACF,CAAA;AA9CY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;IAMR,WAAA,IAAA,eAAM,EAAC,cAAO,CAAC,CAAA;qCADc,mBAAW;QACE,OAAO;GALzC,oBAAoB,CA8ChC"}
@@ -0,0 +1,7 @@
1
+ export type QueryOrPersistedId = {
2
+ query: string;
3
+ persistedId?: never;
4
+ } | {
5
+ query?: never;
6
+ persistedId: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/module/grpc-client/types.ts"],"names":[],"mappings":""}