@plasmicpkgs/plasmic-content-stack 0.0.67 → 0.0.69

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Guilherme Tubone
3
+ Copyright (c) 2022 Latipov Abdukhamid
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1 +1 @@
1
- Plasmic components and registration calls for Strapi
1
+ Plasmic components and registration calls for ContentStack
@@ -9,24 +9,26 @@ interface ContentStackCredentialsProviderProps {
9
9
  export declare const ContentStackCredentialsProviderMeta: GlobalContextMeta<ContentStackCredentialsProviderProps>;
10
10
  export declare function ContentStackCredentialsProvider({ apiKey, accessToken, environment, children, }: React.PropsWithChildren<ContentStackCredentialsProviderProps>): JSX.Element;
11
11
  interface ContentStackFetcherProps {
12
- entryUID?: string;
13
- contentType?: string;
12
+ contentType: string;
14
13
  children?: ReactNode;
15
14
  className?: string;
16
15
  noLayout?: boolean;
16
+ filterField?: string;
17
+ queryOperator?: string;
18
+ filterValue?: string | number;
19
+ limit?: number;
20
+ noAutoRepeat?: boolean;
17
21
  setControlContextData?: (data: {
18
22
  types?: {
19
23
  title: string;
20
24
  uid: string;
21
25
  }[];
22
- entries?: {
23
- title: string;
24
- uid: string;
25
- }[];
26
+ filterFields?: string[];
27
+ queryOptions?: [];
26
28
  }) => void;
27
29
  }
28
30
  export declare const ContentStackFetcherMeta: ComponentMeta<ContentStackFetcherProps>;
29
- export declare function ContentStackFetcher({ entryUID, contentType, children, className, noLayout, setControlContextData, }: ContentStackFetcherProps): JSX.Element;
31
+ export declare function ContentStackFetcher({ contentType, filterField, filterValue, queryOperator, limit, noAutoRepeat, children, className, noLayout, setControlContextData, }: ContentStackFetcherProps): JSX.Element;
30
32
  interface ContentStackFieldProps {
31
33
  className?: string;
32
34
  objectPath?: (string | number)[];