Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@strapi/content-type-builder

Package Overview
Dependencies
Maintainers
0
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/content-type-builder - npm Package Compare versions

Comparing version 0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f to 0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4

dist/_chunks/en-CXG5y_vo.js

2

dist/admin/index.js
"use strict";
const index = require("../_chunks/index-CdIn1epT.js");
const index = require("../_chunks/index-hlyv9EE3.js");
require("@strapi/icons");
module.exports = index.index;
//# sourceMappingURL=index.js.map
/// <reference types="react" />
export declare const OptionBoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>;
export declare const OptionBoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & {
children?: import("react").ReactNode;
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & {
ref?: any;
}, "ref"> & {
ref?: any;
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>;
/// <reference types="react" />
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>;
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & {
children?: import("react").ReactNode;
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & {
ref?: any;
}, "ref"> & {
ref?: any;
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>;
import type { Component, Components } from '../../../types';
declare const retrieveComponentsThatHaveComponents: (allComponents: Components) => `${string}.${string}`[];
declare const doesComponentHaveAComponentField: (component: Component) => boolean;
export { doesComponentHaveAComponentField, retrieveComponentsThatHaveComponents };
import type { Internal } from '@strapi/types';
type ChildComponent = {
component: Internal.UID.Component;
};
export type ComponentWithChildren = {
component: Internal.UID.Component;
childComponents: ChildComponent[];
};
declare const retrieveComponentsThatHaveComponents: (allComponents: Components) => ComponentWithChildren[];
declare const getComponentWithChildComponents: (component: Component) => ComponentWithChildren;
export { getComponentWithChildComponents, retrieveComponentsThatHaveComponents };

@@ -1,1 +0,8 @@

export declare const retrieveNestedComponents: (appComponents: any) => string[];
import type { Components } from '../../../types';
import type { Internal } from '@strapi/types';
export type NestedComponent = {
component: Internal.UID.Component;
uidsOfAllParents?: Internal.UID.Component[];
parentCompoUid?: Internal.UID.Component;
};
export declare const retrieveNestedComponents: (appComponents: Components) => NestedComponent[];
import type { IconByType } from '../../AttributeIcon';
import type { NestedComponent } from '../../DataManagerProvider/utils/retrieveNestedComponents';
import type { Internal } from '@strapi/types';
export declare const getAttributesToDisplay: (dataTarget: string | undefined, targetUid: Internal.UID.Schema, nestedComponents: Array<Internal.UID.Schema>) => IconByType[][];
export declare const getAttributesToDisplay: (dataTarget: string | undefined, targetUid: Internal.UID.Schema, nestedComponents: Array<NestedComponent>) => IconByType[][];
/// <reference types="react" />
import { IconByType } from './AttributeIcon';
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>;
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & {
children?: import("react").ReactNode;
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & {
ref?: any;
}, "ref"> & {
ref?: any;
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>;
type ListRowProps = {

@@ -7,0 +11,0 @@ configurable?: boolean;

/// <reference types="react" />
import { BoxComponent, FlexComponent } from '@strapi/design-system';
declare const Wrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<"div">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
declare const Wrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & {
children?: import("react").ReactNode;
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & {
ref?: any;
}, "ref"> & {
ref?: any;
}, never>> & Omit<BoxComponent, keyof import("react").Component<any, {}, any>>;
declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("@strapi/design-system").BoxProps<"button">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("@strapi/design-system").TransientBoxProps & {
children?: import("react").ReactNode;
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & {
ref?: any;
}, "ref"> & {
ref?: any;
}, {

@@ -9,0 +17,0 @@ $isSelected: boolean;

@@ -0,1 +1,2 @@

import type { Internal } from '@strapi/types';
interface SelectComponentProps {

@@ -14,3 +15,3 @@ componentToCreate?: Record<string, any> | null;

onChange: (value: any) => void;
targetUid: string;
targetUid: Internal.UID.Schema;
value: string;

@@ -17,0 +18,0 @@ forTarget: string;

@@ -7,1 +7,2 @@ export declare const PERMISSIONS: {

};
export declare const MAX_COMPONENT_DEPTH = 6;

@@ -1,3 +0,2 @@

import type { Schema, Struct } from '@strapi/types';
export declare const hasComponent: (model: Struct.Schema) => boolean;
import type { Schema } from '@strapi/types';
export declare const isConfigurable: (attribute: Schema.Attribute.AnyAttribute) => boolean;

@@ -4,0 +3,0 @@ export declare const isRelation: (attribute: Schema.Attribute.AnyAttribute) => boolean;

{
"name": "@strapi/content-type-builder",
"version": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f",
"version": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4",
"description": "Create and manage content types",

@@ -61,6 +61,6 @@ "repository": {

"@sindresorhus/slugify": "1.1.0",
"@strapi/design-system": "2.0.0-beta.4",
"@strapi/generators": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f",
"@strapi/icons": "2.0.0-beta.4",
"@strapi/utils": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f",
"@strapi/design-system": "2.0.0-beta.6",
"@strapi/generators": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4",
"@strapi/icons": "2.0.0-beta.6",
"@strapi/utils": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4",
"date-fns": "2.30.0",

@@ -77,5 +77,5 @@ "fs-extra": "11.2.0",

"devDependencies": {
"@strapi/admin": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f",
"@strapi/admin": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4",
"@strapi/pack-up": "5.0.0",
"@strapi/types": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f",
"@strapi/types": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4",
"@testing-library/react": "15.0.7",

@@ -111,3 +111,3 @@ "@testing-library/user-event": "14.5.2",

},
"gitHead": "baa6cf22298e591b4d52d8e59c60406d7a9f137f"
"gitHead": "bd712ad3930045f4a5d2144c119e0b7856e97fc4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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