Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gooddata/typings

Package Overview
Dependencies
Maintainers
36
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gooddata/typings - npm Package Compare versions

Comparing version 0.0.1-martin.mosko-mms-bb-343-2017-10-27T08-05-44-132Z to 0.0.1-vaclavbohac-error-as-exception-2017-11-09T09-35-54-536Z

LICENSE

31

dist/index.d.ts

@@ -98,3 +98,2 @@ export declare namespace AFM {

interface IDimension {
name: string;
itemIdentifiers: Identifier[];

@@ -158,3 +157,2 @@ totals?: ITotalItem[];

uri: string;
identifier: string;
name: string;

@@ -169,3 +167,2 @@ };

name: string;
items: IAttributeHeaderItem[];
totalItems?: ITotalHeaderItem[];

@@ -176,5 +173,3 @@ };

interface IResultDimension {
name: string;
headers: Header[];
totalData?: any;
}

@@ -184,3 +179,3 @@ interface IExecutionResponse {

links: {
uri: string;
executionResult: string;
};

@@ -190,11 +185,29 @@ dimensions: IResultDimension[];

}
type DataValue = null | string | number;
interface IExecutionResult {
executionResult: {
data: string[][] | string[];
attributeHeaderItems?: IAttributeHeaderItem[][][];
data: DataValue[][] | DataValue[];
totals?: DataValue[][][];
paging: {
count: number[];
offset: number[];
total: number[];
};
};
}
interface IExecution {
interface IError extends Error {
response: {
status: number;
};
}
/**
* Combination of both AFM executions responses
*
* `null` value as executionResult means empty response (HTTP 204)
*/
interface IExecutionResponses {
executionResponse: IExecutionResponse;
executionResult: IExecutionResult;
executionResult: IExecutionResult | null;
}
}

@@ -122,3 +122,2 @@ export namespace AFM {

export interface IDimension {
name: string;
itemIdentifiers: Identifier[];

@@ -206,3 +205,2 @@ totals?: ITotalItem[];

uri: string;
identifier: string;
name: string;

@@ -218,3 +216,2 @@ }

name: string;
items: IAttributeHeaderItem[];
totalItems?: ITotalHeaderItem[];

@@ -227,5 +224,3 @@ }

export interface IResultDimension {
name: string;
headers: Header[];
totalData?: any;
}

@@ -236,3 +231,3 @@

links: {
uri: string;
executionResult: string;
};

@@ -243,12 +238,32 @@ dimensions: IResultDimension[];

export type DataValue = null | string | number;
export interface IExecutionResult {
executionResult: {
data: string[][] | string[];
attributeHeaderItems?: IAttributeHeaderItem[][][];
data: DataValue[][] | DataValue[];
totals?: DataValue[][][];
paging: {
count: number[];
offset: number[];
total: number[];
};
}
}
export interface IExecution {
export interface IError extends Error {
response: {
status: number;
};
}
/**
* Combination of both AFM executions responses
*
* `null` value as executionResult means empty response (HTTP 204)
*/
export interface IExecutionResponses {
executionResponse: IExecutionResponse;
executionResult: IExecutionResult;
executionResult: IExecutionResult | null;
}
}
{
"name": "@gooddata/typings",
"version": "0.0.1-martin.mosko-mms-bb-343-2017-10-27T08-05-44-132Z",
"version": "0.0.1-vaclavbohac-error-as-exception-2017-11-09T09-35-54-536Z",
"description": "TypeScript definition files for GoodData platform",

@@ -8,3 +8,4 @@ "typings": "dist/index.d.ts",

"scripts": {
"prepublish": "rm -rf dist && tsc"
"prepublish": "rm -rf dist && tsc",
"dev": "tsc --watch --noEmit"
},

@@ -11,0 +12,0 @@ "files": [

@@ -1,2 +0,46 @@

# gooddata-typings
TypeScript definition files for GoodData platform
# GoodData Typings
> TypeScript interfaces used in UI SDK describing executeAfm API
## Getting started
### Usage
With [yarn](https://yarnpkg.com) installed, go to your project directory and run
```
$ yarn add -D @gooddata/typings
```
If you prefer [npm](npmjs.com) run
```
$ npm install --save-dev @gooddata/typings
```
## Documentation
[Documentation](https://help.gooddata.com/display/bHsp5IhQjuz0e6HS0s76/React+Components)
## Develop
### Running the development
To develop, you need to run the typescript compiler. By running `yarn dev`, the typescript compiler will be run in watch mode.
```sh
$ cd gooddata-typings
$ yarn dev
```
### Deployment
```
git checkout master && git pull upstream master --tags
npm version [major|minor|patch] -m "Release v%s"
npm publish
git push upstream master --tags
```
## Contributing
Report bugs and features on our [issues page](https://github.com/gooddata/gooddata-typings/issues).
## License
Copyright (C) 2007-2017, GoodData(R) Corporation. All rights reserved.
For more information, please see [LICENSE](https://github.com/gooddata/gooddata-typings/blob/master/LICENSE)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc