@uniformdev/cli
Advanced tools
| type CLICompositionState = 'preview' | 'published' | number; | ||
| type StateArgs = { | ||
| state: CLICompositionState; | ||
| }; | ||
| type SyncMode = 'mirror' | 'createOrUpdate' | 'create'; | ||
| type EntityTypes = 'aggregate' | 'asset' | 'category' | 'workflow' | 'webhook' | 'component' | 'composition' | 'contentType' | 'dataType' | 'enrichment' | 'entry' | 'entryPattern' | 'locale' | 'componentPattern' | 'compositionPattern' | 'policyDocument' | 'projectMapDefinition' | 'projectMapNode' | 'previewUrl' | 'previewViewport' | 'prompt' | 'quirk' | 'redirect' | 'signal' | 'test'; | ||
| type SyncFileFormat = 'yaml' | 'json'; | ||
| type EntityConfigurationBase = { | ||
| mode?: SyncMode; | ||
| directory?: string; | ||
| format?: SyncFileFormat; | ||
| disabled?: true; | ||
| }; | ||
| type EntityFilterInclude = { | ||
| /** If set, only entities whose ID matches one of these values will be synced. Cannot be combined with `exclude`. */ | ||
| include: string[]; | ||
| exclude?: never; | ||
| }; | ||
| type EntityFilterExclude = { | ||
| include?: never; | ||
| /** If set, entities whose ID matches one of these values will be excluded from sync. Cannot be combined with `include`. */ | ||
| exclude: string[]; | ||
| }; | ||
| type EntityFilterNone = { | ||
| include?: never; | ||
| exclude?: never; | ||
| }; | ||
| type EntityConfiguration = EntityConfigurationBase & (EntityFilterInclude | EntityFilterExclude | EntityFilterNone); | ||
| type EntityWithStateConfiguration = EntityConfiguration & Partial<StateArgs>; | ||
| type PublishableEntitiesConfiguration = EntityWithStateConfiguration & { | ||
| publish?: boolean; | ||
| }; | ||
| type SerializationEntitiesConfiguration = Record<EntityTypes, { | ||
| pull?: EntityConfiguration; | ||
| push?: EntityConfiguration; | ||
| } & EntityConfiguration> & { | ||
| composition?: PublishableEntitiesConfiguration; | ||
| componentPattern?: PublishableEntitiesConfiguration; | ||
| compositionPattern?: PublishableEntitiesConfiguration; | ||
| entry?: PublishableEntitiesConfiguration; | ||
| entryPattern?: PublishableEntitiesConfiguration; | ||
| }; | ||
| type SerializationConfiguration = { | ||
| entitiesConfig: Partial<SerializationEntitiesConfiguration>; | ||
| directory: string; | ||
| mode: SyncMode; | ||
| allowEmptySource: boolean; | ||
| format: SyncFileFormat; | ||
| }; | ||
| type RecursivePartial<T> = { | ||
| [P in keyof T]?: RecursivePartial<T[P]>; | ||
| }; | ||
| type UserDefinedSerializationConfiguration = RecursivePartial<SerializationConfiguration>; | ||
| type CLIConfiguration = { | ||
| serialization: UserDefinedSerializationConfiguration; | ||
| }; | ||
| export type { CLIConfiguration as C, EntityTypes as E }; |
@@ -1,2 +0,2 @@ | ||
| import { C as CLIConfiguration, E as EntityTypes } from './index-ZI3elAaF.mjs'; | ||
| import { C as CLIConfiguration, E as EntityTypes } from './index-fzc0-h1F.mjs'; | ||
@@ -3,0 +3,0 @@ type UniformConfigAllOptions = { |
+1
-1
| #!/usr/bin/env node | ||
| export { C as CLIConfiguration } from './index-ZI3elAaF.mjs'; | ||
| export { C as CLIConfiguration } from './index-fzc0-h1F.mjs'; |
+9
-9
| { | ||
| "name": "@uniformdev/cli", | ||
| "version": "20.49.5-alpha.10+97590818af", | ||
| "version": "20.49.5-alpha.11+4c766b7688", | ||
| "description": "Uniform command line interface tool", | ||
@@ -31,9 +31,9 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
| "@thi.ng/mime": "^2.2.23", | ||
| "@uniformdev/assets": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/canvas": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/context": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/files": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/project-map": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/redirect": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/richtext": "20.49.5-alpha.10+97590818af", | ||
| "@uniformdev/assets": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/canvas": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/context": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/files": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/project-map": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/redirect": "20.49.5-alpha.11+4c766b7688", | ||
| "@uniformdev/richtext": "20.49.5-alpha.11+4c766b7688", | ||
| "call-bind": "^1.0.2", | ||
@@ -85,3 +85,3 @@ "colorette": "2.0.20", | ||
| }, | ||
| "gitHead": "97590818aff0ababfb057278ba981112e219bf43" | ||
| "gitHead": "4c766b76885644538ea47a284a10cdb1ffc31388" | ||
| } |
| type CLICompositionState = 'preview' | 'published' | number; | ||
| type StateArgs = { | ||
| state: CLICompositionState; | ||
| }; | ||
| type SyncMode = 'mirror' | 'createOrUpdate' | 'create'; | ||
| type EntityTypes = 'aggregate' | 'asset' | 'category' | 'workflow' | 'webhook' | 'component' | 'composition' | 'contentType' | 'dataType' | 'enrichment' | 'entry' | 'entryPattern' | 'locale' | 'componentPattern' | 'compositionPattern' | 'policyDocument' | 'projectMapDefinition' | 'projectMapNode' | 'previewUrl' | 'previewViewport' | 'prompt' | 'quirk' | 'redirect' | 'signal' | 'test'; | ||
| type SyncFileFormat = 'yaml' | 'json'; | ||
| type EntityConfiguration = { | ||
| mode?: SyncMode; | ||
| directory?: string; | ||
| format?: SyncFileFormat; | ||
| disabled?: true; | ||
| }; | ||
| type EntityWithStateConfiguration = EntityConfiguration & Partial<StateArgs>; | ||
| type PublishableEntitiesConfiguration = EntityWithStateConfiguration & { | ||
| publish?: boolean; | ||
| }; | ||
| type SerializationEntitiesConfiguration = Record<EntityTypes, { | ||
| pull?: EntityConfiguration; | ||
| push?: EntityConfiguration; | ||
| } & EntityConfiguration> & { | ||
| composition?: PublishableEntitiesConfiguration; | ||
| componentPattern?: PublishableEntitiesConfiguration; | ||
| compositionPattern?: PublishableEntitiesConfiguration; | ||
| entry?: PublishableEntitiesConfiguration; | ||
| entryPattern?: PublishableEntitiesConfiguration; | ||
| }; | ||
| type SerializationConfiguration = { | ||
| entitiesConfig: Partial<SerializationEntitiesConfiguration>; | ||
| directory: string; | ||
| mode: SyncMode; | ||
| allowEmptySource: boolean; | ||
| format: SyncFileFormat; | ||
| }; | ||
| type RecursivePartial<T> = { | ||
| [P in keyof T]?: RecursivePartial<T[P]>; | ||
| }; | ||
| type UserDefinedSerializationConfiguration = RecursivePartial<SerializationConfiguration>; | ||
| type CLIConfiguration = { | ||
| serialization: UserDefinedSerializationConfiguration; | ||
| }; | ||
| export type { CLIConfiguration as C, EntityTypes as E }; |
Sorry, the diff of this file is too big to display
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 25 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 25 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
463217
0.77%13445
0.58%322
0.31%