@sidesuit/pkg-get-deep-fragments
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

test

$ pnpm i fbes-get-deep-fragments
   const titleData = getDataFromDeepFragment(_args[0], [
      {
        fragment: "CometFeedUnitStoryStrategy_feedUnit.graphql",
        refPath: "feedUnit",
      },
      {
        fragment: "CometFeedStory_story.graphql",
        refPath: "",
      },
      {
        fragment: "CometFeedStoryHeaderSection_story.graphql",
        refPath: "",
      },
      {
        fragment: "CometFeedStoryFallbackHeaderStrategy_header.graphql",
        refPath: "comet_sections.header",
      },
      {
        fragment: "CometFeedStoryHeaderTitle_title.graphql",
        refPath: "story.story_header.title",
      },
      {
        fragment: "CometTextWithEntitiesRelay_textWithEntities.graphql",
        refPath: "",
      },
    ]);

Readme

Keywords

none

Package Sidebar

Install

npm i @sidesuit/pkg-get-deep-fragments

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

17.2 kB

Total Files

6

Last publish

Collaborators

  • fbes