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

@aws-amplify/codegen-ui

Package Overview
Dependencies
Maintainers
8
Versions
645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/codegen-ui - npm Package Compare versions

Comparing version 1.2.1-q1-release-c4f3d9b.0 to 1.2.1-q1-release-c62df4d.0

4

dist/lib/renderer-helper.d.ts

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

import { BoundStudioComponentProperty, CollectionStudioComponentProperty, ConcatenatedStudioComponentProperty, ConditionalStudioComponentProperty, FixedStudioComponentProperty, FormStudioComponentProperty, StudioComponent, StudioComponentAuthProperty, StudioComponentChild, StudioComponentDataPropertyBinding, StudioComponentEventPropertyBinding, StudioComponentSimplePropertyBinding, StudioComponentStoragePropertyBinding, StudioComponentPropertyBinding } from './types';
import { BoundStudioComponentProperty, CollectionStudioComponentProperty, ConcatenatedStudioComponentProperty, ConditionalStudioComponentProperty, FixedStudioComponentProperty, StateStudioComponentProperty, StudioComponent, StudioComponentAuthProperty, StudioComponentChild, StudioComponentDataPropertyBinding, StudioComponentEventPropertyBinding, StudioComponentSimplePropertyBinding, StudioComponentStoragePropertyBinding, StudioComponentPropertyBinding } from './types';
export declare const StudioRendererConstants: {

@@ -7,3 +7,3 @@ unknownName: string;

export declare function hasAuthProperty(component: StudioComponent | StudioComponentChild): component is StudioComponent;
export declare type ComponentPropertyValueTypes = ConcatenatedStudioComponentProperty | ConditionalStudioComponentProperty | FixedStudioComponentProperty | BoundStudioComponentProperty | CollectionStudioComponentProperty | FormStudioComponentProperty | StudioComponentAuthProperty;
export declare type ComponentPropertyValueTypes = ConcatenatedStudioComponentProperty | ConditionalStudioComponentProperty | FixedStudioComponentProperty | BoundStudioComponentProperty | CollectionStudioComponentProperty | StateStudioComponentProperty | StudioComponentAuthProperty;
export declare function isAuthProperty(prop: ComponentPropertyValueTypes): prop is StudioComponentAuthProperty;

@@ -10,0 +10,0 @@ export declare function isStudioComponentWithAuthProperty(component: StudioComponent | StudioComponentChild): component is StudioComponent;

@@ -189,3 +189,3 @@ export declare type FigmaMetadata = {

};
export declare type StudioComponentProperty = (FixedStudioComponentProperty | BoundStudioComponentProperty | CollectionStudioComponentProperty | ConcatenatedStudioComponentProperty | ConditionalStudioComponentProperty | FormStudioComponentProperty | StudioComponentAuthProperty) & CommonPropertyValues;
export declare type StudioComponentProperty = (FixedStudioComponentProperty | BoundStudioComponentProperty | CollectionStudioComponentProperty | ConcatenatedStudioComponentProperty | ConditionalStudioComponentProperty | StudioComponentAuthProperty | StateStudioComponentProperty) & CommonPropertyValues;
/**

@@ -260,16 +260,5 @@ * This represents a component property that is configured with either

};
/**
* This is the configuration for a form binding. This is
* technically an extension of Workflows but because it is
* pretty unique, it should be separated out with its own definition
*/
export declare type FormStudioComponentProperty = {
/**
* The model of the DataStore object
*/
model: string;
/**
* The binding configuration for the form
*/
bindings: FormBindings;
export declare type StateStudioComponentProperty = {
componentName: string;
property: string;
};

@@ -319,15 +308,2 @@ /**

};
export declare type FormBindings = {
[key: string]: FormBindingElement;
};
export declare type FormBindingElement = {
/**
* The name of the component to fetch a value from
*/
element: string;
/**
* The property component to get the value from.
*/
property: string;
};
/**

@@ -377,3 +353,17 @@ * This represent the configuration for binding a component property

click = "click",
change = "change"
doubleclick = "doubleclick",
mousedown = "mousedown",
mouseenter = "mouseenter",
mouseleave = "mouseleave",
mousemove = "mousemove",
mouseout = "mouseout",
mouseover = "mouseover",
mouseup = "mouseup",
change = "change",
input = "input",
focus = "focus",
blur = "blur",
keydown = "keydown",
keypress = "keypress",
keyup = "keyup"
}

@@ -415,3 +405,3 @@ /**

};
export declare type ActionStudioComponentEvent = NavigationAction | AuthSignOutAction | AuthUpdateUserAttributesAction | DataStoreCreateItemAction | DataStoreUpdateItemAction | DataStoreDeleteItemAction;
export declare type ActionStudioComponentEvent = NavigationAction | AuthSignOutAction | DataStoreCreateItemAction | DataStoreUpdateItemAction | DataStoreDeleteItemAction | MutationAction;
export declare type NavigationAction = {

@@ -432,10 +422,2 @@ action: 'Amplify.Navigation';

};
export declare type AuthUpdateUserAttributesAction = {
action: 'Amplify.AuthUpdateUserAttributes';
parameters: {
attributes: {
[propertyName: string]: StudioComponentProperty;
};
};
};
export declare type DataStoreCreateItemAction = {

@@ -467,2 +449,14 @@ action: 'Amplify.DataStoreCreateItemAction';

};
export declare type MutationAction = {
action: 'Amplify.Mutation';
parameters: {
state: MutationActionSetStateParameter;
};
};
export declare type MutationActionSetStateParameter = {
componentName: string;
property: string;
set: StudioComponentProperty;
};
export declare type StateReference = StateStudioComponentProperty | MutationActionSetStateParameter;
export declare type StudioComponentEvents = {

@@ -469,0 +463,0 @@ [eventName: string]: StudioComponentEvent;

@@ -27,4 +27,18 @@ "use strict";

StudioGenericEvent["click"] = "click";
StudioGenericEvent["doubleclick"] = "doubleclick";
StudioGenericEvent["mousedown"] = "mousedown";
StudioGenericEvent["mouseenter"] = "mouseenter";
StudioGenericEvent["mouseleave"] = "mouseleave";
StudioGenericEvent["mousemove"] = "mousemove";
StudioGenericEvent["mouseout"] = "mouseout";
StudioGenericEvent["mouseover"] = "mouseover";
StudioGenericEvent["mouseup"] = "mouseup";
StudioGenericEvent["change"] = "change";
StudioGenericEvent["input"] = "input";
StudioGenericEvent["focus"] = "focus";
StudioGenericEvent["blur"] = "blur";
StudioGenericEvent["keydown"] = "keydown";
StudioGenericEvent["keypress"] = "keypress";
StudioGenericEvent["keyup"] = "keyup";
})(StudioGenericEvent = exports.StudioGenericEvent || (exports.StudioGenericEvent = {}));
//# sourceMappingURL=studio-types.js.map
{
"name": "@aws-amplify/codegen-ui",
"version": "1.2.1-q1-release-c4f3d9b.0",
"version": "1.2.1-q1-release-c62df4d.0",
"description": "generic component code generation interface definitions",

@@ -53,3 +53,3 @@ "author": "Amazon Web Services",

},
"gitHead": "5813490504fceae60d000c522fe4ab7dc39ac3bb"
"gitHead": "4d9cc52fa5292e33aba1c62987bc07e085cb2534"
}

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