@narrative.io/data-collaboration-sdk-ts 2.108.0 → 2.108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import type { Schema } from "src/datasets";
2
- import type { CollaboratorsConfig } from "src/types";
1
+ import type { Schema } from "../datasets";
2
+ import type { CollaboratorsConfig } from "../types";
3
3
  export interface AccessRule {
4
4
  id: number;
5
5
  dataset_id?: AccessRuleDatasetId;
@@ -1,5 +1,5 @@
1
- import type { ApiRecords } from "src/types";
2
1
  import { BaseApi } from "../base-api";
2
+ import type { ApiRecords } from "../types";
3
3
  import type { DataPlane, HealthCheckJobResponse } from "./types";
4
4
  export declare class DataPlaneApi extends BaseApi {
5
5
  getDataPlanes(): Promise<ApiRecords<DataPlane>>;
@@ -1,5 +1,5 @@
1
- import type { UnknownJob } from "src/jobs/types";
2
1
  import { BaseApi } from "../base-api";
2
+ import type { UnknownJob } from "../jobs/types";
3
3
  import type { ApiRecords } from "../types";
4
4
  import type { DatasetStatisticsConfiguration, StatisticsConfigurationResponse } from "./statistics-types";
5
5
  import type { AdvancedStatistics, AdvancedStatisticsMetadata, BasicStatistics, ColumnStatistics, ColumnSummary, Columns, Configuration, CreateDatasetRefreshScheduleRequest, CreateDatasetRequest, Dataset, DatasetInterfaceError, DatasetInterfaceRef, DatasetInterfaceValidation, DatasetStatus, DatasetTableSummary, DatasetTableSummaryAPIResponse, DatasetWriteMode, FilePerSnapshotResponse, Histogram, IngestDatasetFileRequest, JsonSchemaValidationNode, RecalculationInfo, RetentionPolicy, RetentionScheduleConfig, RowClock, RowTTLPolicy, Schema, SchemaArrayItems, SchemaArrayItemsArray, SchemaArrayItemsObject, SchemaArrayItemsPrimitive, SchemaArrayProperty, SchemaFileConfig, SchemaFileConfigType, SchemaObjectProperty, SchemaPrimitiveProperty, SchemaProperties, SchemaPropertiesType, SchemaProperty, SnapshotAgeExpression, SnapshotRange, SnapshotTTLPolicy, TableClock, TableClockKind, TableTTLPolicy, TTLPolicy, TTLPolicyKind, UpdateDatasetRefreshScheduleRequest, UpdateDatasetRequest, UpsertRetentionPoliciesRequest, Value } from "./types";
@@ -1,4 +1,4 @@
1
- import type { DataPlane } from "src/data-planes/types";
1
+ import type { DataPlane } from "../data-planes/types";
2
2
  import type { Mapping } from "../mappings/types";
3
3
  export interface Dataset {
4
4
  id: number;
@@ -1,5 +1,5 @@
1
- import type { ApiRecords } from "src/types";
2
1
  import { BaseApi } from "../base-api";
2
+ import type { ApiRecords } from "../types";
3
3
  import type { CreateEncryptionMaterialRequest, DataEncryptionMaterial, UpdateEncryptionMaterialRequest } from "./types";
4
4
  export declare class EncryptionMaterialApi extends BaseApi {
5
5
  /**
@@ -1,6 +1,6 @@
1
- import type { ForecastResult, JobState } from "src/forecast";
2
- import type { DataStreamPurchaseDetails, ForecastDimensions, MarketplaceForecastDetails } from "src/forecast/types";
3
- import type { NqlBudget } from "src/nql/types";
1
+ import type { ForecastResult, JobState } from "../forecast";
2
+ import type { DataStreamPurchaseDetails, ForecastDimensions, MarketplaceForecastDetails } from "../forecast/types";
3
+ import type { NqlBudget } from "../nql/types";
4
4
  /**
5
5
  * Every job type the backend can persist and return from the /jobs API.
6
6
  * The backend's `Job.Type` is an open string, so treat this list as the
@@ -1,6 +1,6 @@
1
- import type { ApiRecords, Config } from "src/types";
2
1
  import { BaseApi } from "../base-api";
3
2
  import { CompanyInfoApi } from "../company-info";
3
+ import type { ApiRecords, Config } from "../types";
4
4
  import type { CreateMapping, Mapping, MappingExpressionDependencies, MappingTestResult, MappingTestResults, ObjectMapping, PropertyMapping, RawMappingDefinition, RawObjectMapping, RawPropertyMapping, RawValueMapping, ValueMapping } from "./types";
5
5
  /**
6
6
  * Class representing the Mappings API.
@@ -1,4 +1,4 @@
1
- import type { ModelCollaborators } from "src/models/types";
1
+ import type { ModelCollaborators } from "../models/types";
2
2
  export interface OutputModel {
3
3
  name: string;
4
4
  collaborators: ModelCollaborators;
@@ -1,4 +1,4 @@
1
- import type { CollaboratorList, GeneralCollaborator } from "src/types";
1
+ import type { CollaboratorList, GeneralCollaborator } from "../types";
2
2
  export interface ModelCollaborators {
3
3
  view: CollaboratorList | GeneralCollaborator;
4
4
  train: CollaboratorList | GeneralCollaborator;
@@ -1,5 +1,5 @@
1
- import type { ObjectAttribute } from "src/attributes/types";
2
1
  import { type Attribute } from "../attributes";
2
+ import type { ObjectAttribute } from "../attributes/types";
3
3
  import type { DataRules } from "../data-streams/types";
4
4
  import type { DataRulesAttributesField, ForecastBody, Nql } from "./types";
5
5
  /**
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * @see {@link https://github.com/colinhacks/zod} for more information about Zod.
6
6
  */
7
- import type { Dataset } from "src/datasets/types";
8
7
  import { z } from "zod";
8
+ import type { Dataset } from "../datasets/types";
9
9
  /**
10
10
  * Defines the structure for a budget object.
11
11
  *
@@ -1,5 +1,5 @@
1
- import type { CollaboratorsConfig } from "src/types";
2
1
  import type * as Parser from "../nql/AstParser";
2
+ import type { CollaboratorsConfig } from "../types";
3
3
  export interface CondensedNqlDatasetSource {
4
4
  type: "dataset";
5
5
  datasetName: string;
@@ -1,6 +1,6 @@
1
- import type { Dataset } from "src/datasets";
2
- import type { Mapping } from "src/mappings/types";
3
1
  import { BaseApi } from "../base-api";
2
+ import type { Dataset } from "../datasets";
3
+ import type { Mapping } from "../mappings/types";
4
4
  import type { RosettaStoneResponse, SampleRecord, SampleRecords } from "./types";
5
5
  declare class RosettaStoneApi extends BaseApi {
6
6
  /**
@@ -1,5 +1,5 @@
1
- import type { CompanyConstraint, DataRules, Offer } from "src/data-streams/types";
2
- import type { DatasetConstraint } from "src/forecast/types";
1
+ import type { CompanyConstraint, DataRules, Offer } from "../data-streams/types";
2
+ import type { DatasetConstraint } from "../forecast/types";
3
3
  export interface Subscription {
4
4
  id: string;
5
5
  budget: SubscriptionBudget;
@@ -1,5 +1,5 @@
1
- import type { NqlQueryMetadata, NqlQueryOwner } from "src/queries";
2
- import type { CollaboratorsConfig } from "src/types";
1
+ import type { NqlQueryMetadata, NqlQueryOwner } from "../queries";
2
+ import type { CollaboratorsConfig } from "../types";
3
3
  export interface SharedView {
4
4
  id: number;
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import type { UserRole } from "src/authentication";
1
+ import type { UserRole } from "../authentication";
2
2
  export interface User {
3
3
  user_id: number;
4
4
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.108.0",
3
+ "version": "2.108.1",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",