@wix/core-services-d 1.0.0
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/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +24 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-long.http.d.ts +4 -0
- package/build/cjs/src/metroinspector-v1-long.http.js +75 -0
- package/build/cjs/src/metroinspector-v1-long.http.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-long.public.d.ts +4 -0
- package/build/cjs/src/metroinspector-v1-long.public.js +11 -0
- package/build/cjs/src/metroinspector-v1-long.public.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-long.types.d.ts +12 -0
- package/build/cjs/src/metroinspector-v1-long.types.js +3 -0
- package/build/cjs/src/metroinspector-v1-long.types.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-long.universal.d.ts +34 -0
- package/build/cjs/src/metroinspector-v1-long.universal.js +103 -0
- package/build/cjs/src/metroinspector-v1-long.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/src/metroinspector-v1-long.http.d.ts +4 -0
- package/build/es/src/metroinspector-v1-long.http.js +71 -0
- package/build/es/src/metroinspector-v1-long.http.js.map +1 -0
- package/build/es/src/metroinspector-v1-long.public.d.ts +4 -0
- package/build/es/src/metroinspector-v1-long.public.js +7 -0
- package/build/es/src/metroinspector-v1-long.public.js.map +1 -0
- package/build/es/src/metroinspector-v1-long.types.d.ts +12 -0
- package/build/es/src/metroinspector-v1-long.types.js +2 -0
- package/build/es/src/metroinspector-v1-long.types.js.map +1 -0
- package/build/es/src/metroinspector-v1-long.universal.d.ts +34 -0
- package/build/es/src/metroinspector-v1-long.universal.js +80 -0
- package/build/es/src/metroinspector-v1-long.universal.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as echo from './src/metroinspector-v1-long.public';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.echo = void 0;
|
|
23
|
+
exports.echo = __importStar(require("./src/metroinspector-v1-long.public"));
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA4D"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.publicLongEcho = void 0;
|
|
4
|
+
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
+
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
6
|
+
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
+
const _longMessage = { durationField: 'google.protobuf.Duration' };
|
|
8
|
+
function resolveWixCoreservicesLongTypesV1LongTypesServiceUrl(opts) {
|
|
9
|
+
const domainToMappings = {
|
|
10
|
+
'apps._base_domain_': [
|
|
11
|
+
{
|
|
12
|
+
srcPath: '/_api/metro-inspector',
|
|
13
|
+
destPath: '/api',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
'api._api_base_domain_': [
|
|
17
|
+
{
|
|
18
|
+
srcPath: '/metro-inspector',
|
|
19
|
+
destPath: '',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
_: [
|
|
23
|
+
{
|
|
24
|
+
srcPath: '/metro-inspector',
|
|
25
|
+
destPath: '/api',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
srcPath: '/_api/metro-inspector',
|
|
29
|
+
destPath: '/api',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
'www._base_domain_': [
|
|
33
|
+
{
|
|
34
|
+
srcPath: '/metro-inspector',
|
|
35
|
+
destPath: '/api',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
'manage._base_domain_': [
|
|
39
|
+
{
|
|
40
|
+
srcPath: '/metro-inspector',
|
|
41
|
+
destPath: '',
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
'www.wixgateway.com': [
|
|
45
|
+
{
|
|
46
|
+
srcPath: '/_api/metro-inspector',
|
|
47
|
+
destPath: '/api',
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
};
|
|
51
|
+
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
52
|
+
}
|
|
53
|
+
/** echo given arg1 and arg2 */
|
|
54
|
+
function publicLongEcho(payload) {
|
|
55
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_longMessage, {});
|
|
56
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_longMessage, {});
|
|
57
|
+
function __publicLongEcho({ host }) {
|
|
58
|
+
const serializedData = toReq(payload);
|
|
59
|
+
const metadata = {
|
|
60
|
+
method: 'GET',
|
|
61
|
+
url: resolveWixCoreservicesLongTypesV1LongTypesServiceUrl({
|
|
62
|
+
protoPath: '/v1/public-long',
|
|
63
|
+
data: serializedData,
|
|
64
|
+
host,
|
|
65
|
+
}),
|
|
66
|
+
params: metro_runtime_1.toURLSearchParams(serializedData),
|
|
67
|
+
transformResponse: fromRes,
|
|
68
|
+
};
|
|
69
|
+
return metadata;
|
|
70
|
+
}
|
|
71
|
+
__publicLongEcho.fromReq = fromReq;
|
|
72
|
+
return __publicLongEcho;
|
|
73
|
+
}
|
|
74
|
+
exports.publicLongEcho = publicLongEcho;
|
|
75
|
+
//# sourceMappingURL=metroinspector-v1-long.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.http.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAKhD,MAAM,YAAY,GAAG,EAAE,aAAa,EAAE,0BAA0B,EAAE,CAAC;AAEnE,SAAS,oDAAoD,CAC3D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,MAAM;aACjB;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,MAAM;aACjB;SACF;KACF,CAAC;IAEF,OAAO,0BAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,+BAA+B;AAC/B,SAAgB,cAAc,CAC5B,OAAoB;IAEpB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAC1E,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAE3D,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,KAAY;YACpB,GAAG,EAAE,oDAAoD,CAAC;gBACxD,SAAS,EAAE,iBAAiB;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iCAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAzBD,wCAyBC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
+
import { PublicLongEchoOptions } from './metroinspector-v1-long.universal';
|
|
3
|
+
export declare function publicLongEcho(httpClient: HttpClient): (options?: PublicLongEchoOptions | undefined) => Promise<import("./metroinspector-v1-long.universal").LongMessage>;
|
|
4
|
+
export { LongMessage, PublicLongEchoOptions, } from './metroinspector-v1-long.universal';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.publicLongEcho = void 0;
|
|
4
|
+
const metroinspector_v1_long_universal_1 = require("./metroinspector-v1-long.universal");
|
|
5
|
+
function publicLongEcho(httpClient) {
|
|
6
|
+
return (options) => metroinspector_v1_long_universal_1.publicLongEcho(options,
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
{ httpClient });
|
|
9
|
+
}
|
|
10
|
+
exports.publicLongEcho = publicLongEcho;
|
|
11
|
+
//# sourceMappingURL=metroinspector-v1-long.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.public.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.public.ts"],"names":[],"mappings":";;;AACA,yFAG4C;AAE5C,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAA+B,EAAE,EAAE,CACzC,iDAAuB,CACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wCAOC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador';
|
|
2
|
+
export interface LongMessage {
|
|
3
|
+
int64Field?: string;
|
|
4
|
+
uint64Field?: string;
|
|
5
|
+
int64ValueField?: string | null;
|
|
6
|
+
uint64ValueField?: string | null;
|
|
7
|
+
sint64Field?: string;
|
|
8
|
+
sfixed64Field?: string;
|
|
9
|
+
fixed64Field?: string;
|
|
10
|
+
durationField?: GoogleProtoDuration;
|
|
11
|
+
id?: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.types.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const __debug: {
|
|
2
|
+
verboseLogging: {
|
|
3
|
+
on: () => boolean;
|
|
4
|
+
off: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export interface LongMessage {
|
|
8
|
+
int64Field?: string;
|
|
9
|
+
uint64Field?: string;
|
|
10
|
+
int64ValueField?: string | null;
|
|
11
|
+
uint64ValueField?: string | null;
|
|
12
|
+
sint64Field?: string;
|
|
13
|
+
sfixed64Field?: string;
|
|
14
|
+
fixed64Field?: string;
|
|
15
|
+
durationField?: GoogleProtoDuration;
|
|
16
|
+
_id?: string | null;
|
|
17
|
+
}
|
|
18
|
+
declare type GoogleProtoDuration = any;
|
|
19
|
+
/**
|
|
20
|
+
* echo given arg1 and arg2
|
|
21
|
+
* @public */
|
|
22
|
+
export declare function publicLongEcho(options?: PublicLongEchoOptions): Promise<LongMessage>;
|
|
23
|
+
export interface PublicLongEchoOptions {
|
|
24
|
+
int64Field?: string;
|
|
25
|
+
uint64Field?: string;
|
|
26
|
+
int64ValueField?: string | null;
|
|
27
|
+
uint64ValueField?: string | null;
|
|
28
|
+
sint64Field?: string;
|
|
29
|
+
sfixed64Field?: string;
|
|
30
|
+
fixed64Field?: string;
|
|
31
|
+
durationField?: GoogleProtoDuration;
|
|
32
|
+
_id?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.publicLongEcho = exports.__debug = void 0;
|
|
32
|
+
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
|
+
const ambassadorWixMetroinspectorV1Long = __importStar(require("./metroinspector-v1-long.http"));
|
|
34
|
+
let __verbose = false;
|
|
35
|
+
function __log(...args) {
|
|
36
|
+
__verbose && console.log(...args);
|
|
37
|
+
}
|
|
38
|
+
function __inspect(obj) {
|
|
39
|
+
return obj;
|
|
40
|
+
}
|
|
41
|
+
exports.__debug = {
|
|
42
|
+
verboseLogging: {
|
|
43
|
+
on: () => (__verbose = true),
|
|
44
|
+
off: () => (__verbose = false),
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
const _toVeloEntity = '$';
|
|
48
|
+
const _fromVeloEntity = '$';
|
|
49
|
+
const _longMessage = {};
|
|
50
|
+
/**
|
|
51
|
+
* echo given arg1 and arg2
|
|
52
|
+
* @public */
|
|
53
|
+
function publicLongEcho(options) {
|
|
54
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
55
|
+
const requestTransformation = {
|
|
56
|
+
int64Field: '$[0].int64Field',
|
|
57
|
+
uint64Field: '$[0].uint64Field',
|
|
58
|
+
int64ValueField: '$[0].int64ValueField',
|
|
59
|
+
uint64ValueField: '$[0].uint64ValueField',
|
|
60
|
+
sint64Field: '$[0].sint64Field',
|
|
61
|
+
sfixed64Field: '$[0].sfixed64Field',
|
|
62
|
+
fixed64Field: '$[0].fixed64Field',
|
|
63
|
+
durationField: '$[0].durationField',
|
|
64
|
+
id: '$[0]._id',
|
|
65
|
+
};
|
|
66
|
+
const responseTransformation = '$';
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
const httpClient = arguments[1].httpClient;
|
|
69
|
+
const { toAmbassadorRequest } = velo_1.serializer({
|
|
70
|
+
rootSchema: _longMessage,
|
|
71
|
+
depSchemas: {},
|
|
72
|
+
fqdnTransformation: {
|
|
73
|
+
paths: [velo_1.RootPath],
|
|
74
|
+
transformation: _fromVeloEntity,
|
|
75
|
+
},
|
|
76
|
+
customTransformation: requestTransformation,
|
|
77
|
+
});
|
|
78
|
+
const { fromJSON } = velo_1.serializer({
|
|
79
|
+
rootSchema: _longMessage,
|
|
80
|
+
depSchemas: {},
|
|
81
|
+
fqdnTransformation: {
|
|
82
|
+
paths: [velo_1.RootPath],
|
|
83
|
+
transformation: _toVeloEntity,
|
|
84
|
+
},
|
|
85
|
+
customTransformation: responseTransformation,
|
|
86
|
+
});
|
|
87
|
+
const payload = toAmbassadorRequest([options]);
|
|
88
|
+
const reqOpts = ambassadorWixMetroinspectorV1Long.publicLongEcho(payload);
|
|
89
|
+
__log(`"PublicLongEcho" sending request with: ${__inspect(reqOpts)}`);
|
|
90
|
+
try {
|
|
91
|
+
const { data } = yield httpClient.request(reqOpts);
|
|
92
|
+
return fromJSON(data);
|
|
93
|
+
}
|
|
94
|
+
catch (err) {
|
|
95
|
+
const transformedError = velo_1.transformError(err, requestTransformation, [
|
|
96
|
+
'options',
|
|
97
|
+
]);
|
|
98
|
+
throw transformedError;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
exports.publicLongEcho = publicLongEcho;
|
|
103
|
+
//# sourceMappingURL=metroinspector-v1-long.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.universal.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA+E;AAE/E,iGAAmF;AAEnF,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAc5B,MAAM,YAAY,GAAG,EAAE,CAAC;AAIxB;;aAEa;AACb,SAAsB,cAAc,CAClC,OAA+B;;QAE/B,MAAM,qBAAqB,GAAG;YAC5B,UAAU,EAAE,iBAAiB;YAC7B,WAAW,EAAE,kBAAkB;YAC/B,eAAe,EAAE,sBAAsB;YACvC,gBAAgB,EAAE,uBAAuB;YAC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C;SACxB;IACH,CAAC;CAAA;AAxDD,wCAwDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as echo from './src/metroinspector-v1-long.public';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { toURLSearchParams } from '@wix/metro-runtime';
|
|
2
|
+
import { serializer } from '@wix/metro-runtime/ambassador';
|
|
3
|
+
import { resolveUrl } from '@wix/metro-runtime';
|
|
4
|
+
const _longMessage = { durationField: 'google.protobuf.Duration' };
|
|
5
|
+
function resolveWixCoreservicesLongTypesV1LongTypesServiceUrl(opts) {
|
|
6
|
+
const domainToMappings = {
|
|
7
|
+
'apps._base_domain_': [
|
|
8
|
+
{
|
|
9
|
+
srcPath: '/_api/metro-inspector',
|
|
10
|
+
destPath: '/api',
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
'api._api_base_domain_': [
|
|
14
|
+
{
|
|
15
|
+
srcPath: '/metro-inspector',
|
|
16
|
+
destPath: '',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
_: [
|
|
20
|
+
{
|
|
21
|
+
srcPath: '/metro-inspector',
|
|
22
|
+
destPath: '/api',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
srcPath: '/_api/metro-inspector',
|
|
26
|
+
destPath: '/api',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
'www._base_domain_': [
|
|
30
|
+
{
|
|
31
|
+
srcPath: '/metro-inspector',
|
|
32
|
+
destPath: '/api',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
'manage._base_domain_': [
|
|
36
|
+
{
|
|
37
|
+
srcPath: '/metro-inspector',
|
|
38
|
+
destPath: '',
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
'www.wixgateway.com': [
|
|
42
|
+
{
|
|
43
|
+
srcPath: '/_api/metro-inspector',
|
|
44
|
+
destPath: '/api',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
49
|
+
}
|
|
50
|
+
/** echo given arg1 and arg2 */
|
|
51
|
+
export function publicLongEcho(payload) {
|
|
52
|
+
const { toJSON: toReq, fromJSON: fromReq } = serializer(_longMessage, {});
|
|
53
|
+
const { fromJSON: fromRes } = serializer(_longMessage, {});
|
|
54
|
+
function __publicLongEcho({ host }) {
|
|
55
|
+
const serializedData = toReq(payload);
|
|
56
|
+
const metadata = {
|
|
57
|
+
method: 'GET',
|
|
58
|
+
url: resolveWixCoreservicesLongTypesV1LongTypesServiceUrl({
|
|
59
|
+
protoPath: '/v1/public-long',
|
|
60
|
+
data: serializedData,
|
|
61
|
+
host,
|
|
62
|
+
}),
|
|
63
|
+
params: toURLSearchParams(serializedData),
|
|
64
|
+
transformResponse: fromRes,
|
|
65
|
+
};
|
|
66
|
+
return metadata;
|
|
67
|
+
}
|
|
68
|
+
__publicLongEcho.fromReq = fromReq;
|
|
69
|
+
return __publicLongEcho;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=metroinspector-v1-long.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.http.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,MAAM,YAAY,GAAG,EAAE,aAAa,EAAE,0BAA0B,EAAE,CAAC;AAEnE,SAAS,oDAAoD,CAC3D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,oBAAoB,EAAE;YACp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E,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
+
import { PublicLongEchoOptions } from './metroinspector-v1-long.universal';
|
|
3
|
+
export declare function publicLongEcho(httpClient: HttpClient): (options?: PublicLongEchoOptions | undefined) => Promise<import("./metroinspector-v1-long.universal").LongMessage>;
|
|
4
|
+
export { LongMessage, PublicLongEchoOptions, } from './metroinspector-v1-long.universal';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { publicLongEcho as universalPublicLongEcho, } from './metroinspector-v1-long.universal';
|
|
2
|
+
export function publicLongEcho(httpClient) {
|
|
3
|
+
return (options) => universalPublicLongEcho(options,
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
{ httpClient });
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=metroinspector-v1-long.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.public.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,IAAI,uBAAuB,GAE1C,MAAM,oCAAoC,CAAC;AAE5C,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAA+B,EAAE,EAAE,CACzC,uBAAuB,CACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador';
|
|
2
|
+
export interface LongMessage {
|
|
3
|
+
int64Field?: string;
|
|
4
|
+
uint64Field?: string;
|
|
5
|
+
int64ValueField?: string | null;
|
|
6
|
+
uint64ValueField?: string | null;
|
|
7
|
+
sint64Field?: string;
|
|
8
|
+
sfixed64Field?: string;
|
|
9
|
+
fixed64Field?: string;
|
|
10
|
+
durationField?: GoogleProtoDuration;
|
|
11
|
+
id?: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.types.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const __debug: {
|
|
2
|
+
verboseLogging: {
|
|
3
|
+
on: () => boolean;
|
|
4
|
+
off: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export interface LongMessage {
|
|
8
|
+
int64Field?: string;
|
|
9
|
+
uint64Field?: string;
|
|
10
|
+
int64ValueField?: string | null;
|
|
11
|
+
uint64ValueField?: string | null;
|
|
12
|
+
sint64Field?: string;
|
|
13
|
+
sfixed64Field?: string;
|
|
14
|
+
fixed64Field?: string;
|
|
15
|
+
durationField?: GoogleProtoDuration;
|
|
16
|
+
_id?: string | null;
|
|
17
|
+
}
|
|
18
|
+
declare type GoogleProtoDuration = any;
|
|
19
|
+
/**
|
|
20
|
+
* echo given arg1 and arg2
|
|
21
|
+
* @public */
|
|
22
|
+
export declare function publicLongEcho(options?: PublicLongEchoOptions): Promise<LongMessage>;
|
|
23
|
+
export interface PublicLongEchoOptions {
|
|
24
|
+
int64Field?: string;
|
|
25
|
+
uint64Field?: string;
|
|
26
|
+
int64ValueField?: string | null;
|
|
27
|
+
uint64ValueField?: string | null;
|
|
28
|
+
sint64Field?: string;
|
|
29
|
+
sfixed64Field?: string;
|
|
30
|
+
fixed64Field?: string;
|
|
31
|
+
durationField?: GoogleProtoDuration;
|
|
32
|
+
_id?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { serializer, RootPath, transformError } from '@wix/metro-runtime/velo';
|
|
11
|
+
import * as ambassadorWixMetroinspectorV1Long from './metroinspector-v1-long.http';
|
|
12
|
+
let __verbose = false;
|
|
13
|
+
function __log(...args) {
|
|
14
|
+
__verbose && console.log(...args);
|
|
15
|
+
}
|
|
16
|
+
function __inspect(obj) {
|
|
17
|
+
return obj;
|
|
18
|
+
}
|
|
19
|
+
export const __debug = {
|
|
20
|
+
verboseLogging: {
|
|
21
|
+
on: () => (__verbose = true),
|
|
22
|
+
off: () => (__verbose = false),
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
const _toVeloEntity = '$';
|
|
26
|
+
const _fromVeloEntity = '$';
|
|
27
|
+
const _longMessage = {};
|
|
28
|
+
/**
|
|
29
|
+
* echo given arg1 and arg2
|
|
30
|
+
* @public */
|
|
31
|
+
export function publicLongEcho(options) {
|
|
32
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
33
|
+
const requestTransformation = {
|
|
34
|
+
int64Field: '$[0].int64Field',
|
|
35
|
+
uint64Field: '$[0].uint64Field',
|
|
36
|
+
int64ValueField: '$[0].int64ValueField',
|
|
37
|
+
uint64ValueField: '$[0].uint64ValueField',
|
|
38
|
+
sint64Field: '$[0].sint64Field',
|
|
39
|
+
sfixed64Field: '$[0].sfixed64Field',
|
|
40
|
+
fixed64Field: '$[0].fixed64Field',
|
|
41
|
+
durationField: '$[0].durationField',
|
|
42
|
+
id: '$[0]._id',
|
|
43
|
+
};
|
|
44
|
+
const responseTransformation = '$';
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
const httpClient = arguments[1].httpClient;
|
|
47
|
+
const { toAmbassadorRequest } = serializer({
|
|
48
|
+
rootSchema: _longMessage,
|
|
49
|
+
depSchemas: {},
|
|
50
|
+
fqdnTransformation: {
|
|
51
|
+
paths: [RootPath],
|
|
52
|
+
transformation: _fromVeloEntity,
|
|
53
|
+
},
|
|
54
|
+
customTransformation: requestTransformation,
|
|
55
|
+
});
|
|
56
|
+
const { fromJSON } = serializer({
|
|
57
|
+
rootSchema: _longMessage,
|
|
58
|
+
depSchemas: {},
|
|
59
|
+
fqdnTransformation: {
|
|
60
|
+
paths: [RootPath],
|
|
61
|
+
transformation: _toVeloEntity,
|
|
62
|
+
},
|
|
63
|
+
customTransformation: responseTransformation,
|
|
64
|
+
});
|
|
65
|
+
const payload = toAmbassadorRequest([options]);
|
|
66
|
+
const reqOpts = ambassadorWixMetroinspectorV1Long.publicLongEcho(payload);
|
|
67
|
+
__log(`"PublicLongEcho" sending request with: ${__inspect(reqOpts)}`);
|
|
68
|
+
try {
|
|
69
|
+
const { data } = yield httpClient.request(reqOpts);
|
|
70
|
+
return fromJSON(data);
|
|
71
|
+
}
|
|
72
|
+
catch (err) {
|
|
73
|
+
const transformedError = transformError(err, requestTransformation, [
|
|
74
|
+
'options',
|
|
75
|
+
]);
|
|
76
|
+
throw transformedError;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=metroinspector-v1-long.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-long.universal.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-long.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE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e;aAChC;YACD,oBAAoB,EAAE,qBAAqB;SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAC9B,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,QAAQ,CAAC;gBACjB,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GAAG,iCAAiC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAE1E,KAAK,CAAC,0CAA0C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEtE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/core-services-d",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org/",
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"module": "build/es/index.js",
|
|
10
|
+
"main": "build/cjs/index.js",
|
|
11
|
+
"typings": "./build/cjs/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"build",
|
|
14
|
+
"frontend/package.json"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@wix/metro-runtime": "^1.0.0",
|
|
18
|
+
"@wix/sdk-types": "^1.0.0",
|
|
19
|
+
"@wix/motion-edm-autogen-query-wrapper": "^1.0.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@wix/typescript-to-service-json": "^1.0.0"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc -b tsconfig.json tsconfig.esm.json",
|
|
26
|
+
"autodocs": "ts-to-sj",
|
|
27
|
+
"posttest": "npm run autodocs",
|
|
28
|
+
"test": ":"
|
|
29
|
+
},
|
|
30
|
+
"wix": {
|
|
31
|
+
"artifact": {
|
|
32
|
+
"artifactId": "core-services-d-public-sdk-autogen",
|
|
33
|
+
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"falconPackageHash": "8fc4b56b8fdcab1e8792819209f5379e99254a6255e3dc2b30958cdc"
|
|
37
|
+
}
|