@uniformdev/canvas-next-rsc-shared 19.80.0 → 19.80.1-alpha.149
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/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -115,6 +115,8 @@ type ComponentProps<TProps = unknown, TSlotNames extends string = string> = TPro
|
|
|
115
115
|
component: ComponentInstance;
|
|
116
116
|
context: CompositionContext;
|
|
117
117
|
slots: Record<TSlotNames, SlotDefinition>;
|
|
118
|
+
slotName: string | undefined;
|
|
119
|
+
slotIndex: number | undefined;
|
|
118
120
|
};
|
|
119
121
|
type CompositionContext = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
|
120
122
|
composition: RootComponentInstance;
|
|
@@ -169,6 +171,8 @@ declare const runTest: ({ test, component, contextInstance, }: TestProps & {
|
|
|
169
171
|
component: _uniformdev_canvas.ComponentInstance;
|
|
170
172
|
context: CompositionContext;
|
|
171
173
|
slots: Record<string, SlotDefinition>;
|
|
174
|
+
slotName: string | undefined;
|
|
175
|
+
slotIndex: number | undefined;
|
|
172
176
|
} & {
|
|
173
177
|
contextInstance: Pick<ContextInstance, 'test'> | undefined;
|
|
174
178
|
}) => {
|
|
@@ -183,4 +187,4 @@ declare const resolvePath: ({ params }: Pick<PageParameters, 'params'>) => Resol
|
|
|
183
187
|
|
|
184
188
|
declare function getBaseUrl(): string;
|
|
185
189
|
|
|
186
|
-
export { AppDirectoryContext, AppDirectoryContextState, AppDirectoryServerContext, CacheMode, ComponentProps, CompositionContext, PageParameters, PersonalizeProps, PersonalizeWithContextComponentProps, PlaygroundParameters, ResolvePathResult, SlotDefinition, TestProps, UniformServerConfig, createUniformContext, getBaseUrl, getServerConfig, resolvePath, runPersonalization, runTest };
|
|
190
|
+
export { type AppDirectoryContext, type AppDirectoryContextState, type AppDirectoryServerContext, type CacheMode, type ComponentProps, type CompositionContext, type PageParameters, type PersonalizeProps, type PersonalizeWithContextComponentProps, type PlaygroundParameters, type ResolvePathResult, type SlotDefinition, type TestProps, type UniformServerConfig, createUniformContext, getBaseUrl, getServerConfig, resolvePath, runPersonalization, runTest };
|
package/dist/index.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ type ComponentProps<TProps = unknown, TSlotNames extends string = string> = TPro
|
|
|
115
115
|
component: ComponentInstance;
|
|
116
116
|
context: CompositionContext;
|
|
117
117
|
slots: Record<TSlotNames, SlotDefinition>;
|
|
118
|
+
slotName: string | undefined;
|
|
119
|
+
slotIndex: number | undefined;
|
|
118
120
|
};
|
|
119
121
|
type CompositionContext = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
|
120
122
|
composition: RootComponentInstance;
|
|
@@ -169,6 +171,8 @@ declare const runTest: ({ test, component, contextInstance, }: TestProps & {
|
|
|
169
171
|
component: _uniformdev_canvas.ComponentInstance;
|
|
170
172
|
context: CompositionContext;
|
|
171
173
|
slots: Record<string, SlotDefinition>;
|
|
174
|
+
slotName: string | undefined;
|
|
175
|
+
slotIndex: number | undefined;
|
|
172
176
|
} & {
|
|
173
177
|
contextInstance: Pick<ContextInstance, 'test'> | undefined;
|
|
174
178
|
}) => {
|
|
@@ -183,4 +187,4 @@ declare const resolvePath: ({ params }: Pick<PageParameters, 'params'>) => Resol
|
|
|
183
187
|
|
|
184
188
|
declare function getBaseUrl(): string;
|
|
185
189
|
|
|
186
|
-
export { AppDirectoryContext, AppDirectoryContextState, AppDirectoryServerContext, CacheMode, ComponentProps, CompositionContext, PageParameters, PersonalizeProps, PersonalizeWithContextComponentProps, PlaygroundParameters, ResolvePathResult, SlotDefinition, TestProps, UniformServerConfig, createUniformContext, getBaseUrl, getServerConfig, resolvePath, runPersonalization, runTest };
|
|
190
|
+
export { type AppDirectoryContext, type AppDirectoryContextState, type AppDirectoryServerContext, type CacheMode, type ComponentProps, type CompositionContext, type PageParameters, type PersonalizeProps, type PersonalizeWithContextComponentProps, type PlaygroundParameters, type ResolvePathResult, type SlotDefinition, type TestProps, type UniformServerConfig, createUniformContext, getBaseUrl, getServerConfig, resolvePath, runPersonalization, runTest };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-shared",
|
|
3
|
-
"version": "19.80.
|
|
3
|
+
"version": "19.80.1-alpha.149+7f4e45fecc",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^18.0.0",
|
|
28
|
-
"@types/react": "
|
|
29
|
-
"eslint": "
|
|
28
|
+
"@types/react": "18.2.40",
|
|
29
|
+
"eslint": "8.54.0",
|
|
30
30
|
"next": "^13.4.12",
|
|
31
31
|
"react": "18.2.0",
|
|
32
32
|
"react-dom": "18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "19.80.
|
|
36
|
-
"@uniformdev/context": "19.80.
|
|
35
|
+
"@uniformdev/canvas": "19.80.1-alpha.149+7f4e45fecc",
|
|
36
|
+
"@uniformdev/context": "19.80.1-alpha.149+7f4e45fecc"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=16.14.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7f4e45fecc013dc224fbd0a2975f6d208382b05e"
|
|
50
50
|
}
|