@burdenoff/microfe-theculturepost 2026.1030.1 → 2026.1031.1
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/stories/AddCitationDialog.stories.d.ts +11 -0
- package/dist/stories/AddCitationDialog.stories.d.ts.map +1 -0
- package/dist/stories/ArchiveItemCard.stories.d.ts +9 -0
- package/dist/stories/ArchiveItemCard.stories.d.ts.map +1 -0
- package/dist/stories/CitationList.stories.d.ts +13 -0
- package/dist/stories/CitationList.stories.d.ts.map +1 -0
- package/dist/stories/DiscussionCard.stories.d.ts +9 -0
- package/dist/stories/DiscussionCard.stories.d.ts.map +1 -0
- package/dist/stories/RecordOralHistoryDialog.stories.d.ts +11 -0
- package/dist/stories/RecordOralHistoryDialog.stories.d.ts.map +1 -0
- package/dist/stories/ReplyThread.stories.d.ts +12 -0
- package/dist/stories/ReplyThread.stories.d.ts.map +1 -0
- package/dist/stories/StoryCard.stories.d.ts +11 -0
- package/dist/stories/StoryCard.stories.d.ts.map +1 -0
- package/dist/stories/support/fixtures.d.ts +19 -0
- package/dist/stories/support/fixtures.d.ts.map +1 -0
- package/dist/stories/support/graphqlMock.d.ts +18 -0
- package/dist/stories/support/graphqlMock.d.ts.map +1 -0
- package/dist/stories/support/variables.d.ts +11 -0
- package/dist/stories/support/variables.d.ts.map +1 -0
- package/dist/stories/support/withTcpProviders.d.ts +13 -0
- package/dist/stories/support/withTcpProviders.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AddCitationDialog } from '../theculturepost/components/AddCitationDialog';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof AddCitationDialog>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Open: Story;
|
|
8
|
+
export declare const TitleIsRequired: Story;
|
|
9
|
+
export declare const SubmitsCitationForClaim: Story;
|
|
10
|
+
export declare const ServerErrorIsShown: Story;
|
|
11
|
+
//# sourceMappingURL=AddCitationDialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddCitationDialog.stories.d.ts","sourceRoot":"","sources":["../../src/stories/AddCitationDialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAenF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAUxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAKnC,eAAO,MAAM,IAAI,EAAE,KAQlB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KA2CrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAkBhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ArchiveItemCard } from '../theculturepost/components/ArchiveItemCard';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof ArchiveItemCard>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Manuscript: Story;
|
|
8
|
+
export declare const MinimalMetadata: Story;
|
|
9
|
+
//# sourceMappingURL=ArchiveItemCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArchiveItemCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ArchiveItemCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAG/E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAWtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CitationList } from '../theculturepost/components/CitationList';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof CitationList>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Sources: Story;
|
|
8
|
+
export declare const VerifyCitation: Story;
|
|
9
|
+
export declare const Compact: Story;
|
|
10
|
+
export declare const Empty: Story;
|
|
11
|
+
export declare const Loading: Story;
|
|
12
|
+
export declare const LoadErrorWithRetry: Story;
|
|
13
|
+
//# sourceMappingURL=CitationList.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationList.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CitationList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAiB,MAAM,2CAA2C,CAAC;AA6BxF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAKnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,OAAO,EAAE,KAsBrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAyB5B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAmBhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DiscussionCard } from '../theculturepost/components/DiscussionCard';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof DiscussionCard>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Open: Story;
|
|
8
|
+
export declare const InterfaithAndLocked: Story;
|
|
9
|
+
//# sourceMappingURL=DiscussionCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscussionCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DiscussionCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAG7E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAWrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAalB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAkBjC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { RecordOralHistoryDialog } from '../theculturepost/components/RecordOralHistoryDialog';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof RecordOralHistoryDialog>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const ConsentGate: Story;
|
|
8
|
+
export declare const RecordsWithCollectionAndTags: Story;
|
|
9
|
+
export declare const PreselectedCollection: Story;
|
|
10
|
+
export declare const UploadSource: Story;
|
|
11
|
+
//# sourceMappingURL=RecordOralHistoryDialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordOralHistoryDialog.stories.d.ts","sourceRoot":"","sources":["../../src/stories/RecordOralHistoryDialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAsB/F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAK9C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KA8C1C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAUnC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReplyThread } from '../theculturepost/components/ReplyThread';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof ReplyThread>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Thread: Story;
|
|
8
|
+
export declare const PostReplyWithPerspective: Story;
|
|
9
|
+
export declare const ModerateReply: Story;
|
|
10
|
+
export declare const RemovedReplyIsHidden: Story;
|
|
11
|
+
export declare const LockedAndEmpty: Story;
|
|
12
|
+
//# sourceMappingURL=ReplyThread.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplyThread.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ReplyThread.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAyCvE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAKlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAUnC,eAAO,MAAM,MAAM,EAAE,KAepB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAkCtC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAoB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAWlC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { StoryCard } from '../theculturepost/components/StoryCard';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof StoryCard>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Published: Story;
|
|
8
|
+
export declare const SaveToReadingList: Story;
|
|
9
|
+
export declare const Bookmarked: Story;
|
|
10
|
+
export declare const DraftWithoutStatus: Story;
|
|
11
|
+
//# sourceMappingURL=StoryCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/StoryCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AASnE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAYhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS,EAAE,KAkBvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAe/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAUhC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TcpArchiveItem, TcpCitation, TcpCollection, TcpDiscussion, TcpOralHistory, TcpReply, TcpStory, TcpStoryClaim, TcpTopic } from '../../theculturepost/types';
|
|
2
|
+
|
|
3
|
+
export declare const STORYBOOK_USER: {
|
|
4
|
+
readonly id: "user-storybook-self";
|
|
5
|
+
readonly email: "storybook@theculturepost.test";
|
|
6
|
+
readonly workspaceId: "ws-storybook";
|
|
7
|
+
};
|
|
8
|
+
export declare const topicFixture: TcpTopic;
|
|
9
|
+
export declare function makeStory(overrides?: Partial<TcpStory>): TcpStory;
|
|
10
|
+
export declare function makeArchiveItem(overrides?: Partial<TcpArchiveItem>): TcpArchiveItem;
|
|
11
|
+
export declare function makeDiscussion(overrides?: Partial<TcpDiscussion>): TcpDiscussion;
|
|
12
|
+
export declare function makeCitation(overrides?: Partial<TcpCitation>): TcpCitation;
|
|
13
|
+
export declare const citationFixtures: TcpCitation[];
|
|
14
|
+
export declare const claimFixtures: TcpStoryClaim[];
|
|
15
|
+
export declare function makeReply(overrides?: Partial<TcpReply>): TcpReply;
|
|
16
|
+
export declare const replyFixtures: TcpReply[];
|
|
17
|
+
export declare function makeCollection(overrides?: Partial<TcpCollection>): TcpCollection;
|
|
18
|
+
export declare function makeOralHistory(overrides?: Partial<TcpOralHistory>): TcpOralHistory;
|
|
19
|
+
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/stories/support/fixtures.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,QAAQ,EACT,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAMX,eAAO,MAAM,YAAY,EAAE,QAa1B,CAAC;AAEF,wBAAgB,SAAS,CAAC,SAAS,GAAE,OAAO,CAAC,QAAQ,CAAM,GAAG,QAAQ,CA2BrE;AAED,wBAAgB,eAAe,CAAC,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GAAG,cAAc,CAoBvF;AAED,wBAAgB,cAAc,CAAC,SAAS,GAAE,OAAO,CAAC,aAAa,CAAM,GAAG,aAAa,CAkBpF;AAED,wBAAgB,YAAY,CAAC,SAAS,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,WAAW,CAqB9E;AAED,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAsBzC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAAa,EAWxC,CAAC;AAEF,wBAAgB,SAAS,CAAC,SAAS,GAAE,OAAO,CAAC,QAAQ,CAAM,GAAG,QAAQ,CAarE;AAED,eAAO,MAAM,aAAa,EAAE,QAAQ,EAWnC,CAAC;AAEF,wBAAgB,cAAc,CAAC,SAAS,GAAE,OAAO,CAAC,aAAa,CAAM,GAAG,aAAa,CAgBpF;AAED,wBAAgB,eAAe,CAAC,SAAS,GAAE,OAAO,CAAC,cAAc,CAAM,GAAG,cAAc,CAqBvF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GraphQLFetchOptions, GraphQLResponse } from '@burdenoff/fe-libs/shared/graphql';
|
|
2
|
+
|
|
3
|
+
export * from '@burdenoff/fe-libs/shared/graphql';
|
|
4
|
+
/** Resolves an operation's root field from its variables, or throws to emit a GraphQL error. */
|
|
5
|
+
export type TcpMockResolver = (variables: Record<string, unknown>) => unknown;
|
|
6
|
+
export type TcpMockResolvers = Record<string, TcpMockResolver>;
|
|
7
|
+
export interface TcpRecordedCall {
|
|
8
|
+
field: string;
|
|
9
|
+
variables: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
/** Replace the active resolver set and clear the call log (one call per story render). */
|
|
12
|
+
export declare function setGraphqlMocks(next: TcpMockResolvers): void;
|
|
13
|
+
/** Calls recorded since the last `setGraphqlMocks`, optionally filtered by root field. */
|
|
14
|
+
export declare function getGraphqlCalls(field?: string): TcpRecordedCall[];
|
|
15
|
+
/** The first root selection of an operation string (`mutation X { tcpAddCitation(...) }` → `tcpAddCitation`). */
|
|
16
|
+
export declare function rootFieldOf(query: string): string | null;
|
|
17
|
+
export declare function graphqlFetch<T = unknown>(options: GraphQLFetchOptions): Promise<GraphQLResponse<T>>;
|
|
18
|
+
//# sourceMappingURL=graphqlMock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphqlMock.d.ts","sourceRoot":"","sources":["../../../src/stories/support/graphqlMock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAE9F,cAAc,mCAAmC,CAAC;AAElD,gGAAgG;AAChG,MAAM,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;AAE/D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAKD,0FAA0F;AAC1F,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAI5D;AAED,0FAA0F;AAC1F,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,eAAe,EAAE,CAEjE;AAID,iHAAiH;AACjH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAExD;AAED,wBAAsB,YAAY,CAAC,CAAC,GAAG,OAAO,EAC5C,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CA2B7B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Narrow helpers for reading GraphQL variables inside story resolvers without
|
|
3
|
+
* unchecked casts.
|
|
4
|
+
*/
|
|
5
|
+
export declare function readString(variables: Record<string, unknown>, key: string): string;
|
|
6
|
+
export declare function readObject(variables: Record<string, unknown>, key: string): Record<string, unknown>;
|
|
7
|
+
/** Pick `value` out of an allowed list, rejecting anything the schema would not accept. */
|
|
8
|
+
export declare function readEnum<T extends string>(value: unknown, allowed: readonly T[]): T;
|
|
9
|
+
/** Never-settling promise, used to hold a query in its loading state. */
|
|
10
|
+
export declare function pending(): Promise<never>;
|
|
11
|
+
//# sourceMappingURL=variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/stories/support/variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAIlF;AAED,wBAAgB,UAAU,CACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,GAAG,EAAE,MAAM,GACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAMzB;AAED,2FAA2F;AAC3F,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,CAInF;AAED,yEAAyE;AACzE,wBAAgB,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,CAExC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Decorator } from '@storybook/react';
|
|
2
|
+
import { TcpMockResolvers } from './graphqlMock';
|
|
3
|
+
|
|
4
|
+
/** Story parameters understood by {@link withTcpProviders}. */
|
|
5
|
+
export interface TcpStoryParameters {
|
|
6
|
+
/**
|
|
7
|
+
* Factory for the story's GraphQL resolvers. A factory (rather than a plain
|
|
8
|
+
* object) lets stateful resolvers start from a clean slate on every render.
|
|
9
|
+
*/
|
|
10
|
+
tcpGraphql?: () => TcpMockResolvers;
|
|
11
|
+
}
|
|
12
|
+
export declare const withTcpProviders: Decorator;
|
|
13
|
+
//# sourceMappingURL=withTcpProviders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withTcpProviders.d.ts","sourceRoot":"","sources":["../../../src/stories/support/withTcpProviders.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAmB,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGvE,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,gBAAgB,CAAC;CACrC;AAgCD,eAAO,MAAM,gBAAgB,EAAE,SAQ9B,CAAC"}
|