{"version":3,"sources":["../../../../src/window/types/liveshare/container-state.ts"],"names":["ContainerStates"],"mappings":"AAUY,IAAA,eAAA,qBAAAA,gBAAL,KAAA;AAKL,EAAAA,iBAAA,OAAQ,CAAA,GAAA,OAAA;AAMR,EAAAA,iBAAA,eAAgB,CAAA,GAAA,eAAA;AAMhB,EAAAA,iBAAA,UAAW,CAAA,GAAA,UAAA;AAMX,EAAAA,iBAAA,UAAW,CAAA,GAAA,UAAA;AAvBD,EAAAA,OAAAA,gBAAAA;AAAA,CAAA,EAAA,eAAA,IAAA,EAAA","file":"container-state.mjs","sourcesContent":["/**\n * State of the current Live Share session's Fluid container.\n * This is used internally by the `LiveShareClient` when joining a Live Share session.\n */\nexport type ContainerState = 'Added' | 'AlreadyExists' | 'Conflict' | 'NotFound';\n\n/**\n * State of the current Live Share session's Fluid container.\n * This is used internally by the `LiveShareClient` when joining a Live Share session.\n */\nexport enum ContainerStates {\n  /**\n   * The call to `LiveShareHost.setContainerId()` successfully created the container mapping\n   * for the current Live Share session.\n   */\n  added = 'Added',\n\n  /**\n   * A container mapping for the current Live Share session already exists.\n   * This indicates to Live Share that a new container does not need be created.\n   */\n  alreadyExists = 'AlreadyExists',\n\n  /**\n   * The call to `LiveShareHost.setContainerId()` failed to create the container mapping.\n   * This happens when another client has already set the container ID for the session.\n   */\n  conflict = 'Conflict',\n\n  /**\n   * A container mapping for the current Live Share session does not yet exist.\n   * This indicates to Live Share that a new container should be created.\n   */\n  notFound = 'NotFound',\n}\n"]}