{"_id":"@andrzejig/bizconn","_rev":"1-66bfdc106841087c10de1b7781b47292","name":"@andrzejig/bizconn","dist-tags":{"latest":"0.0.1-SNAPSHOT.201808311821"},"versions":{"0.0.1-SNAPSHOT.201808311821":{"name":"@andrzejig/bizconn","version":"0.0.1-SNAPSHOT.201808311821","description":"swagger client for @andrzejig/BizConn","author":{"name":"Swagger Codegen Contributors"},"keywords":["swagger-client"],"license":"Unlicense","main":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"tsc --outDir dist/","postinstall":"npm run build"},"peerDependencies":{"@angular/core":"^5.0.0","@angular/http":"^5.0.0","@angular/common":"^5.0.0","@angular/compiler":"^5.0.0","core-js":"^2.4.0","reflect-metadata":"^0.1.3","rxjs":"^5.4.0","zone.js":"^0.7.6"},"devDependencies":{"@angular/core":"^5.0.0","@angular/http":"^5.0.0","@angular/common":"^5.0.0","@angular/compiler":"^5.0.0","@angular/platform-browser":"^5.0.0","reflect-metadata":"^0.1.3","rxjs":"^5.4.0","zone.js":"^0.7.6","typescript":"^2.1.5"},"dependencies":{},"_id":"@andrzejig/bizconn@0.0.1-SNAPSHOT.201808311821","_npmVersion":"5.3.0","_nodeVersion":"8.11.4","_npmUser":{"name":"andrzejig","email":"andrzej.ignatowicz@gmail.com"},"dist":{"integrity":"sha512-eYNLw4FdmeseUCPf+/N0seiB4OZOM14MqKrGDBJRdbCG6y3YQ6tX4EeDwvssOXQcUigzvR+ygxN9vPDLUW/jOg==","shasum":"67557dfb8f4b8ad8e574653451bab3c26823f1b0","tarball":"https://registry.npmjs.org/@andrzejig/bizconn/-/bizconn-0.0.1-SNAPSHOT.201808311821.tgz","fileCount":20,"unpackedSize":45371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbib69CRA9TVsSAnZWagAA+NQP/0T1z/JY4ImuH9l9VSBx\ngO7vtYHkFbi41W+ED53/a9weaoMXGhWJP3CFNHTkcmwGJ5F2OF+h165ydjo4\nYN7kVJT7h9Yb5HWNplg8Nel+U6vz8nPu112eEWIZQ6GsJ80usejTOx9UnOAM\n78raTmXJtdMDHWzD361Ig/xteg8BMsHCUziN+WpSYoZosl6FYmf/XlLsOfrP\nzFMl4/ID+MNG+Ghz3cAtr7c+O/400dgXKvdSmjM54HeJvdaliFbGSyxnhHqK\nMsF8eWO0dS0QKGttXerf9KoPBRQMX3a8jN1lWHImcZu0PuJ5jRvz6eCp/+Mc\nsda0HfmFp0uCWXdV1FxdCUbnq8ipkxBNTMzKXSzzpisCdPdqVBHl5EOmSCFk\nTxIORieXBXKcsGq1KJFGmNGDRqd637z7p64u+oXDznqkZWDGkguo9EK6Kz7x\nGonxVMgaoehdeibesjx00S/YnZ2enW37HdtsSA751veErBBHS5wc0K6pVtrY\norc1A2Qrz44s89eQwVTO+jv0x4MEFj51VF6C2IFsQkbDksWiZ+U3oGQ9HwDW\nTZ94CX31eSAYPI2wZw5Q3gkOuNFXAecCf1tvq5MaBX53+ipqDAmBCAIbGhfl\nAleTBHsyhGoh9rrVJrKcNt2lj6I0BZc6GSttAwaRFppUj2gCoRqIfA8Ey3Zi\nPQYf\r\n=XKAX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqd0TERNzeNbxZvCtZJ4SLWXbq7jYnh2h7LRL5D524NQIhAPpsbeJ6R36V4mPogiplJXvxziWlwiSrPgTuHj/9aWCt"}]},"maintainers":[{"name":"andrzejig","email":"andrzej.ignatowicz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bizconn_0.0.1-SNAPSHOT.201808311821_1535753917297_0.9047011058625105"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-31T22:18:37.135Z","0.0.1-SNAPSHOT.201808311821":"2018-08-31T22:18:37.430Z","modified":"2022-04-04T14:02:40.752Z"},"maintainers":[{"name":"andrzejig","email":"andrzej.ignatowicz@gmail.com"}],"description":"swagger client for @andrzejig/BizConn","keywords":["swagger-client"],"author":{"name":"Swagger Codegen Contributors"},"license":"Unlicense","readme":"## @andrzejig/BizConn@0.0.1-SNAPSHOT.201808311821\n\n### Building\n\nTo build an compile the typescript sources to javascript use:\n```\nnpm install\nnpm run build\n```\n\n### publishing\n\nFirst build the package than run ```npm publish```\n\n### consuming\n\nnavigate to the folder of your consuming project and run one of next commando's.\n\n_published:_\n\n```\nnpm install @andrzejig/BizConn@0.0.1-SNAPSHOT.201808311821 --save\n```\n\n_unPublished (not recommended):_\n\n```\nnpm install PATH_TO_GENERATED_PACKAGE --save\n```\n\n_using `npm link`:_\n\nIn PATH_TO_GENERATED_PACKAGE:\n```\nnpm link\n```\n\nIn your project:\n```\nnpm link @andrzejig/BizConn@0.0.1-SNAPSHOT.201808311821\n```\n\nIn your Angular project:\n\n\n```\n// without configuring providers\nimport { ApiModule } from '@andrzejig/BizConn';\n\n@NgModule({\n    imports: [ ApiModule ],\n    declarations: [ AppComponent ],\n    providers: [],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n```\n// configuring providers\nimport { ApiModule, Configuration, ConfigurationParameters } from '@andrzejig/BizConn';\n\nexport function apiConfigFactory (): Configuration => {\n  const params: ConfigurationParameters = {\n    // set configuration parameters here.\n  }\n  return new Configuration(params);\n}\n\n@NgModule({\n    imports: [ ApiModule.forRoot(apiConfigFactory) ],\n    declarations: [ AppComponent ],\n    providers: [],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n```\nimport { DefaultApi } from '@andrzejig/BizConn';\n\nexport class AppComponent {\n\t constructor(private apiGateway: DefaultApi) { }\n}\n```\n\nNote: The ApiModule is restricted to being instantiated once app wide.\nThis is to ensure that all services are treated as singletons.\n\n### Set service base path\nIf different than the generated base path, during app bootstrap, you can provide the base path to your service. \n\n```\nimport { BASE_PATH } from '@andrzejig/BizConn';\n\nbootstrap(AppComponent, [\n    { provide: BASE_PATH, useValue: 'https://your-web-service.com' },\n]);\n```\nor\n\n```\nimport { BASE_PATH } from '@andrzejig/BizConn';\n\n@NgModule({\n    imports: [],\n    declarations: [ AppComponent ],\n    providers: [ provide: BASE_PATH, useValue: 'https://your-web-service.com' ],\n    bootstrap: [ AppComponent ]\n})\nexport class AppModule {}\n```\n\n\n#### Using @angular/cli\nFirst extend your `src/environments/*.ts` files by adding the corresponding base path:\n\n```\nexport const environment = {\n  production: false,\n  API_BASE_PATH: 'http://127.0.0.1:8080'\n};\n```\n\nIn the src/app/app.module.ts:\n```\nimport { BASE_PATH } from '@andrzejig/BizConn';\nimport { environment } from '../environments/environment';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [ ],\n  providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],\n  bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n```  ","readmeFilename":"README.md"}