2 Commits

Author SHA1 Message Date
411516befc 1.0.18 2020-10-19 16:52:38 +00:00
41c2aec293 fix(core): update 2020-10-19 16:52:37 +00:00
3 changed files with 14 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@apiglobal/sdk", "name": "@apiglobal/sdk",
"version": "1.0.17", "version": "1.0.18",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@apiglobal/sdk", "name": "@apiglobal/sdk",
"version": "1.0.17", "version": "1.0.18",
"private": false, "private": false,
"description": "an sdk package for api.global", "description": "an sdk package for api.global",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -1,8 +1,19 @@
export interface IHandlerSettings { export interface IHandlerSettings {
/**
* the slug is a globally unique slug that the package will be answer under
*/
slug: string; slug: string;
/**
* the packagename points to the package to use in the supplied registry
*/
packageName: string; packageName: string;
/**
* environment variables are supplied to the service at runtime
*/
environmentVariables: { [key: string]: string }; environmentVariables: { [key: string]: string };
registryId: string; /**
* this is needed to know where to get the package to run
*/
registryDescriptor: { registryDescriptor: {
registryUrl: string; registryUrl: string;
registryToken: string; registryToken: string;