{"version":3,"file":"CheckRootContainerSuccess.mjs","names":[],"sources":["../../../../src/requester/results/success/CheckRootContainerSuccess.ts"],"sourcesContent":["import type { SolidContainer } from \"../../../resources/SolidContainer\";\nimport { ResourceSuccess, SuccessResult } from \"@ldo/connected\";\n\n/**\n * Indicates that the request to check if a resource is the root container was\n * a success.\n */\nexport class CheckRootContainerSuccess extends ResourceSuccess<SolidContainer> {\n  type = \"checkRootContainerSuccess\" as const;\n  /**\n   * True if this resoure is the root container\n   */\n  isRootContainer: boolean;\n\n  constructor(resource: SolidContainer, isRootContainer: boolean) {\n    super(resource);\n    this.isRootContainer = isRootContainer;\n  }\n}\n\n/**\n * Indicates that the storage container has been successfully retrieved from the\n * webId. Call `GetStorageContainerFromWebIdSuccess.storageContainers` for a\n * list of storage containers retrieved.\n */\nexport class GetStorageContainerFromWebIdSuccess extends SuccessResult {\n  type = \"getStorageContainerFromWebIdSuccess\" as const;\n\n  /**\n   * The storage containers retrieved\n   */\n  storageContainers: SolidContainer[];\n\n  constructor(storageContainers: SolidContainer[]) {\n    super();\n    this.storageContainers = storageContainers;\n  }\n}\n"],"mappings":";;;;;;AAOA,IAAa,4BAAb,cAA+C,gBAAgC;CAO7E,YAAY,UAA0B,iBAA0B;AAC9D,QAAM,SAAS;AAPjB,OAAA,OAAO;AAQL,OAAK,kBAAkB;;;;;;;;AAS3B,IAAa,sCAAb,cAAyD,cAAc;CAQrE,YAAY,mBAAqC;AAC/C,SAAO;AART,OAAA,OAAO;AASL,OAAK,oBAAoB"}