New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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-vaclavbohac-init-2017-10-12T09-14-57-082Z to 0.0.1-vaclavbohac-init-2017-10-16T10-05-34-995Z

42

dist/index.d.ts

@@ -12,3 +12,3 @@ export declare namespace AFM {

filters?: CompatibilityFilter[];
nativeTotals?: ITotalItem[];
nativeTotals?: INativeTotalItem[];
}

@@ -18,3 +18,2 @@ interface ITransformation {

dimensions?: IDimension[];
totals?: ITotalItem[];
sorts?: SortItem[];

@@ -47,3 +46,11 @@ }

}
type MeasureAggregation = 'sum' | 'count' | 'avg' | 'min' | 'max' | 'median' | 'runsum';
enum MeasureAggregation {
Sum = "sum",
Count = "count",
Avg = "avg",
Min = "min",
Max = "max",
Median = "median",
Runsum = "runsum",
}
type Identifier = string;

@@ -93,5 +100,10 @@ type ObjQualifier = IObjUriQualifier | IObjIdentifierQualifier;

measureIdentifiler: Identifier;
type: any;
type: TotalType;
attributeIdentifiers: Identifier[];
}
type TotalType = 'sum' | 'avg' | 'max' | 'min' | 'nat' | 'med';
interface INativeTotalItem {
measureIdentifier: Identifier;
attributeIdentifiers: Identifier[];
}
interface IMeasureDescription {

@@ -105,2 +117,3 @@ measureIdentifier: Identifier;

itemIdentifiers: Identifier[];
totals?: ITotalItem[];
}

@@ -143,23 +156,18 @@ type SortItem = IAttributeSortItem | IMeasureSortItem;

}
interface ILabel<T> {
interface ILabel {
id: string;
value: string;
type: T;
type: LabelType;
}
interface IMetricHeader {
type: HeaderType.METRIC;
uri: "metricGroup";
name: "metric";
labels: ILabel<LabelType.METRIC>[];
}
interface IAttributeHeader {
type: HeaderType.ATTRIBUTE;
const METRIC_HEADER_URI = "metricGroup";
const METRIC_HEADER_NAME = "metric";
interface IHeader {
type: HeaderType;
uri: string;
name: string;
labels: ILabel<LabelType.ELEMENT>[];
labels: ILabel[];
}
type Header = IMetricHeader | IAttributeHeader;
interface IDimension {
name: string;
headers: Header[];
headers: IHeader[];
}

@@ -166,0 +174,0 @@ interface ITransformationResponse {

"use strict";
exports.__esModule = true;
var AFM;
(function (AFM) {
var MeasureAggregation;
(function (MeasureAggregation) {
MeasureAggregation["Sum"] = "sum";
MeasureAggregation["Count"] = "count";
MeasureAggregation["Avg"] = "avg";
MeasureAggregation["Min"] = "min";
MeasureAggregation["Max"] = "max";
MeasureAggregation["Median"] = "median";
MeasureAggregation["Runsum"] = "runsum";
})(MeasureAggregation = AFM.MeasureAggregation || (AFM.MeasureAggregation = {}));
})(AFM = exports.AFM || (exports.AFM = {}));
var Execution;

@@ -15,3 +28,5 @@ (function (Execution) {

})(LabelType = Execution.LabelType || (Execution.LabelType = {}));
Execution.METRIC_HEADER_URI = 'metricGroup';
Execution.METRIC_HEADER_NAME = 'metric';
})(Execution = exports.Execution || (exports.Execution = {}));
//# sourceMappingURL=index.js.map

@@ -13,3 +13,3 @@ export namespace AFM {

filters?: CompatibilityFilter[];
nativeTotals?: ITotalItem[];
nativeTotals?: INativeTotalItem[];
}

@@ -20,3 +20,2 @@

dimensions?: IDimension[];
totals?: ITotalItem[];
sorts?: SortItem[];

@@ -57,3 +56,11 @@ }

export type MeasureAggregation = 'sum' | 'count' | 'avg' | 'min' | 'max' | 'median' | 'runsum';
export enum MeasureAggregation {
Sum = 'sum',
Count = 'count',
Avg = 'avg',
Min = 'min',
Max = 'max',
Median = 'median',
Runsum = 'runsum'
}

@@ -116,6 +123,13 @@ // ObjQualifier type

measureIdentifiler: Identifier;
type: any; // TODO TotalType there is no definition of TotalType... should be clarified
type: TotalType;
attributeIdentifiers: Identifier[];
}
export type TotalType = 'sum' | 'avg' | 'max' | 'min' | 'nat' | 'med';
export interface INativeTotalItem {
measureIdentifier: Identifier;
attributeIdentifiers: Identifier[];
}
// TRANSFORMATION definition

@@ -131,2 +145,3 @@ export interface IMeasureDescription {

itemIdentifiers: Identifier[];
totals?: ITotalItem[];
}

@@ -178,27 +193,21 @@

export interface ILabel<T> {
export interface ILabel {
id: string;
value: string;
type: T;
type: LabelType;
}
export interface IMetricHeader {
type: HeaderType.METRIC;
uri: "metricGroup";
name: "metric";
labels: ILabel<LabelType.METRIC>[];
}
export const METRIC_HEADER_URI = 'metricGroup';
export const METRIC_HEADER_NAME = 'metric';
export interface IAttributeHeader {
type: HeaderType.ATTRIBUTE,
export interface IHeader {
type: HeaderType;
uri: string;
name: string;
labels: ILabel<LabelType.ELEMENT>[];
labels: ILabel[];
}
export type Header = IMetricHeader | IAttributeHeader;
export interface IDimension {
name: string;
headers: Header[];
headers: IHeader[];
}

@@ -205,0 +214,0 @@

{
"name": "@gooddata/typings",
"version": "0.0.1-vaclavbohac-init-2017-10-12T09-14-57-082Z",
"version": "0.0.1-vaclavbohac-init-2017-10-16T10-05-34-995Z",
"description": "TypeScript definition files for GoodData platform",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

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