apollo-angular
Version:
Use your GraphQL data in your Angular app, with the Apollo Client
2 lines • 1.02 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@apollo/client/link/core"),require("@apollo/client/link/context"),require("@apollo/client/link/persisted-queries")):"function"==typeof define&&define.amd?define("apollo-angular/persisted-queries",["exports","@apollo/client/link/core","@apollo/client/link/context","@apollo/client/link/persisted-queries"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).ngApollo=e.ngApollo||{},e.ngApollo["persisted-queries"]={}),e.core,e.context,e.persistedQueries)}(this,(function(e,t,o,i){"use strict";var n=function(e,t){var o={};return t.http&&(o.includeQuery=t.http.includeQuery,o.includeExtensions=t.http.includeExtensions),t.fetchOptions&&t.fetchOptions.method&&(o.method=t.fetchOptions.method),o},l=o.setContext(n);e.createPersistedQueryLink=function(e){return t.ApolloLink.from([i.createPersistedQueryLink(e),l])},e.ɵ0=n,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ngApolloLinkPersisted.umd.min.js.map