@osdk/maker 0.16.0-beta.1 → 0.16.0-beta.3
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.
- package/CHANGELOG.md +23 -0
- package/README.md +14 -0
- package/build/browser/api/code-snippets/createCodeSnippets.js +1 -1
- package/build/browser/api/code-snippets/createCodeSnippets.js.map +1 -1
- package/build/browser/api/defineObject.js +26 -9
- package/build/browser/api/defineObject.js.map +1 -1
- package/build/browser/api/defineSpt.js.map +1 -1
- package/build/browser/api/object/ObjectPropertyType.js.map +1 -1
- package/build/browser/api/properties/PropertyTypeType.js.map +1 -1
- package/build/browser/api/properties/ReducerType.js +2 -0
- package/build/browser/api/properties/ReducerType.js.map +1 -0
- package/build/browser/api/properties/SharedPropertyType.js.map +1 -1
- package/build/browser/api/test/actions.test.js +5 -0
- package/build/browser/api/test/actions.test.js.map +1 -1
- package/build/browser/api/test/objectStatus.test.js +93 -1
- package/build/browser/api/test/objectStatus.test.js.map +1 -1
- package/build/browser/api/test/objects.test.js +576 -0
- package/build/browser/api/test/objects.test.js.map +1 -1
- package/build/browser/api/test/spt.test.js +62 -61
- package/build/browser/api/test/spt.test.js.map +1 -1
- package/build/browser/cli/main.js +1 -1
- package/build/browser/conversion/toMarketplace/convertMainValue.js +36 -0
- package/build/browser/conversion/toMarketplace/convertMainValue.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +4 -3
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
- package/build/browser/conversion/toMarketplace/convertReducers.js +53 -0
- package/build/browser/conversion/toMarketplace/convertReducers.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js +5 -3
- package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -1
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +4 -2
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
- package/build/cjs/index.cjs +152 -84
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +13 -1
- package/build/esm/api/code-snippets/createCodeSnippets.js +1 -1
- package/build/esm/api/code-snippets/createCodeSnippets.js.map +1 -1
- package/build/esm/api/defineObject.js +26 -9
- package/build/esm/api/defineObject.js.map +1 -1
- package/build/esm/api/defineSpt.js.map +1 -1
- package/build/esm/api/object/ObjectPropertyType.js.map +1 -1
- package/build/esm/api/properties/PropertyTypeType.js.map +1 -1
- package/build/esm/api/properties/ReducerType.js +2 -0
- package/build/esm/api/properties/ReducerType.js.map +1 -0
- package/build/esm/api/properties/SharedPropertyType.js.map +1 -1
- package/build/esm/api/test/actions.test.js +5 -0
- package/build/esm/api/test/actions.test.js.map +1 -1
- package/build/esm/api/test/objectStatus.test.js +93 -1
- package/build/esm/api/test/objectStatus.test.js.map +1 -1
- package/build/esm/api/test/objects.test.js +576 -0
- package/build/esm/api/test/objects.test.js.map +1 -1
- package/build/esm/api/test/spt.test.js +62 -61
- package/build/esm/api/test/spt.test.js.map +1 -1
- package/build/esm/cli/main.js +1 -1
- package/build/esm/conversion/toMarketplace/convertMainValue.js +36 -0
- package/build/esm/conversion/toMarketplace/convertMainValue.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +4 -3
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -1
- package/build/esm/conversion/toMarketplace/convertReducers.js +53 -0
- package/build/esm/conversion/toMarketplace/convertReducers.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js +5 -3
- package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -1
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +4 -2
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
- package/build/types/api/defineObject.d.ts.map +1 -1
- package/build/types/api/defineSpt.d.ts +2 -0
- package/build/types/api/defineSpt.d.ts.map +1 -1
- package/build/types/api/object/ObjectPropertyType.d.ts +2 -0
- package/build/types/api/object/ObjectPropertyType.d.ts.map +1 -1
- package/build/types/api/properties/PropertyTypeType.d.ts +4 -0
- package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -1
- package/build/types/api/properties/ReducerType.d.ts +4 -0
- package/build/types/api/properties/ReducerType.d.ts.map +1 -0
- package/build/types/api/properties/SharedPropertyType.d.ts +2 -0
- package/build/types/api/properties/SharedPropertyType.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/convertMainValue.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertMainValue.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/convertReducers.d.ts +6 -0
- package/build/types/conversion/toMarketplace/convertReducers.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts +1 -1
- package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -1
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +2 -1
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAyCA,cAAc,4BAA4B,kCAAmC;AAc7E,OAAO,iBAAS,aACdA,WAAW,uBACV;
|
|
1
|
+
{"mappings":"AAyCA,cAAc,4BAA4B,kCAAmC;AAc7E,OAAO,iBAAS,aACdA,WAAW,uBACV;AA8NH,OAAO,iBAAS,qBAAqBC;AAOrC,OAAO,iBAAS,2BACdA","names":["objectDef: ObjectTypeDefinition","s: string | undefined | null"],"sources":["../../../src/api/defineObject.ts"],"version":3,"file":"defineObject.d.ts"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { OntologyIrBaseFormatter, OntologyIrValueTypeReferenceWithMetadata, SharedPropertyTypeGothamMapping, Visibility } from "@osdk/client.unstable";
|
|
2
2
|
import type { Nullability } from "./properties/Nullability.js";
|
|
3
3
|
import { type PropertyTypeType } from "./properties/PropertyTypeType.js";
|
|
4
|
+
import type { ReducerType } from "./properties/ReducerType.js";
|
|
4
5
|
import { type SharedPropertyType } from "./properties/SharedPropertyType.js";
|
|
5
6
|
export interface SharedPropertyTypeDefinition {
|
|
6
7
|
apiName: string;
|
|
7
8
|
type: PropertyTypeType;
|
|
8
9
|
array?: boolean;
|
|
10
|
+
reducers?: Array<ReducerType>;
|
|
9
11
|
description?: string;
|
|
10
12
|
displayName?: string;
|
|
11
13
|
valueType?: OntologyIrValueTypeReferenceWithMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,yBACA,0CACA,iCACA,kBACK,uBAAwB;AAQ/B,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,wBAAwB,kCAAmC;AACzE,cAAc,0BAA0B,oCAAqC;AAQ7E,iBAAiB,6BAA6B;CAC5C;CACA,MAAM;CACN;CACA;CACA;CACA,YAAY;CACZ,aAAa;CACb,cAAc;CACd,cAAc,mBAAmB;CACjC,UAAU;CACV,gBAAgB;CAChB,gBAAgB;AACjB;AAED,OAAO,iBAAS,yBACdA,QAAQ,+BACP","names":["sptDef: SharedPropertyTypeDefinition"],"sources":["../../../src/api/defineSpt.ts"],"version":3,"file":"defineSpt.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,cACE,yBACA,0CACA,iCACA,kBACK,uBAAwB;AAQ/B,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,wBAAwB,kCAAmC;AACzE,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,0BAA0B,oCAAqC;AAQ7E,iBAAiB,6BAA6B;CAC5C;CACA,MAAM;CACN;CACA,WAAW,MAAM;CACjB;CACA;CACA,YAAY;CACZ,aAAa;CACb,cAAc;CACd,cAAc,mBAAmB;CACjC,UAAU;CACV,gBAAgB;CAChB,gBAAgB;AACjB;AAED,OAAO,iBAAS,yBACdA,QAAQ,+BACP","names":["sptDef: SharedPropertyTypeDefinition"],"sources":["../../../src/api/defineSpt.ts"],"version":3,"file":"defineSpt.d.ts"}
|
|
@@ -2,6 +2,7 @@ import type { OntologyIrBaseFormatter, Visibility } from "@osdk/client.unstable"
|
|
|
2
2
|
import type { RequiredFields } from "../../util/RequiredFields.js";
|
|
3
3
|
import type { Nullability } from "../properties/Nullability.js";
|
|
4
4
|
import type { PropertyTypeType } from "../properties/PropertyTypeType.js";
|
|
5
|
+
import type { ReducerType } from "../properties/ReducerType.js";
|
|
5
6
|
import type { SharedPropertyType } from "../properties/SharedPropertyType.js";
|
|
6
7
|
import type { ValueTypeDefinitionVersion } from "../values/ValueTypeDefinitionVersion.js";
|
|
7
8
|
import type { ObjectTypeStatus } from "./ObjectTypeStatus.js";
|
|
@@ -16,6 +17,7 @@ export interface ObjectPropertyTypeInner {
|
|
|
16
17
|
}>;
|
|
17
18
|
type: PropertyTypeType;
|
|
18
19
|
array?: boolean;
|
|
20
|
+
reducers?: Array<ReducerType>;
|
|
19
21
|
valueType: ValueTypeDefinitionVersion;
|
|
20
22
|
sharedPropertyType: SharedPropertyType;
|
|
21
23
|
description: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,yBACA,kBACK,uBAAwB;AAC/B,cAAc,sBAAsB,8BAA+B;AACnE,cAAc,mBAAmB,8BAA+B;AAChE,cAAc,wBAAwB,mCAAoC;AAC1E,cAAc,0BAA0B,qCAAsC;AAC9E,cAAc,kCAAkC,yCAA0C;AAC1F,cAAc,wBAAwB,uBAAwB;AAE9D,YAAY,qBAAqB,eAC/B,QAAQ,0BACR,YAAY,SAAS;AAGvB,iBAAiB,wBAAwB;CAEvC;CAGA,gBAAgB;CAChB;CACA,aAAa,MAAM;EACjB;EACA;CACD;CAED,MAAM;CACN;CACA,WAAW;CACX,oBAAoB;CACpB;CACA;CACA,YAAY;CACZ,cAAc;CACd,SAAS;CACT;AACD","names":[],"sources":["../../../../src/api/object/ObjectPropertyType.ts"],"version":3,"file":"ObjectPropertyType.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,cACE,yBACA,kBACK,uBAAwB;AAC/B,cAAc,sBAAsB,8BAA+B;AACnE,cAAc,mBAAmB,8BAA+B;AAChE,cAAc,wBAAwB,mCAAoC;AAC1E,cAAc,mBAAmB,8BAA+B;AAChE,cAAc,0BAA0B,qCAAsC;AAC9E,cAAc,kCAAkC,yCAA0C;AAC1F,cAAc,wBAAwB,uBAAwB;AAE9D,YAAY,qBAAqB,eAC/B,QAAQ,0BACR,YAAY,SAAS;AAGvB,iBAAiB,wBAAwB;CAEvC;CAGA,gBAAgB;CAChB;CACA,aAAa,MAAM;EACjB;EACA;CACD;CAED,MAAM;CACN;CACA,WAAW,MAAM;CACjB,WAAW;CACX,oBAAoB;CACpB;CACA;CACA,YAAY;CACZ,cAAc;CACd,SAAS;CACT;AACD","names":[],"sources":["../../../../src/api/object/ObjectPropertyType.ts"],"version":3,"file":"ObjectPropertyType.d.ts"}
|
|
@@ -12,6 +12,10 @@ export type PropertyTypeTypeStruct = {
|
|
|
12
12
|
structDefinition: {
|
|
13
13
|
[api_name: string]: StructPropertyType | Exclude<PropertyTypeTypesWithoutStruct, PropertyTypeTypeMarking>
|
|
14
14
|
}
|
|
15
|
+
mainValue?: {
|
|
16
|
+
fields: string | Array<string>
|
|
17
|
+
type: PropertyTypeType
|
|
18
|
+
}
|
|
15
19
|
};
|
|
16
20
|
type PropertyTypeTypeString = {
|
|
17
21
|
type: "string"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,uBAAuB,uBAAwB;AAE7D,YAAY,mBACR,4BACA;AAEJ,YAAY,4BACR,YACA,SACA,SACA,YACA,WACA,UACA,YACA,SACA,UACA,WACA,cACA;AAEJ,YAAY,yBACR,aACA,aACA,mBACA,kBACA,0BACA,yBACA,yBACA;KAEC,0BAA0B;CAC7B,MAAM;CACN,aAAa,cAAc;CAC3B;AACD;AAED,YAAY,yBAAyB;CACnC,MAAM;CACN,kBAAkB;sBAEZ,qBACA,QAAQ,gCAAgC;CAC7C;AACF;KAEI,yBAAyB;CAC5B,MAAM;CACN;CACA;CACA;CACA;CACA;AACD;KAEI,0BAA0B;CAC7B,MAAM;CACN;CACA;AACD;AAED,YAAY,iCAAiC,QAC3C,kBACA;AAEF,OAAO,iBAAS,mBACdA,GAAG,mBACF,KAAK;AASR,OAAO,iBAAS,SACdC,MAAM,+BACL,QAAQ;AAeX,OAAO,iBAAS,SACdC,MAAM,mBACL,QAAQ;KAIN;CAAS;CAAG,gBAAgB;IAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,GAAG;AAEpE,iBAAiB,2BACf,SACE,KACE,iBACA,cAAc,mBAAmB,YAEnC,gBAAgB,WAEpB;CACE,WAAW;CACX;AACD","names":["v: PropertyTypeType","type: PropertyTypeType | undefined","type: PropertyTypeType"],"sources":["../../../../src/api/properties/PropertyTypeType.ts"],"version":3,"file":"PropertyTypeType.d.ts"}
|
|
1
|
+
{"mappings":"AAgBA,cAAc,uBAAuB,uBAAwB;AAE7D,YAAY,mBACR,4BACA;AAEJ,YAAY,4BACR,YACA,SACA,SACA,YACA,WACA,UACA,YACA,SACA,UACA,WACA,cACA;AAEJ,YAAY,yBACR,aACA,aACA,mBACA,kBACA,0BACA,yBACA,yBACA;KAEC,0BAA0B;CAC7B,MAAM;CACN,aAAa,cAAc;CAC3B;AACD;AAED,YAAY,yBAAyB;CACnC,MAAM;CACN,kBAAkB;sBAEZ,qBACA,QAAQ,gCAAgC;CAC7C;CACD,YAAY;EACV,iBAAiB;EAEjB,MAAM;CACP;AACF;KAEI,yBAAyB;CAC5B,MAAM;CACN;CACA;CACA;CACA;CACA;AACD;KAEI,0BAA0B;CAC7B,MAAM;CACN;CACA;AACD;AAED,YAAY,iCAAiC,QAC3C,kBACA;AAEF,OAAO,iBAAS,mBACdA,GAAG,mBACF,KAAK;AASR,OAAO,iBAAS,SACdC,MAAM,+BACL,QAAQ;AAeX,OAAO,iBAAS,SACdC,MAAM,mBACL,QAAQ;KAIN;CAAS;CAAG,gBAAgB;IAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,GAAG;AAEpE,iBAAiB,2BACf,SACE,KACE,iBACA,cAAc,mBAAmB,YAEnC,gBAAgB,WAEpB;CACE,WAAW;CACX;AACD","names":["v: PropertyTypeType","type: PropertyTypeType | undefined","type: PropertyTypeType"],"sources":["../../../../src/api/properties/PropertyTypeType.ts"],"version":3,"file":"PropertyTypeType.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,YAAY,cAAc;CACxB,WACI,cACA;CACJ;AACD","names":[],"sources":["../../../../src/api/properties/ReducerType.ts"],"version":3,"file":"ReducerType.d.ts"}
|
|
@@ -4,6 +4,7 @@ import type { OntologyEntityTypeEnum } from "../common/OntologyEntityTypeEnum.js
|
|
|
4
4
|
import type { TypeClass } from "../common/TypeClass.js";
|
|
5
5
|
import type { Nullability } from "./Nullability.js";
|
|
6
6
|
import type { PropertyTypeType } from "./PropertyTypeType.js";
|
|
7
|
+
import type { ReducerType } from "./ReducerType.js";
|
|
7
8
|
export interface SharedPropertyType extends OntologyEntityBase, PropertyType {
|
|
8
9
|
apiName: string;
|
|
9
10
|
nonNameSpacedApiName: string;
|
|
@@ -15,6 +16,7 @@ export interface SharedPropertyType extends OntologyEntityBase, PropertyType {
|
|
|
15
16
|
export interface PropertyType {
|
|
16
17
|
type: PropertyTypeType;
|
|
17
18
|
array?: boolean;
|
|
19
|
+
reducers?: Array<ReducerType>;
|
|
18
20
|
description?: string;
|
|
19
21
|
displayName?: string;
|
|
20
22
|
valueType?: OntologyIrValueTypeReferenceWithMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cACE,yBACA,0CACA,iCACA,kBACK,uBAAwB;AAC/B,cAAc,0BAA0B,iCAAkC;AAC1E,cAAc,8BAA8B,qCAAsC;AAClF,cAAc,iBAAiB,wBAAyB;AACxD,cAAc,mBAAmB,kBAAmB;AACpD,cAAc,wBAAwB,uBAAwB;
|
|
1
|
+
{"mappings":"AAgBA,cACE,yBACA,0CACA,iCACA,kBACK,uBAAwB;AAC/B,cAAc,0BAA0B,iCAAkC;AAC1E,cAAc,8BAA8B,qCAAsC;AAClF,cAAc,iBAAiB,wBAAyB;AACxD,cAAc,mBAAmB,kBAAmB;AACpD,cAAc,wBAAwB,uBAAwB;AAC9D,cAAc,mBAAmB,kBAAmB;AAEpD,iBAAiB,2BAA2B,oBAAoB,aAAa;CAC3E;CACA;CACA,UAAU;CACV,gBAAgB;CAChB,gBAAgB;CAChB,QAAQ,uBAAuB;AAChC;AACD,iBAAiB,aAAa;CAC5B,MAAM;CACN;CACA,WAAW,MAAM;CACjB;CACA;CACA,YAAY;CACZ,aAAa;CACb,cAAc;CACd,cAAc;AACf","names":[],"sources":["../../../../src/api/properties/SharedPropertyType.ts"],"version":3,"file":"SharedPropertyType.d.ts"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { OntologyIrStructMainValue } from "@osdk/client.unstable";
|
|
2
|
+
import { type PropertyTypeType } from "../../api/properties/PropertyTypeType.js";
|
|
3
|
+
import type { SharedPropertyType } from "../../api/properties/SharedPropertyType.js";
|
|
4
|
+
export declare function convertMainValue(type: PropertyTypeType, apiName?: string, sharedPropertyType?: SharedPropertyType): OntologyIrStructMainValue | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,iCAAiC,uBAAwB;AACvE,cAEO,wBACA,0CAA2C;AAClD,cAAc,0BAA0B,4CAA6C;AAGrF,OAAO,iBAAS,iBACdA,MAAM,kBACNC,kBACAC,qBAAqB,qBACpB","names":["type: PropertyTypeType","apiName?: string","sharedPropertyType?: SharedPropertyType"],"sources":["../../../../src/conversion/toMarketplace/convertMainValue.ts"],"version":3,"file":"convertMainValue.d.ts"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,8BAA8B,uBAAwB;AAGpE,cAAc,0BAA0B,wCAAyC;
|
|
1
|
+
{"mappings":"AAgBA,cAAc,8BAA8B,uBAAwB;AAGpE,cAAc,0BAA0B,wCAAyC;AAcjF,OAAO,iBAAS,0BACdA,UAAU,qBACT","names":["property: ObjectPropertyType"],"sources":["../../../../src/conversion/toMarketplace/convertObjectPropertyType.ts"],"version":3,"file":"convertObjectPropertyType.d.ts"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { OntologyIrArrayPropertyTypeReducer } from "@osdk/client.unstable";
|
|
2
|
+
import type { PropertyTypeType } from "../../api/properties/PropertyTypeType.js";
|
|
3
|
+
import type { ReducerType } from "../../api/properties/ReducerType.js";
|
|
4
|
+
import type { SharedPropertyType } from "../../api/properties/SharedPropertyType.js";
|
|
5
|
+
export declare function convertReducers(type: PropertyTypeType, apiName: string, reducers?: Array<ReducerType>, sharedPropertyType?: SharedPropertyType): Array<OntologyIrArrayPropertyTypeReducer>;
|
|
6
|
+
export declare function mapReducers(apiName: string, reducers?: Array<ReducerType>): Array<OntologyIrArrayPropertyTypeReducer>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,0CAA0C,uBAAwB;AAEhF,cACE,wBACK,0CAA2C;AAElD,cAAc,mBAAmB,qCAAsC;AACvE,cAAc,0BAA0B,4CAA6C;AAErF,OAAO,iBAAS,gBACdA,MAAM,kBACNC,iBACAC,WAAW,MAAM,cACjBC,qBAAqB,qBACpB,MAAM;AAiBT,OAAO,iBAAS,YACdF,iBACAC,WAAW,MAAM,eAChB,MAAM","names":["type: PropertyTypeType","apiName: string","reducers?: Array<ReducerType>","sharedPropertyType?: SharedPropertyType"],"sources":["../../../../src/conversion/toMarketplace/convertReducers.ts"],"version":3,"file":"convertReducers.d.ts"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OntologyIrSharedPropertyType } from "@osdk/client.unstable";
|
|
2
2
|
import type { SharedPropertyType } from "../../api/properties/SharedPropertyType.js";
|
|
3
|
-
export declare function convertSpt({ type, array, description, apiName, displayName, visibility, gothamMapping, typeClasses, aliases, valueType, nullability, baseFormatter }: SharedPropertyType): OntologyIrSharedPropertyType;
|
|
3
|
+
export declare function convertSpt({ type, array, reducers, description, apiName, displayName, visibility, gothamMapping, typeClasses, aliases, valueType, nullability, baseFormatter }: SharedPropertyType): OntologyIrSharedPropertyType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAAc,oCAAoC,uBAAwB;AAC1E,cAAc,0BAA0B,4CAA6C;
|
|
1
|
+
{"mappings":"AAgBA,cAAc,oCAAoC,uBAAwB;AAC1E,cAAc,0BAA0B,4CAA6C;AAKrF,OAAO,iBAAS,WACd,EACE,MACA,OACA,UACA,aACA,SACA,aACA,YACA,eACA,aACA,SACA,WACA,aACA,eACmB,EAAlB,qBACF","names":[],"sources":["../../../../src/conversion/toMarketplace/convertSpt.ts"],"version":3,"file":"convertSpt.d.ts"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { OntologyIrType } from "@osdk/client.unstable";
|
|
2
2
|
import type { PropertyTypeType } from "../../api/properties/PropertyTypeType.js";
|
|
3
|
-
|
|
3
|
+
import type { SharedPropertyType } from "../../api/properties/SharedPropertyType.js";
|
|
4
|
+
export declare function propertyTypeTypeToOntologyIrType(type: PropertyTypeType, apiName?: string, sharedPropertyType?: SharedPropertyType): OntologyIrType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAgBA,cAEE,sBACK,uBAAwB;AAC/B,cAAc,wBAAwB,0CAA2C;
|
|
1
|
+
{"mappings":"AAgBA,cAEE,sBACK,uBAAwB;AAC/B,cAAc,wBAAwB,0CAA2C;AACjF,cAAc,0BAA0B,4CAA6C;AAIrF,OAAO,iBAAS,iCACdA,MAAM,kBACNC,kBACAC,qBAAqB,qBACpB","names":["type: PropertyTypeType","apiName?: string","sharedPropertyType?: SharedPropertyType"],"sources":["../../../../src/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.ts"],"version":3,"file":"propertyTypeTypeToOntologyIrType.d.ts"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/maker",
|
|
3
|
-
"version": "0.16.0-beta.
|
|
3
|
+
"version": "0.16.0-beta.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"tiny-invariant": "^1.3.3",
|
|
36
36
|
"ts-node": "^10.9.2",
|
|
37
37
|
"yargs": "^17.7.2",
|
|
38
|
-
"@osdk/api": "~2.8.0-beta.
|
|
38
|
+
"@osdk/api": "~2.8.0-beta.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/mustache": "^4.2.6",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@types/yargs": "^17.0.33",
|
|
44
44
|
"typescript": "~5.5.4",
|
|
45
45
|
"vitest": "^3.2.4",
|
|
46
|
-
"@osdk/
|
|
47
|
-
"@osdk/
|
|
48
|
-
"@osdk/monorepo.
|
|
46
|
+
"@osdk/client.unstable": "~2.8.0-beta.5",
|
|
47
|
+
"@osdk/monorepo.api-extractor": "~0.7.0-beta.1",
|
|
48
|
+
"@osdk/monorepo.tsconfig": "~0.7.0-beta.1"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|