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

@shopify/ui-extensions

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/ui-extensions - npm Package Compare versions

Comparing version 0.0.0-unstable-20241218160325 to 0.0.0-unstable-20241218170719

@@ -12,2 +12,3 @@ export type { I18n, I18nTranslate } from '../../api';

export type { ValidationSettingsApi } from './api/checkout-rules/validation-settings';
export type { DiscountFunctionSettingsApi } from './api/discount-function-settings/discount-function-settings';
//# sourceMappingURL=api.d.ts.map

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

declare const supportedDefinitionTypes: readonly ["boolean", "collection_reference", "color", "date", "date_time", "dimension", "file_reference", "json", "metaobject_reference", "mixed_reference", "money", "multi_line_text_field", "number_decimal", "number_integer", "page_reference", "product_reference", "rating", "rich_text_field", "single_line_text_field", "product_taxonomy_value_reference", "url", "variant_reference", "volume", "weight", "list.collection_reference", "list.color", "list.date", "list.date_time", "list.dimension", "list.file_reference", "list.metaobject_reference", "list.mixed_reference", "list.number_decimal", "list.number_integer", "list.page_reference", "list.product_reference", "list.rating", "list.single_line_text_field", "list.url", "list.variant_reference", "list.volume", "list.weight"];
export type SupportedDefinitionType = (typeof supportedDefinitionTypes)[number];
import { SupportedDefinitionType } from '../shared';
interface MetafieldUpdateChange {

@@ -4,0 +3,0 @@ type: 'updateMetafield';

@@ -9,2 +9,3 @@ export interface Data {

}
export type SupportedDefinitionType = 'boolean' | 'collection_reference' | 'color' | 'date' | 'date_time' | 'dimension' | 'file_reference' | 'json' | 'metaobject_reference' | 'mixed_reference' | 'money' | 'multi_line_text_field' | 'number_decimal' | 'number_integer' | 'page_reference' | 'product_reference' | 'rating' | 'rich_text_field' | 'single_line_text_field' | 'product_taxonomy_value_reference' | 'url' | 'variant_reference' | 'volume' | 'weight' | 'list.collection_reference' | 'list.color' | 'list.date' | 'list.date_time' | 'list.dimension' | 'list.file_reference' | 'list.metaobject_reference' | 'list.mixed_reference' | 'list.number_decimal' | 'list.number_integer' | 'list.page_reference' | 'list.product_reference' | 'list.rating' | 'list.single_line_text_field' | 'list.url' | 'list.variant_reference' | 'list.volume' | 'list.weight';
//# sourceMappingURL=shared.d.ts.map
import type { RenderExtension, RunnableExtension } from '../../extension';
import type { Components } from './shared';
import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, PrintActionExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi } from './api';
import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, PrintActionExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi, DiscountFunctionSettingsApi } from './api';
import { AnyComponentBuilder } from '../../shared';

@@ -43,3 +43,3 @@ import { PurchaseOptionsCardConfigurationApi } from './api/purchase-options-card-action/purchase-options-card-action';

*/
'admin.discount-details.function-settings.render': RenderExtension<BlockExtensionApi<'admin.discount-details.function-settings.render'>, AllComponents>;
'admin.discount-details.function-settings.render': RenderExtension<DiscountFunctionSettingsApi<'admin.discount-details.function-settings.render'>, AllComponents>;
/**

@@ -46,0 +46,0 @@ * Renders an admin block in the customer details page.

{
"name": "@shopify/ui-extensions",
"version": "0.0.0-unstable-20241218160325",
"version": "0.0.0-unstable-20241218170719",
"scripts": {

@@ -5,0 +5,0 @@ "docs:admin": "bash ./docs/surfaces/admin/build-docs.sh",

@@ -12,1 +12,2 @@ export type {I18n, I18nTranslate} from '../../api';

export type {ValidationSettingsApi} from './api/checkout-rules/validation-settings';
export type {DiscountFunctionSettingsApi} from './api/discount-function-settings/discount-function-settings';

@@ -9,3 +9,2 @@ interface Metafield {

}
interface Validation {

@@ -12,0 +11,0 @@ /**

@@ -1,48 +0,3 @@

const supportedDefinitionTypes = [
'boolean',
'collection_reference',
'color',
'date',
'date_time',
'dimension',
'file_reference',
'json',
'metaobject_reference',
'mixed_reference',
'money',
'multi_line_text_field',
'number_decimal',
'number_integer',
'page_reference',
'product_reference',
'rating',
'rich_text_field',
'single_line_text_field',
'product_taxonomy_value_reference',
'url',
'variant_reference',
'volume',
'weight',
'list.collection_reference',
'list.color',
'list.date',
'list.date_time',
'list.dimension',
'list.file_reference',
'list.metaobject_reference',
'list.mixed_reference',
'list.number_decimal',
'list.number_integer',
'list.page_reference',
'list.product_reference',
'list.rating',
'list.single_line_text_field',
'list.url',
'list.variant_reference',
'list.volume',
'list.weight',
] as const;
import {SupportedDefinitionType} from '../shared';
export type SupportedDefinitionType = (typeof supportedDefinitionTypes)[number];
interface MetafieldUpdateChange {

@@ -49,0 +4,0 @@ type: 'updateMetafield';

@@ -7,1 +7,45 @@ export interface Data {

}
export type SupportedDefinitionType =
| 'boolean'
| 'collection_reference'
| 'color'
| 'date'
| 'date_time'
| 'dimension'
| 'file_reference'
| 'json'
| 'metaobject_reference'
| 'mixed_reference'
| 'money'
| 'multi_line_text_field'
| 'number_decimal'
| 'number_integer'
| 'page_reference'
| 'product_reference'
| 'rating'
| 'rich_text_field'
| 'single_line_text_field'
| 'product_taxonomy_value_reference'
| 'url'
| 'variant_reference'
| 'volume'
| 'weight'
| 'list.collection_reference'
| 'list.color'
| 'list.date'
| 'list.date_time'
| 'list.dimension'
| 'list.file_reference'
| 'list.metaobject_reference'
| 'list.mixed_reference'
| 'list.number_decimal'
| 'list.number_integer'
| 'list.page_reference'
| 'list.product_reference'
| 'list.rating'
| 'list.single_line_text_field'
| 'list.url'
| 'list.variant_reference'
| 'list.volume'
| 'list.weight';

@@ -14,2 +14,3 @@ import type {RenderExtension, RunnableExtension} from '../../extension';

ValidationSettingsApi,
DiscountFunctionSettingsApi,
} from './api';

@@ -104,3 +105,3 @@ import {AnyComponentBuilder} from '../../shared';

'admin.discount-details.function-settings.render': RenderExtension<
BlockExtensionApi<'admin.discount-details.function-settings.render'>,
DiscountFunctionSettingsApi<'admin.discount-details.function-settings.render'>,
AllComponents

@@ -107,0 +108,0 @@ >;

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