Skip to content

Commit

Permalink
[DOC] Update documentation to version 8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
runner committed Apr 29, 2024
1 parent 753cb44 commit 5e27e63
Show file tree
Hide file tree
Showing 785 changed files with 1,180 additions and 2 deletions.
9 changes: 9 additions & 0 deletions docs/SupportSDK/8.0.2/css/chunk-c0335d80.10a2f091.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions docs/SupportSDK/8.0.2/css/documentation-topic.1d1eec04.css

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/SupportSDK/8.0.2/css/index.038e887c.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/SupportSDK/8.0.2/css/topic.d8c126f3.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/SupportSDK/8.0.2/css/tutorials-overview.c249c765.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/SupportSDK/8.0.2/data/documentation/supportsdk.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/+(_:_:)-2o1ks"},"abstract":[{"text":"Combines two middlewares. The combined middleware creates a chain of middleware.","type":"text"},{"type":"text","text":" "},{"text":"When calling next on the first middleware it progresses to the next one.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"The final middlware’s next function calls the reducer dispatch will causes a state change."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/supportsdk\/+(_:_:)-2o1ks"]}],"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","text":"Middleware","kind":"typeIdentifier","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/Middleware"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"text":"Middleware","preciseIdentifier":"s:10SupportSDK10MiddlewareP","kind":"typeIdentifier","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/Middleware"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/Middleware","kind":"typeIdentifier","text":"Middleware"}]}],"kind":"declarations"},{"content":[{"type":"heading","text":"Example","anchor":"Example","level":1},{"inlineContent":[{"text":"Combining two logging middlewares","type":"text"}],"type":"paragraph"},{"code":["let middleware1 = BlockMiddleware { action, getState, dispatch, next in"," \/\/ do some middleware stuff","}","","let middleware2 = BlockMiddleware { action, getState, dispatch, next in"," \/\/ do some middleware stuff","}",""],"syntax":null,"type":"codeListing"},{"type":"paragraph","inlineContent":[{"text":"We can then combine these 2 middlewares with ","type":"text"},{"code":"+","type":"codeVoice"},{"text":" operator as:","type":"text"}]},{"code":["let store = Suas.createStore("," reducer: someReducer,"," middleware: middleware1 + middleware2",")"],"type":"codeListing","syntax":null}],"kind":"content"}],"hierarchy":{"paths":[["doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK"]]},"sections":[],"metadata":{"modules":[{"name":"SupportSDK"}],"title":"+(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","kind":"typeIdentifier","text":"Middleware"},{"kind":"text","text":", "},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","kind":"typeIdentifier","text":"Middleware"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","text":"Middleware","kind":"typeIdentifier"}],"role":"symbol","roleHeading":"Operator","symbolKind":"op","externalID":"s:10SupportSDK1poiyAA10Middleware_pAaC_p_AaC_ptF"},"references":{"doc://com.zendesk.SupportSDK/documentation/SupportSDK/Middleware":{"abstract":[{"text":"Middleware protocol that represents a suas store middleware","type":"text"},{"type":"text","text":" "},{"text":"A middleware helps extending the dispatch logic of Suas.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/Middleware","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Middleware"}],"title":"Middleware","url":"\/documentation\/supportsdk\/middleware","navigatorTitle":[{"text":"Middleware","kind":"identifier"}],"type":"topic"},"doc://com.zendesk.SupportSDK/documentation/SupportSDK":{"title":"SupportSDK","abstract":[],"role":"collection","kind":"symbol","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK","url":"\/documentation\/supportsdk","type":"topic"},"doc://com.zendesk.SupportSDK/documentation/SupportSDK/+(_:_:)-2o1ks":{"title":"+(_:_:)","role":"symbol","url":"\/documentation\/supportsdk\/+(_:_:)-2o1ks","identifier":"doc:\/\/com.zendesk.SupportSDK\/documentation\/SupportSDK\/+(_:_:)-2o1ks","abstract":[{"text":"Combines two middlewares. The combined middleware creates a chain of middleware.","type":"text"},{"text":" ","type":"text"},{"text":"When calling next on the first middleware it progresses to the next one.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The final middlware’s next function calls the reducer dispatch will causes a state change."}],"kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"+","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"Middleware","kind":"typeIdentifier","preciseIdentifier":"s:10SupportSDK10MiddlewareP"},{"kind":"text","text":", "},{"preciseIdentifier":"s:10SupportSDK10MiddlewareP","text":"Middleware","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Middleware","preciseIdentifier":"s:10SupportSDK10MiddlewareP","kind":"typeIdentifier"}]}}}
Loading

0 comments on commit 5e27e63

Please sign in to comment.