@uniformdev/transformer 1.1.29 → 1.1.31
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/dist/cli/index.js +733 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +35 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,22 @@ interface Composition {
|
|
|
51
51
|
[key: string]: unknown;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
interface ContentTypeField$1 {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
type: string;
|
|
58
|
+
typeConfig?: {
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
};
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
}
|
|
63
|
+
interface ContentTypeDefinition$1 {
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
fields?: ContentTypeField$1[];
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
}
|
|
69
|
+
|
|
54
70
|
interface GlobalOptions {
|
|
55
71
|
rootDir: string;
|
|
56
72
|
whatIf?: boolean;
|
|
@@ -141,6 +157,24 @@ interface RemoveFieldOptions extends GlobalOptions {
|
|
|
141
157
|
componentType: string;
|
|
142
158
|
parameterId: string;
|
|
143
159
|
}
|
|
160
|
+
interface AddComponentParameterOptions extends GlobalOptions {
|
|
161
|
+
componentId: string;
|
|
162
|
+
parameterId: string;
|
|
163
|
+
parameterType: string;
|
|
164
|
+
parameterConfig?: string;
|
|
165
|
+
groupId?: string;
|
|
166
|
+
}
|
|
167
|
+
interface AddContentTypeFieldOptions extends GlobalOptions {
|
|
168
|
+
contentTypeId: string;
|
|
169
|
+
fieldId: string;
|
|
170
|
+
fieldType: string;
|
|
171
|
+
fieldConfig?: string;
|
|
172
|
+
}
|
|
173
|
+
interface FlattenBlockFieldOptions extends GlobalOptions {
|
|
174
|
+
componentId: string;
|
|
175
|
+
parameterId: string;
|
|
176
|
+
excludeFields?: string;
|
|
177
|
+
}
|
|
144
178
|
|
|
145
179
|
declare class TransformError extends Error {
|
|
146
180
|
constructor(message: string);
|
|
@@ -571,4 +605,4 @@ declare class FieldRemoverService {
|
|
|
571
605
|
private removeKeyFromMap;
|
|
572
606
|
}
|
|
573
607
|
|
|
574
|
-
export { type AddComponentOptions, type AddComponentPatternOptions, ComponentAdderService, ComponentAlreadyExistsError, type ComponentDefinition, type ComponentInstance, ComponentNotFoundError, ComponentRenamerService, ComponentService, type Composition, CompositionConverterService, type CompositionOverrides, type CompositionPatternCandidatesOptions, type CompositionRoot, CompositionService, type ConvertCompositionsToEntriesOptions, DuplicateIdError, FieldRemoverService, FileNotFoundError, FileSystemService, type GlobalOptions, InvalidYamlError, Logger, type PackSerializationOptions, type Parameter, ParameterRemoverService, type ParameterValue, type PropagateRootComponentPropertyOptions, type PropagateRootComponentSlotOptions, PropertyNotFoundError, PropertyPropagatorService, type RemoveFieldOptions, type RemoveParameterOptions, type RenameComponentOptions, type RenameSlotOptions, SlotAlreadyExistsError, type SlotDefinition, SlotNotFoundError, SlotRenamerService, TransformError, type UnpackSerializationOptions, computeGuidHash, regenerateIds };
|
|
608
|
+
export { type AddComponentOptions, type AddComponentParameterOptions, type AddComponentPatternOptions, type AddContentTypeFieldOptions, ComponentAdderService, ComponentAlreadyExistsError, type ComponentDefinition, type ComponentInstance, ComponentNotFoundError, ComponentRenamerService, ComponentService, type Composition, CompositionConverterService, type CompositionOverrides, type CompositionPatternCandidatesOptions, type CompositionRoot, CompositionService, type ContentTypeDefinition$1 as ContentTypeDefinition, type ContentTypeField$1 as ContentTypeField, type ConvertCompositionsToEntriesOptions, DuplicateIdError, FieldRemoverService, FileNotFoundError, FileSystemService, type FlattenBlockFieldOptions, type GlobalOptions, InvalidYamlError, Logger, type PackSerializationOptions, type Parameter, ParameterRemoverService, type ParameterValue, type PropagateRootComponentPropertyOptions, type PropagateRootComponentSlotOptions, PropertyNotFoundError, PropertyPropagatorService, type RemoveFieldOptions, type RemoveParameterOptions, type RenameComponentOptions, type RenameSlotOptions, SlotAlreadyExistsError, type SlotDefinition, SlotNotFoundError, SlotRenamerService, TransformError, type UnpackSerializationOptions, computeGuidHash, regenerateIds };
|