@xylabs/api
Advanced tools
Comparing version 2.9.1 to 2.9.2
{ | ||
"id": 0, | ||
"name": "@xylabs/api", | ||
"variant": "project", | ||
"kind": 1, | ||
"kindString": "Project", | ||
"flags": {}, | ||
"originalName": "", | ||
"children": [ | ||
@@ -12,4 +11,4 @@ { | ||
"name": "ApiStage", | ||
"variant": "declaration", | ||
"kind": 8, | ||
"kindString": "Enumeration", | ||
"flags": {}, | ||
@@ -20,4 +19,4 @@ "children": [ | ||
"name": "Beta", | ||
"variant": "declaration", | ||
"kind": 16, | ||
"kindString": "Enumeration Member", | ||
"flags": {}, | ||
@@ -29,3 +28,3 @@ "sources": [ | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiStage.ts#L2" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiStage.ts#L2" | ||
} | ||
@@ -41,4 +40,4 @@ ], | ||
"name": "Local", | ||
"variant": "declaration", | ||
"kind": 16, | ||
"kindString": "Enumeration Member", | ||
"flags": {}, | ||
@@ -50,3 +49,3 @@ "sources": [ | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiStage.ts#L3" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiStage.ts#L3" | ||
} | ||
@@ -62,4 +61,4 @@ ], | ||
"name": "Prod", | ||
"variant": "declaration", | ||
"kind": 16, | ||
"kindString": "Enumeration Member", | ||
"flags": {}, | ||
@@ -71,3 +70,3 @@ "sources": [ | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiStage.ts#L4" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiStage.ts#L4" | ||
} | ||
@@ -96,3 +95,3 @@ ], | ||
"character": 5, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiStage.ts#L1" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiStage.ts#L1" | ||
} | ||
@@ -104,4 +103,4 @@ ] | ||
"name": "ApiClient", | ||
"variant": "declaration", | ||
"kind": 128, | ||
"kindString": "Class", | ||
"flags": { | ||
@@ -114,4 +113,4 @@ "isAbstract": true | ||
"name": "constructor", | ||
"variant": "declaration", | ||
"kind": 512, | ||
"kindString": "Constructor", | ||
"flags": { | ||
@@ -125,3 +124,3 @@ "isPublic": true | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiClient.ts#L4" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L4" | ||
} | ||
@@ -133,5 +132,13 @@ ], | ||
"name": "new ApiClient", | ||
"variant": "signature", | ||
"kind": 16384, | ||
"kindString": "Constructor signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiClient.ts", | ||
"line": 4, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L4" | ||
} | ||
], | ||
"parameters": [ | ||
@@ -141,4 +148,4 @@ { | ||
"name": "token", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -164,4 +171,4 @@ "isOptional": true | ||
"name": "stage", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -172,4 +179,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 40, | ||
"name": "ApiStage" | ||
"target": 40, | ||
"name": "ApiStage", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -180,4 +188,5 @@ } | ||
"type": "reference", | ||
"id": 1, | ||
"name": "ApiClient" | ||
"target": 1, | ||
"name": "ApiClient", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -190,4 +199,4 @@ } | ||
"name": "stage", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -202,3 +211,3 @@ "isProtected": true, | ||
"character": 64, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiClient.ts#L4" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L4" | ||
} | ||
@@ -208,4 +217,5 @@ ], | ||
"type": "reference", | ||
"id": 40, | ||
"name": "ApiStage" | ||
"target": 40, | ||
"name": "ApiStage", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -216,4 +226,4 @@ }, | ||
"name": "token", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -228,3 +238,3 @@ "isProtected": true, | ||
"character": 31, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiClient.ts#L4" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L4" | ||
} | ||
@@ -249,4 +259,4 @@ ], | ||
"name": "endPoint", | ||
"variant": "declaration", | ||
"kind": 2048, | ||
"kindString": "Method", | ||
"flags": { | ||
@@ -260,3 +270,3 @@ "isAbstract": true | ||
"character": 11, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiClient.ts#L9" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L9" | ||
} | ||
@@ -268,5 +278,13 @@ ], | ||
"name": "endPoint", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiClient.ts", | ||
"line": 9, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L9" | ||
} | ||
], | ||
"type": { | ||
@@ -306,3 +324,3 @@ "type": "intrinsic", | ||
"character": 15, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiClient.ts#L3" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiClient.ts#L3" | ||
} | ||
@@ -314,4 +332,4 @@ ] | ||
"name": "ApiEndpoint", | ||
"variant": "declaration", | ||
"kind": 128, | ||
"kindString": "Class", | ||
"flags": {}, | ||
@@ -322,4 +340,4 @@ "children": [ | ||
"name": "constructor", | ||
"variant": "declaration", | ||
"kind": 512, | ||
"kindString": "Constructor", | ||
"flags": {}, | ||
@@ -331,3 +349,3 @@ "sources": [ | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L10" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L10" | ||
} | ||
@@ -339,5 +357,13 @@ ], | ||
"name": "new ApiEndpoint", | ||
"variant": "signature", | ||
"kind": 16384, | ||
"kindString": "Constructor signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 10, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L10" | ||
} | ||
], | ||
"typeParameter": [ | ||
@@ -347,4 +373,4 @@ { | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -357,9 +383,10 @@ } | ||
"name": "config", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": {}, | ||
"type": { | ||
"type": "reference", | ||
"id": 10, | ||
"name": "ApiConfig" | ||
"target": 10, | ||
"name": "ApiConfig", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -370,4 +397,4 @@ }, | ||
"name": "path", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": {}, | ||
@@ -382,11 +409,13 @@ "type": { | ||
"type": "reference", | ||
"id": 15, | ||
"target": 15, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "ApiEndpoint" | ||
"name": "ApiEndpoint", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -399,4 +428,4 @@ } | ||
"name": "_value", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -411,3 +440,3 @@ "isPrivate": true, | ||
"character": 10, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L6" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L6" | ||
} | ||
@@ -417,4 +446,5 @@ ], | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -425,4 +455,4 @@ }, | ||
"name": "config", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -436,3 +466,3 @@ "isPrivate": true | ||
"character": 10, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L7" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L7" | ||
} | ||
@@ -442,4 +472,5 @@ ], | ||
"type": "reference", | ||
"id": 10, | ||
"name": "ApiConfig" | ||
"target": 10, | ||
"name": "ApiConfig", | ||
"package": "@xylabs/api" | ||
} | ||
@@ -450,4 +481,4 @@ }, | ||
"name": "path", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -461,3 +492,3 @@ "isPrivate": true | ||
"character": 10, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L8" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L8" | ||
} | ||
@@ -473,4 +504,4 @@ ], | ||
"name": "headers", | ||
"variant": "declaration", | ||
"kind": 262144, | ||
"kindString": "Accessor", | ||
"flags": { | ||
@@ -484,3 +515,3 @@ "isPrivate": true | ||
"character": 14, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L19" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L19" | ||
} | ||
@@ -491,5 +522,13 @@ ], | ||
"name": "headers", | ||
"variant": "signature", | ||
"kind": 524288, | ||
"kindString": "Get signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 19, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L19" | ||
} | ||
], | ||
"type": { | ||
@@ -507,4 +546,4 @@ "type": "union", | ||
"name": "__type", | ||
"variant": "declaration", | ||
"kind": 65536, | ||
"kindString": "Type literal", | ||
"flags": {}, | ||
@@ -515,4 +554,4 @@ "children": [ | ||
"name": "Authorization", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": {}, | ||
@@ -524,3 +563,3 @@ "sources": [ | ||
"character": 36, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L20" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L20" | ||
} | ||
@@ -548,3 +587,3 @@ ], | ||
"character": 34, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L20" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L20" | ||
} | ||
@@ -561,4 +600,4 @@ ] | ||
"name": "url", | ||
"variant": "declaration", | ||
"kind": 262144, | ||
"kindString": "Accessor", | ||
"flags": { | ||
@@ -572,3 +611,3 @@ "isPrivate": true | ||
"character": 14, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L23" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L23" | ||
} | ||
@@ -579,5 +618,13 @@ ], | ||
"name": "url", | ||
"variant": "signature", | ||
"kind": 524288, | ||
"kindString": "Get signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 23, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L23" | ||
} | ||
], | ||
"type": { | ||
@@ -592,4 +639,4 @@ "type": "intrinsic", | ||
"name": "value", | ||
"variant": "declaration", | ||
"kind": 262144, | ||
"kindString": "Accessor", | ||
"flags": { | ||
@@ -603,3 +650,3 @@ "isPublic": true | ||
"character": 13, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L15" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L15" | ||
} | ||
@@ -610,5 +657,13 @@ ], | ||
"name": "value", | ||
"variant": "signature", | ||
"kind": 524288, | ||
"kindString": "Get signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 15, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L15" | ||
} | ||
], | ||
"type": { | ||
@@ -623,4 +678,5 @@ "type": "union", | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -634,4 +690,4 @@ ] | ||
"name": "fetch", | ||
"variant": "declaration", | ||
"kind": 2048, | ||
"kindString": "Method", | ||
"flags": { | ||
@@ -645,3 +701,3 @@ "isPublic": true | ||
"character": 15, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L27" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L27" | ||
} | ||
@@ -653,16 +709,28 @@ ], | ||
"name": "fetch", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 27, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L27" | ||
} | ||
], | ||
"type": { | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "Promise" | ||
}, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "Promise", | ||
"qualifiedName": "Promise", | ||
"package": "typescript" | ||
@@ -676,4 +744,4 @@ } | ||
"name": "get", | ||
"variant": "declaration", | ||
"kind": 2048, | ||
"kindString": "Method", | ||
"flags": { | ||
@@ -687,3 +755,3 @@ "isPublic": true | ||
"character": 15, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L37" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L37" | ||
} | ||
@@ -695,7 +763,19 @@ ], | ||
"name": "get", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 37, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L37" | ||
} | ||
], | ||
"type": { | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "Promise" | ||
}, | ||
"typeArguments": [ | ||
@@ -707,16 +787,21 @@ { | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
}, | ||
{ | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "NonNullable" | ||
}, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "NonNullable", | ||
"qualifiedName": "NonNullable", | ||
"package": "typescript" | ||
@@ -728,3 +813,2 @@ } | ||
"name": "Promise", | ||
"qualifiedName": "Promise", | ||
"package": "typescript" | ||
@@ -738,4 +822,4 @@ } | ||
"name": "insert", | ||
"variant": "declaration", | ||
"kind": 2048, | ||
"kindString": "Method", | ||
"flags": { | ||
@@ -749,3 +833,3 @@ "isPublic": true | ||
"character": 15, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L41" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L41" | ||
} | ||
@@ -757,5 +841,13 @@ ], | ||
"name": "insert", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "ApiEndpoint.ts", | ||
"line": 41, | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L41" | ||
} | ||
], | ||
"parameters": [ | ||
@@ -765,9 +857,10 @@ { | ||
"name": "value", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": {}, | ||
"type": { | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -778,11 +871,15 @@ } | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "Promise" | ||
}, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "Promise", | ||
"qualifiedName": "Promise", | ||
"package": "typescript" | ||
@@ -831,3 +928,3 @@ } | ||
"character": 6, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiEndpoint.ts#L5" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiEndpoint.ts#L5" | ||
} | ||
@@ -839,4 +936,4 @@ ], | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -849,4 +946,4 @@ } | ||
"name": "ApiConfig", | ||
"variant": "declaration", | ||
"kind": 256, | ||
"kindString": "Interface", | ||
"flags": {}, | ||
@@ -857,4 +954,4 @@ "children": [ | ||
"name": "apiDomain", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": {}, | ||
@@ -866,3 +963,3 @@ "sources": [ | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiConfig.ts#L2" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiConfig.ts#L2" | ||
} | ||
@@ -878,4 +975,4 @@ ], | ||
"name": "apiKey", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -889,3 +986,3 @@ "isOptional": true | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiConfig.ts#L3" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiConfig.ts#L3" | ||
} | ||
@@ -901,4 +998,4 @@ ], | ||
"name": "jwtToken", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -912,3 +1009,3 @@ "isOptional": true | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiConfig.ts#L4" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiConfig.ts#L4" | ||
} | ||
@@ -924,4 +1021,4 @@ ], | ||
"name": "userid", | ||
"variant": "declaration", | ||
"kind": 1024, | ||
"kindString": "Property", | ||
"flags": { | ||
@@ -935,3 +1032,3 @@ "isOptional": true | ||
"character": 2, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiConfig.ts#L5" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiConfig.ts#L5" | ||
} | ||
@@ -961,3 +1058,3 @@ ], | ||
"character": 10, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/ApiConfig.ts#L1" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/ApiConfig.ts#L1" | ||
} | ||
@@ -969,4 +1066,4 @@ ] | ||
"name": "getApiStage", | ||
"variant": "declaration", | ||
"kind": 64, | ||
"kindString": "Function", | ||
"flags": {}, | ||
@@ -978,3 +1075,3 @@ "sources": [ | ||
"character": 6, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/getApiStage.ts#L3" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/getApiStage.ts#L3" | ||
} | ||
@@ -986,5 +1083,13 @@ ], | ||
"name": "getApiStage", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "getApiStage.ts", | ||
"line": 3, | ||
"character": 20, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/api/src/getApiStage.ts#L3" | ||
} | ||
], | ||
"parameters": [ | ||
@@ -994,4 +1099,4 @@ { | ||
"name": "hostname", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": {}, | ||
@@ -1006,3 +1111,5 @@ "type": { | ||
"type": "reference", | ||
"name": "ApiStage" | ||
"target": -1, | ||
"name": "ApiStage", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -1040,10 +1147,215 @@ } | ||
], | ||
"sources": [ | ||
"packageName": "@xylabs/api", | ||
"readme": [ | ||
{ | ||
"fileName": "index.ts", | ||
"line": 1, | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/api/src/index.ts#L1" | ||
"kind": "text", | ||
"text": "[![logo][]](https://xylabs.com)\n\n# @xylabs/sdk-js\n\n[![main-build][]][main-build-link]\n[![beta-build][]][beta-build-link]\n[![npm-badge][]][npm-link]\n[![bch-badge][]][bch-link]\n[![codacy-badge][]][codacy-link]\n[![codeclimate-badge][]][codeclimate-link]\n[![snyk-badge][]][snyk-link]\n\n## Table of Contents\n\n- [Description](#description)\n- [Install](#install)\n- [Scripts](#scripts)\n- [Maintainers](#maintainers)\n- [License](#license)\n- [Credits](#credits)\n\n## Description\n\nSDK for base code for Typescript and Javascript Libraries.\n\n## Install\n\nUsing npm:\n\n" | ||
}, | ||
{ | ||
"kind": "code", | ||
"text": "```sh\nnpm i --save @xylabs/sdk-js\n```" | ||
}, | ||
{ | ||
"kind": "text", | ||
"text": "\n\nUsing yarn:\n\n" | ||
}, | ||
{ | ||
"kind": "code", | ||
"text": "```sh\nyarn add @xylabs/sdk-js\n```" | ||
}, | ||
{ | ||
"kind": "text", | ||
"text": "\n\n## Scripts\n\nSee [ts-scripts](https://github.com/xylabs/ts-scripts/blob/main/README.md)\nfor list of shared scripts.\n\n## Maintainers\n\n- [Arie Trouw](https://github.com/arietrouw) (<https://arietrouw.com>)\n\n## License\n\nSee the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)\n\n[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg\n[main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml/badge.svg\n[main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml\n[beta-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml/badge.svg\n[beta-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml\n[npm-badge]: https://img.shields.io/npm/v/@xylabs/sdk-js.svg\n[npm-link]: https://www.npmjs.com/package/@xylabs/sdk-js\n[bch-badge]: https://bettercodehub.com/edge/badge/xylabs/sdk-js?branch=main\n[bch-link]: https://bettercodehub.com/results/xylabs/sdk-js\n[codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698\n[codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade\n[codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability\n[codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability\n[snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json\n[snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json" | ||
} | ||
] | ||
], | ||
"symbolIdMap": { | ||
"0": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "" | ||
}, | ||
"1": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient" | ||
}, | ||
"2": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient.__constructor" | ||
}, | ||
"3": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient" | ||
}, | ||
"4": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "token" | ||
}, | ||
"5": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "stage" | ||
}, | ||
"6": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient.token" | ||
}, | ||
"7": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient.stage" | ||
}, | ||
"8": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient.endPoint" | ||
}, | ||
"9": { | ||
"sourceFileName": "src/ApiClient.ts", | ||
"qualifiedName": "ApiClient.endPoint" | ||
}, | ||
"10": { | ||
"sourceFileName": "src/ApiConfig.ts", | ||
"qualifiedName": "ApiConfig" | ||
}, | ||
"11": { | ||
"sourceFileName": "src/ApiConfig.ts", | ||
"qualifiedName": "ApiConfig.apiDomain" | ||
}, | ||
"12": { | ||
"sourceFileName": "src/ApiConfig.ts", | ||
"qualifiedName": "ApiConfig.apiKey" | ||
}, | ||
"13": { | ||
"sourceFileName": "src/ApiConfig.ts", | ||
"qualifiedName": "ApiConfig.jwtToken" | ||
}, | ||
"14": { | ||
"sourceFileName": "src/ApiConfig.ts", | ||
"qualifiedName": "ApiConfig.userid" | ||
}, | ||
"15": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint" | ||
}, | ||
"16": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.__constructor" | ||
}, | ||
"17": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint" | ||
}, | ||
"18": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.T" | ||
}, | ||
"19": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "config" | ||
}, | ||
"20": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "path" | ||
}, | ||
"21": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint._value" | ||
}, | ||
"22": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.config" | ||
}, | ||
"23": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.path" | ||
}, | ||
"24": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.value" | ||
}, | ||
"25": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.value" | ||
}, | ||
"26": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.headers" | ||
}, | ||
"27": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.headers" | ||
}, | ||
"28": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "__object" | ||
}, | ||
"29": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "__object.Authorization" | ||
}, | ||
"30": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.url" | ||
}, | ||
"31": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.url" | ||
}, | ||
"32": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.fetch" | ||
}, | ||
"33": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.fetch" | ||
}, | ||
"34": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.get" | ||
}, | ||
"35": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.get" | ||
}, | ||
"36": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.insert" | ||
}, | ||
"37": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.insert" | ||
}, | ||
"38": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "value" | ||
}, | ||
"39": { | ||
"sourceFileName": "src/ApiEndpoint.ts", | ||
"qualifiedName": "ApiEndpoint.T" | ||
}, | ||
"40": { | ||
"sourceFileName": "src/ApiStage.ts", | ||
"qualifiedName": "ApiStage" | ||
}, | ||
"41": { | ||
"sourceFileName": "src/ApiStage.ts", | ||
"qualifiedName": "ApiStage.Beta" | ||
}, | ||
"42": { | ||
"sourceFileName": "src/ApiStage.ts", | ||
"qualifiedName": "ApiStage.Local" | ||
}, | ||
"43": { | ||
"sourceFileName": "src/ApiStage.ts", | ||
"qualifiedName": "ApiStage.Prod" | ||
}, | ||
"44": { | ||
"sourceFileName": "src/getApiStage.ts", | ||
"qualifiedName": "getApiStage" | ||
}, | ||
"45": { | ||
"sourceFileName": "src/getApiStage.ts", | ||
"qualifiedName": "getApiStage" | ||
}, | ||
"46": { | ||
"sourceFileName": "src/getApiStage.ts", | ||
"qualifiedName": "hostname" | ||
} | ||
} | ||
} |
@@ -50,5 +50,5 @@ { | ||
"devDependencies": { | ||
"@xylabs/eslint-config": "2.17.13", | ||
"@xylabs/ts-scripts-yarn3": "^2.17.13", | ||
"eslint": "^8.42.0" | ||
"@xylabs/eslint-config": "2.17.17", | ||
"@xylabs/ts-scripts-yarn3": "^2.17.17", | ||
"eslint": "^8.43.0" | ||
}, | ||
@@ -63,4 +63,4 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"version": "2.9.1", | ||
"version": "2.9.2", | ||
"packageManager": "yarn@3.3.1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247511
57
3106